Template repository for building reusable NestJS npm packages.
- ESM + CJS + Types build (tsup)
- Jest testing
- ESLint + Prettier
- Changesets (Release PR flow)
- Husky (pre-commit + pre-push)
- Enforced package architecture (core / infra / nest) with strict public API
npm run build– build todist/npm test– run testsnpm run typecheck– TypeScript typechecknpm run lint– ESLintnpm run format/npm run format:write– Prettiernpx changeset– create a changeset
- Work on a
featurebranch fromdevelop - Merge to
develop - Add a changeset for user-facing changes:
npx changeset - Automation opens “Version Packages” PR into
master - Merge to
master, tagvX.Y.Zto publish
See docs/RELEASE.md for details.