pnpm-turborepo-auto-boilerplate
pnpm-turborepo-auto-boilerplate copied to clipboard
A monorepo boilerplate using pnpm, turborepo, and auto.
pnpm | turborepo | auto
A monorepo boilerplate using pnpm (installer), turborepo (task-runner), and auto (publisher).
Boilerplate based on the turborepo kitchen sink starter.
Installation
Install dependencies:
pnpm i
Install hooks:
pnpm prepare
Getting Started
Set up auto and follow the prompts
pnpm auto init
Create your GH_TOKEN and NPM_TOKEN for versioning and publishing.
Note: Make sure to set up your NPM_TOKEN via Settings -> Secrets -> Actions
Create GitHub labels:
pnpm auto create-labels
Create and set up your TURBO_TOKEN and TURBO_TEAM for task running remote caching.
Commands
Commit changes using conventional changelog:
pnpm commit
Lint files:
pnpm lint
Run tests with coverage:
pnpm test
Run tests in watch mode:
pnpm test:watch
Clean up bundle artifacts (dist, typescript, jest), compile files, and build bundle:
pnpm build
Compile files and build bundle:
pnpm build:prod
Run tests against bundle:
pnpm test:prod
License
MIT