This repo using git hooks to ensure that the code is committed in a good state. To install the hooks, run the following command:
git config core.hooksPath .githooks
Ensure the following are installed:
To get started, clone the repo and install the dependencies:
npm install
Then run the formatting, linting and tests:
npm run pre-commit
It is useful to run the following in watch mode while developing
npm run watch
npm run test:watch
To release a new version, take the following steps:
- Bump the version by running the
version_bump
GitHub Action and choose the appropriate version bump:
-
Wait for the Pull Request to be created and merge this into main.
-
Wait for the
main
branch action to complete. -
Find the created draft release and publish it.