- PNPM
- TypeScript
- Biome
- Commitlint with Husky
- Visual Studio Code / Vim ready
- CI configurations
- CodeRabbit
- Dependabot
- GitHub Actions
You can create a new project by using degit
or the โUse this templateโ
button on GitHub.
npx degit kurone-kito/pnpm-project-template my-project
cd my-project
pnpm install
Add package directories to pnpm-workspace.yaml
:
packages:
- packages/*
Remove pnpm-workspace.yaml
if you do not need workspace support.
- Node.js: Any of the following versions
- Iron LTS (
^20.11.x
) - Jod LTS or latest (
>=22.x.x
)
- Iron LTS (
Note that this template includes .node-version
, .nvmrc
, and
.tool-versions
files with specific Node.js versions (20.19.2
).
Update these files and this section as needed when you start a new project.
corepack enable
pnpm install
pnpm run lint
pnpm run lint:fix # Lint and auto-fix
pnpm run test
Currently, the command works as an alias for the pnpm run lint
command.
Set up your own testing framework and replace this script as needed.
pnpm run clean
Welcome to contribute to this repository! For more details, please refer to CONTRIBUTING.md.
Introduce commit message validation at commit time. The โConventional Commitsโ rule is applied to discourage committing messages that violate conventions.
MIT