This is a starter project for Node.js projects. It is built on top of the Turborepo starter.
It uses pnpm as a package manager.
- TypeScript for static type checking configured with @whitebird/tsconfig
- ESLint for code linting configured with @whitebird/eslint-config
- Husky for Git hooks
- Commitlint for commit message linting
- Changesets and the GitHub Action changesets/action for versioning and publishing
git clone --depth=1 https://github.com/bywhitebird/starter-node.git
rm -rf starter-node/.git
cd starter-node
pnpm install
The packages/my-package
directory is a sample package/app. You can copy it to packages
or apps
directory and start working on it.
pnpm build
- build the projectpnpm dev
- run the project in development modepnpm lint
- lint the projectpnpm test
- run testspnpm format
- format the project