Remove unused cli-spinner/elkjs deps and broken profile script

REC-021: cli-spinner and elkjs had no source consumer (rg over
package.json/package-lock.json only, no *.ts/*.tsx/*.js/*.mjs hit) and
the `profile` npm script invoked an `0x` binary that is not declared
as any dependency (rg '"0x"' package.json -> no match), making it
broken as shipped. Removed both deps and the script; updated
package-lock.json via `npm install --package-lock-only`.

Not executed from REC-021: the "unused nested graph package
manifest/build script under quartz/graph-spa" claim is false. It is
built by scripts/build-graph-spa.mjs (documented in README.md and
AGENTS.md), consumed by sibling sites via
`node ../GameCult-Quartz/scripts/build-graph-spa.mjs --siteRoot ...`,
and its own package.json does not depend on elkjs at all. Left
untouched.

Kill attempts that failed: none beyond the graph-spa false-positive
above; cli-spinner/elkjs/0x had zero hits outside manifests.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-13 14:08:50 +02:00
commit ef43df072b
2 changed files with 1 additions and 20 deletions

View file

@ -17,8 +17,7 @@
"site:build": "node scripts/build-site.mjs build",
"check": "tsc --noEmit && npx prettier . --check",
"format": "npx prettier . --write",
"test": "tsx --test",
"profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1"
"test": "tsx --test"
},
"engines": {
"npm": ">=10.9.2",
@ -45,9 +44,7 @@
"ansi-truncate": "^1.4.0",
"async-mutex": "^0.5.0",
"chokidar": "^5.0.0",
"cli-spinner": "^0.2.10",
"d3": "^7.9.0",
"elkjs": "^0.11.1",
"esbuild-sass-plugin": "^3.6.0",
"flexsearch": "^0.8.205",
"github-slugger": "^2.0.0",