Skip to content
/ turbo-template Public template

Shared template for use with Typescript based monorepos.

License

Notifications You must be signed in to change notification settings

srmcguirt/turbo-template

Repository files navigation

Turbo Template

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

About

Shared template for use with Typescript based monorepos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published