Skip to content

Commit 5d3a652

Browse files
authored
chore(sandbox): remove the unused changelog generator (#13966)
chore(sandbox): remove the unused changelog generator No sandbox surface has read the changelog registry since its page was deleted (c10b472, 2026-06-11), yet every sandbox build and dev start ran scripts/generate-changelog.js and logged a warning for each CHANGELOG heading it did not map. The generator, its generate:changelog script and its place in generate are removed; the generated registry was never tracked and nothing imports it.
1 parent ee895f3 commit 5d3a652

3 files changed

Lines changed: 2 additions & 410 deletions

File tree

‎apps/sandbox/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pnpm -F @astryxdesign/sandbox typecheck
2424
pnpm -F @astryxdesign/sandbox test
2525
```
2626

27-
The build first runs `sync-templates`, changelog, CLI/foundation docs, XLE, score-ledger, motion-audit, and theme-family generators. The score-ledger generator attempts a public wiki snapshot with a five-second timeout; its browser page refreshes with a `no-store` fetch and falls back to that snapshot or TBD. No backend or credential is involved. Then Vite compiles StyleX with `@astryxdesign/build/vite`, `scripts/prerender.mjs` renders each page and layout into `out/`, and `scripts/verify-export.mjs` checks **every** page body, HTML route and asset against `scripts/next-export-routes.json` (the preserved Next 15 export oracle).
27+
The build first runs `sync-templates`, CLI/foundation docs, XLE, score-ledger, motion-audit, and theme-family generators. The score-ledger generator attempts a public wiki snapshot with a five-second timeout; its browser page refreshes with a `no-store` fetch and falls back to that snapshot or TBD. No backend or credential is involved. Then Vite compiles StyleX with `@astryxdesign/build/vite`, `scripts/prerender.mjs` renders each page and layout into `out/`, and `scripts/verify-export.mjs` checks **every** page body, HTML route and asset against `scripts/next-export-routes.json` (the preserved Next 15 export oracle).
2828

2929
Root-local development uses `/`. For staging under the docsite, run `SANDBOX_BASE_PATH=/sandbox pnpm -F @astryxdesign/sandbox build`; the emitted HTML, JS, CSS, template assets, tokenizer and navigation then use `/sandbox/`. `SANDBOX_TEMPLATE_ASSETS_BASE_PATH` can override the image location when a host requires it. This framework change does **not** move any production or PR deployment or modify Vercel configuration; current Pages links remain in place.
3030

‎apps/sandbox/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
"build:deps": "pnpm -F @astryxdesign/theme-neutral build && pnpm -F @astryxdesign/theme-matcha build && pnpm -F @astryxdesign/theme-stone build && pnpm -F @astryxdesign/theme-gothic build && pnpm -F @astryxdesign/theme-chocolate build && pnpm -F @astryxdesign/theme-y2k build && pnpm -F @astryxdesign/theme-butter build",
88
"generate:theme-family": "pnpm exec astryx theme build --family src/themes/theme-family/ocean.ts src/themes/theme-family/ocean-calm.ts src/themes/theme-family/ocean-calm-deep.ts src/themes/theme-family/ocean-midnight.ts --family-key sandbox-ocean-family",
99
"generate:motion-audit": "node \"src/app/(sandbox)/pages/motion-lab/generate-motion-audit.mjs\"",
10-
"generate:changelog": "node scripts/generate-changelog.js",
1110
"generate:cli": "node scripts/generate-cli-registry.mjs",
1211
"generate:xle": "node scripts/generate-xle-registry.mjs && node scripts/generate-xle-tokenizer.mjs",
1312
"generate:scores": "node scripts/generate-score-ledger.mjs",
14-
"generate": "node ../../scripts/sync-templates.js && pnpm generate:changelog && pnpm generate:cli && node scripts/generate-foundation-docs.mjs && pnpm generate:xle && pnpm generate:scores && pnpm generate:motion-audit && pnpm generate:theme-family",
13+
"generate": "node ../../scripts/sync-templates.js && pnpm generate:cli && node scripts/generate-foundation-docs.mjs && pnpm generate:xle && pnpm generate:scores && pnpm generate:motion-audit && pnpm generate:theme-family",
1514
"dev": "pnpm generate && (node ../../scripts/sync-templates.js --watch & vite)",
1615
"build": "pnpm generate && vite build && node scripts/prerender.mjs && node scripts/verify-export.mjs",
1716
"start": "vite preview",

0 commit comments

Comments
 (0)