- 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
After generating the project, update package.json
fields such as name
and author
so that they reflect your project information.
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
^22.x.x
or - Latest
>=24.x.x
- Iron LTS (
Note that this template includes .node-version
, .nvmrc
, and
.tool-versions
files with specific Node.js versions. These files
currently list 20.19.2
, so update them 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.
MIT