some fixes

This commit is contained in:
Boki 2025-06-18 22:13:28 -04:00
parent 3d8456c63c
commit 3ebe1178f4
12 changed files with 111 additions and 36 deletions

View file

@ -2,13 +2,23 @@
"name": "@stock-bot/browser",
"version": "1.0.0",
"description": "High-performance browser automation library with proxy support",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "bun test",
"dev": "tsc --watch"
"clean": "rm -rf dist",
"cli": "bun run src/cli.ts",
"validate": "bun run src/cli.ts --validate",
"check": "bun run src/cli.ts --check"
},
"dependencies": {
"playwright": "^1.53.0"

View file

@ -1,8 +1,8 @@
{
"extends": "../../tsconfig.lib.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts"],

19
libs/browser/turbo.json Normal file
View file

@ -0,0 +1,19 @@
{
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": ["@stock-bot/logger#build", "@stock-bot/http#build"],
"outputs": ["dist/**"],
"inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
}
}
}

19
libs/config/turbo.json Normal file
View file

@ -0,0 +1,19 @@
{
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": [],
"outputs": ["dist/**"],
"inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
}
}
}

View file

@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.lib.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"outDir": "./dist",
"rootDir": "src",
"skipLibCheck": true
},

19
libs/proxy/turbo.json Normal file
View file

@ -0,0 +1,19 @@
{
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": [],
"outputs": ["dist/**"],
"inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
}
}
}

19
libs/queue/turbo.json Normal file
View file

@ -0,0 +1,19 @@
{
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": ["@stock-bot/cache#build", "@stock-bot/logger#build", "@stock-bot/types#build"],
"outputs": ["dist/**"],
"inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
}
}
}