All workAndrew Cates.

Project 58 of 84

Monorepo Toolkit

TypeScript npm library that resolves workspaces in Yarn/npm/pnpm/Bun monorepos and turns that resolution into working Metro, Webpack and Babel configuration, so React Native and web apps can consume shared workspace packages without symlink, duplicate-React or transpile-scope failures.

Status
Shipped
Area
Developer Tooling & CLIs
Last activity
2026
Live

No public deployment.

Stack
  • TypeScript
  • Node.js
  • pnpm
  • tsup
  • Vitest
  • ESLint
  • Prettier
  • Changesets

Highlights

  1. Ran a cold-start backlog audit on monorepo-toolkit that produced three architect- and consensus-reviewed plans (release, CI quality gates, docs) and seeded them as Beads epics; review caught a wrong assumed 100% coverage baseline (actual 99.21%), a duplicate test task, and a docs task describing release infrastructure that did not exist.
  2. Built a changesets/action release pipeline with npm provenance and moved publishing to npm OIDC Trusted Publishing, removing the need for any long-lived NPM_TOKEN; verified with real Release runs that the Version PR flow, the zero-changesets skip path, and the OIDC exchange behave as designed.
  3. Found from a failed live Release run that the org blocks default_workflow_permissions=write while can_approve_pull_request_reviews can be set on its own, unblocking changesets PR creation without loosening org policy.
  4. Migrated monorepo-toolkit into the catesworks GitHub org, adopted the shared @cogs ESLint/Prettier configs, and shipped a v0.2.0 breaking Node >=24 version through a Changesets Version PR with the break called out in the changelog.
  5. Pinned Vitest coverage thresholds to the measured baseline (100% statements/functions/lines, 99% branches) and added tests for six defensive branches so coverage regressions fail locally.
  6. Wrote CODING_STANDARDS.md and GLOSSARY.md from the actual source, recording counted inconsistencies and a domain vocabulary (nohoisted library, block list, watch folders, Android assets fix), plus CONTRIBUTING.md and README docs for every lower-level export.
  7. Cut redundant CI on self-hosted runners: skipped actions/setup-node when the runner already has Node >= 24.20 (after setup-node caching wedged runners on 2026-10-19) and made CI pull-request-only because the main-protect ruleset already requires the check.