A PNPM monorepo template for personal projects.
- PNPM as workspace manager and package manager.
- TSUP as a TypeScript universal package.
- Tsx as a Node.js enhanced with esbuild to run TypeScript & ESM
- Vitest as a test runner.
- Size Limit as a size limit plugin.
- Prettier as a code formatter.
- ESLint as a code linter.
- NX as cacheable operations.
- Changesets as a way to manage changes and releases.
- clone the repository or click in "Use this template" button.
- copy
packages/lib
topackages/yourlib
and edit thename
,description
andauthor
fields.
- docs - An empty folder to store documentation.
- example - A folder with an example project. Think as playground.
- packages/* - A folder with a library.
NX is a cacheable build tool (and Monorepo manager). This project uses it to run the build
, test
and coverage
commands.
# Instead of running `pnpm build`, run:
nx run-many -t build
MIT @ i5ting