fix(docker): drop scripts/ from workspaces array (#4484)

`turbo prune sim --docker` strips `scripts/` from the pruned output (sim
doesn't depend on it), but the pruned root package.json still listed it
as a workspace, causing `bun install` to fail with "Workspace not found
'scripts'" in the Docker build.

scripts/ is dev-only tooling that runs from the repo root via `bun run
scripts/*.ts`. Its imports (glob, yaml) resolve against the root
node_modules — they're already in root devDependencies.

- Remove "scripts" from root workspaces array
- Delete scripts/package.json (no longer a workspace, manifest unused)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Waleed
2026-05-06 20:25:07 -07:00
committed by GitHub
co-authored by Claude Opus 4.7
parent 28f1912e89
commit 28e60bfd4e
3 changed files with 1 additions and 25 deletions
+1 -2
View File
@@ -6,8 +6,7 @@
"license": "Apache-2.0",
"workspaces": [
"apps/*",
"packages/*",
"scripts"
"packages/*"
],
"scripts": {
"build": "turbo run build",