Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.42 KB

CONTRIBUTING.md

File metadata and controls

66 lines (42 loc) · 1.42 KB

Contributing guide

Pull requests

  • Consider opening an issue before submitting a pull-request to avoid unnecessary work
  • Ensure pull request titles adhere to the Conventional Commits specification

Release

The module is released automatically from the main branch using semantic-release-action. Version bumps and change logs are generated from the commit messages.

Development setup

After cloning the repository, install the project's dependencies and run the validate script to run all checks and tests to verify your setup.

npm install # or `pnpm install`, or `yarn install`, etc.
npm run validate

Lint and format

Run auto-formatting to ensure any changes adhere to the code style of the repository:

npm run format:delta

To run lint and format checks without making any changes:

npm run lint:delta

Test

Run unit tests once or in watch mode:

npm test
npm run test:watch

Docs

Use the toc script to ensure the README's table of contents is up to date:

npm run toc

Use contributors:add to add a contributor to the README:

npm run contributors:add

Use contributors:generate to ensure the README's contributor list is up to date:

npm run contributors:generate