52719d1a7c
- Migrated all package tsconfig files to extend tsconfig.workspace.json for unified TypeScript configuration across monorepo. - Consolidated build and check scripts across 10+ packages to use biome for linting/formatting with separate type checking via tsgo. - Renamed build scripts from build:native and build:binary to build for simplified command naming across packages/natives and packages/coding-agent. - Refactored CI workflow to invoke bun tasks instead of inline shell scripts, reducing workflow complexity by 40+ lines. - Removed sync-exports.ts and repro-stuck.ts scripts; deleted path aliases from tsconfig.base.json in favor of workspace-based configuration. - Updated turbo.json with new task definitions (check:types, lint, fmt, fix) and removed build:native/embed:native tasks.
92 lines
1.3 KiB
JSON
92 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://turborepo.dev/schema.json",
|
|
"ui": "stream",
|
|
"envMode": "loose",
|
|
"globalDependencies": [
|
|
"package.json",
|
|
"bun.lock",
|
|
"bunfig.toml",
|
|
"biome.json",
|
|
"tsconfig.json",
|
|
"tsconfig.base.json",
|
|
"tsconfig.tools.json",
|
|
"packages/tsconfig.workspace.json"
|
|
],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
"!dist/**",
|
|
"!.turbo/**",
|
|
"!coverage/**",
|
|
"!*.tsbuildinfo"
|
|
],
|
|
"outputs": [
|
|
"dist/**",
|
|
".next/**",
|
|
"!.next/cache/**"
|
|
]
|
|
},
|
|
"check": {
|
|
"dependsOn": [
|
|
"^check"
|
|
],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
"!dist/**",
|
|
"!.turbo/**",
|
|
"!coverage/**",
|
|
"!*.tsbuildinfo"
|
|
]
|
|
},
|
|
"check:types": {
|
|
"dependsOn": [
|
|
"^check:types"
|
|
],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
"!dist/**",
|
|
"!.turbo/**",
|
|
"!coverage/**",
|
|
"!*.tsbuildinfo"
|
|
]
|
|
},
|
|
"lint": {
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
"!dist/**",
|
|
"!.turbo/**",
|
|
"!coverage/**",
|
|
"!*.tsbuildinfo"
|
|
]
|
|
},
|
|
"test": {
|
|
"dependsOn": [
|
|
"check",
|
|
"^check",
|
|
"^build"
|
|
],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
"!dist/**",
|
|
"!.turbo/**",
|
|
"!coverage/**",
|
|
"!*.tsbuildinfo"
|
|
]
|
|
},
|
|
"fmt": {
|
|
"cache": false
|
|
},
|
|
"fix": {
|
|
"cache": false
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
}
|