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
-11
View File
@@ -1,11 +0,0 @@
{
"name": "sim-doc-generator",
"version": "1.0.0",
"description": "Documentation generator and contract sync scripts for Sim",
"type": "module",
"private": true,
"dependencies": {
"glob": "^11.1.0",
"yaml": "^2.8.1"
}
}