Every workspace `clean` was `rm -rf`, and pnpm runs lifecycle scripts through the platform shell — on Windows that is cmd.exe, which has no `rm`. The root `clean` fans out to all eleven packages through turbo, so `pnpm clean` failed eleven times over. A shared script rather than a `rimraf` dependency: it needs no install to work, nothing to keep pinned against the release-age gate in pnpm-workspace.yaml, and no argument that has to survive two different shells' quoting rules. Node accepts forward slashes on Windows, so `node ../../scripts/clean.mjs dist .turbo` is the same string in every package. It deletes recursively and by force, so it refuses any target that is not strictly inside the calling package — a typo in a package.json should not be able to reach the workspace root.
34 lines
860 B
JSON
34 lines
860 B
JSON
{
|
|
"name": "@airship/core",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsup src/index.ts --format esm --dts --sourcemap --clean",
|
|
"clean": "node ../../scripts/clean.mjs dist .turbo",
|
|
"dev": "tsup src/index.ts --format esm --dts --sourcemap --watch",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@airship/git": "workspace:*",
|
|
"@airship/protocol": "workspace:*",
|
|
"@anthropic-ai/claude-agent-sdk": "^0.3.224",
|
|
"@openai/codex-sdk": "^0.147.0",
|
|
"@opencode-ai/sdk": "^1.18.15",
|
|
"diff": "^9.0.0",
|
|
"zod": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.2.0"
|
|
}
|
|
}
|