Build Typescript
When to Use
TypeScript projects need rebuilding after a fresh git checkout (since dist/ is gitignored), after modifying source under src/, or after dist/ is wiped.
Prerequisites
- Node.js and npm available in PATH
- Repository checked out with source files present
Procedure
- Run:
npx tsx Forge/Skills/Build_Typescript/rebuild-typescript.ts - The script auto-discovers all
package.jsonfiles with abuildscript (excluding.internal/,node_modules/,.trash/) - For each target: runs
npm install && npm run build - Verify the summary — all targets must pass. If any fail, investigate before proceeding.
Rules
- Run this after every
git cloneorgit checkoutthat touches TypeScript source - Run this before restarting or redeploying the current uvilo-mono / forgentic runtime when TypeScript MCP/server source was modified
- Never commit
dist/output — it is gitignored and must be rebuilt locally