19

GitHub - waldronmatt/pnpm-turborepo-auto-boilerplate: A monorepo boilerplate usi...

 1 year ago
source link: https://github.com/waldronmatt/pnpm-turborepo-auto-boilerplate
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

pnpm | turborepo | auto

A monorepo boilerplate using pnpm (installer), turborepo (task-runner), and auto (publisher).

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 -> Secret -> 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:

pnpm test

Run tests in watch mode:

pnpm test:watch

Compile files, build bundle:

pnpm build

Run tests against bundle:

pnpm test:prod

Clean up bundle, typescript, and jest artifacts:

pnpm clean

License


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK