knaxuslearn · build · ship

Roadmaps / TypeScript / Setup and lab safety

Read first

Setup and lab safety

You need one laptop, the current Node.js LTS line, a package manager (pnpm is used in the milestone, npm works), Git, VS Code or another editor with TypeScript support, and TypeScript itself. Everything is free. Pin the TypeScript version in your repository and record it in each report. In Phase 3 you install both TypeScript 6 and TypeScript 7 side by side.

RiskRule
Packages run code on installInstall unknown packages in a throwaway container with --ignore-scripts.
A codemod rewrites a whole repositoryRun codemods on a clean Git branch, review the diff, and keep the commit small enough to revert.
Sample code with real dataUse fake orders and fake customers only. Do not paste production payloads into issues or schemas.
Upgrading the compiler breaks the buildUpgrade on a branch, keep the old version installed side by side, and write the rollback step before you start (Week 11).