You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repo uses a hand-rolled scripts/run-workspace-script.ts and custom utility scripts inherited from templates.node-monorepo. These are now superseded by @williamthorsen/nmr, which provides the same functionality as a shared package.
Problem
The repo uses a hand-rolled
scripts/run-workspace-script.tsand custom utility scripts inherited fromtemplates.node-monorepo. These are now superseded by@williamthorsen/nmr, which provides the same functionality as a shared package.Context
helpers/directory, nosync-pnpm-version.ts)check:strictthenbuild) — no config override neededfmt:allandfmt:share being added to nmr defaults (node-monorepo-tools#83) — omit from repo-specific scriptsdemo:catwalkis obsolete — remove it@williamthorsen/toolbelt.objectsis only used in scripts being deleted — remove from root devDependenciesSolution
Follow the nmr migration guide (steps 1, 3–9; step 2 skipped since no config override is needed):
@williamthorsen/nmras root devDependencypackage.jsonscripts to lifecycle hooks + repo-specific scripts:postinstall:nmr report-overrides --quiet; nmr sync-pnpm-versionprepare:lefthook installagents:install,agents:install-launcherspreinstall,demo:catwalk, and all scripts nmr provides as defaultswsscript, remove default-matching scripts, keep genuine overrides (agentsbuild, factorybuild/dev/etc.)runConsistencyChecks(import.meta.dirname)scripts/run-workspace-script.ts,scripts/assertIsPackageJson.ts,scripts/report-overrides.ts@williamthorsen/toolbelt.objects.agents/PROJECT.mdAcceptance criteria
pnpm installcompletes (postinstall hook works)nmr cipassesnmr buildsucceeds per packagenmr root:testpasses (consistency checks via nmr)run-workspace-script.tsremainwsscript in any workspacepackage.json@williamthorsen/toolbelt.objectsremoved from root devDependenciespreinstallanddemo:catwalkscripts removed