refactor: restructured monorepo TypeScript config and build tasks for unified setup

- 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.
This commit is contained in:
can1357
2026-04-08 16:09:37 +02:00
parent 61dff04ab1
commit 52719d1a7c
55 changed files with 777 additions and 746 deletions
+10 -4
View File
@@ -23,8 +23,12 @@
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"check": "tsgo -p tsconfig.json",
"test": "bun test"
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write ."
},
"dependencies": {
"beautiful-mermaid": "^1.1",
@@ -33,7 +37,8 @@
"winston-daily-rotate-file": "^5.0"
},
"devDependencies": {
"@types/bun": "^1.3"
"@types/bun": "^1.3",
"@oh-my-pi/pi-natives": "workspace:*"
},
"engines": {
"bun": ">=1.3.7"
@@ -49,6 +54,7 @@
"./*": {
"types": "./src/*.ts",
"import": "./src/*.ts"
}
},
"./*.js": "./src/*.ts"
}
}