2 Commits
Author SHA1 Message Date
Maximo GukandClaude Code 3e5dd53a70 Convert the remaining .mjs build scripts to TypeScript (#549)
#233 moved `scripts/` to type-stripped TypeScript but left four `.mjs`
files behind: the two gatekeeper `build-app` scripts, workshop-backend's
browser-runtime builder, and the oxlint plugin. They now run as `.ts`
and are type-checked by `pnpm types:scripts`.

- `build-browser-runtime` moves into `workshop-backend/scripts/`, beside
  the other Node-only tool that `scripts/tsconfig.json` already covers.
- The oxlint plugin is typed against `@oxlint/plugins`, added as a
  type-only dev dependency pinned to the version Vite+ pins; its test
  fails if the two drift. oxlint loads a `.ts` plugin as-is.
- Stale references to already-converted `.mjs` files are corrected.

Co-authored-by: Claude Code <noreply@anthropic.com>
2026-09-22 10:24:18 -05:00
Maximo Guk 657aa96504 Type the rest of scripts/ by running TypeScript natively via type strippable typescript, and colocate its tests (#233) 2026-08-17 18:20:49 -05:00