Skip to content
published Visibility internal Owner erik@uvilo.com Approver _ Created _ Updated _

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

  1. Run: npx tsx Forge/Skills/Build_Typescript/rebuild-typescript.ts
  2. The script auto-discovers all package.json files with a build script (excluding .internal/, node_modules/, .trash/)
  3. For each target: runs npm install && npm run build
  4. Verify the summary — all targets must pass. If any fail, investigate before proceeding.

Rules

  • Run this after every git clone or git checkout that 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