Hi there! We are thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
- Fork and clone the repository
- Configure and install the dependencies:
npm install - Create a new branch:
git checkout -b my-branch-name - Make your change, add tests, and run
npm run allbefore pushing — this runs formatting, linting, type checking, tests, and builds thedist/directory. The CI pipeline enforces that the repository has no uncommitted changes after these steps, so you must runnpm run alllocally before pushing to avoid build failures. - Push to your fork and submit a pull request
- Give yourself a high five, and wait for your pull request to be reviewed and merged.
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Follow the style guide which is using standard. Any linting errors
should be shown when running
npm run all - Write and update tests.
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Write a convetional commit message.
Work in Progress pull requests are also welcome to get feedback early on, or if there is something blocked you.
To maintain project health and keep issues actionable, we automatically manage stale issues using the following policy:
Stale Issue Closure: Issues labeled with info-needed that remain inactive
for 30 days will be automatically marked as stale. After an additional 7-day
grace period, the issue will be closed if no response is provided.
When an issue is marked as stale, we'll post a comment asking you to provide the requested information. If you respond with the information or show continued interest, the stale label will be removed and the issue will remain open.
This policy helps us:
- Keep the issue tracker focused on active issues
- Encourage timely responses to information requests
- Ensure discussions don't get lost in an ever-growing issue backlog
If your issue was closed due to inactivity but you still have relevant information or context, please feel free to reopen it by commenting on the issue or opening a new one.
Run the following command:
git checkout master
git pull
npm version [major | minor | patch] --ignore-scripts=false -m "chore: release v%s"Important
- You may want the version increment to correspond to the last drafted release.
- You can use a version number instead of
major | minor | patchif needed. - This repository sets
ignore-scripts=truein.npmrc, so the flag above is required when you wantnpm versionto run the release lifecycle scripts.
The command does the following:
- Run tests (
preversionscript) - Bumps the version number in package.json and create corresponding tag
- Stage changes for git (
versionscript) - Commit and tag
- Push & push tag (
postversionscript)
After pushing, the release.yml workflow will trigger (on: push: tag), and :
- publish the release draft
- update major tag (ex: pushing
v6.2.1bumpsv6to the same commit)