Thank you for investing your time in contributing to this project!
Documentation is available in cookieconsent/docs.
If you encountered a problem, search if an issue already exists. If no related issues are found, you can open a new issue via the appropriate issue template.
-
-
You need to have node.js LTS installed to test your changes and create the bundled version of the source code.
-
This project uses
pnpm
to manage the dependencies, which you can install via:npm i -g pnpm
-
Follow the Getting started with Github Desktop guide.
-
-
-
Go to the root of the repo and install all dependencies via:
pnpm install
-
Make the changes, to see your local changes in action, run:
pnpm dev
Note: If you're making changes to the documentation, use
pnpm dev:docs
. -
Once you've finished, generate the bundled version via:
pnpm build
-
Make sure tests are all green:
pnpm test
-
Push the changes and create a Pull Request.
- When creating a new PR, explain briefly what it improves/fixes so that we can easily understand your changes.
- Don't forget to link existing issues, if you're solving one.
- Enable the allow maintainer edits checkbox so that the branch can be updated for a merge.
- We may ask questions or require changes before a PR is merged.
- If everything is clear and sorted out, your PR will be merged! Congratulations 🎉!
Before creating a feature requests, make sure you "are on the same page" as the maintainer, so that your efforts don't get rejected! A feature request might be rejected if there is no related issue/discussion.
Once your PR is merged, your contribution will be available in the next release!
If you have any questions, feel free to open a new discussion!