raisiqueira / ts-template-starter

A PNPM monorepo for my personal projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pnpm-monorepo

A PNPM monorepo template for my personal projects.

What is in this repository?

  • PNPM as workspace manager and package manager.
  • TSUP as a TypeScript universal package.
  • 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.

Using this repository

  • clone the repository or click in "Use this template" button.
  • Go to lib/package.json and edit the name, description and author fields.

Folder structure

  • docs - An empty folder to store documentation.
  • example - A folder with an example project. Think as playground.
  • lib - A folder with a library.

Using Turbo to run commands

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:
pnpm nx build lib

License

MIT @ Raí Siqueira

About

A PNPM monorepo for my personal projects

License:MIT License


Languages

Language:JavaScript 41.8%Language:TypeScript 30.1%Language:HTML 18.0%Language:Shell 10.1%