- MUST NOT commit to the
main
branch. - MUST NOT merge locally into the
main
branch. MUST use Pull Request. - MUST NOT use "merge commit" or "Rebase and merge". MUST use "Squash and merge".
- Pull Request titles MUST comply with Conventional Commits spec.
- git commit message SHOULD follow Conventional Commits spec.
- If you make a fix that changes behavior (feature addition, bug fix, etc), you MUST add a test codes that fails before the fixes and succeeds after the fixes.
We use GitHub Flow.
We use Semantic Versioning.
Note If Corepack is available in your development environment, do not forget to enable Corepack before running the
pnpm
command.$ corepack enable
$ git clone https://github.com/sounisi5011/npm-packages.git
$ cd ./npm-packages/
$ pnpm install
$ pnpm test
$ pnpm run lint
$ pnpm run test-only
$ pnpm run fmt
$ pnpm run fmt:config
$ pnpm run fmt:pkg
$ pnpm run fmt:xs