You consider contributing changes to use-cookie-state – thank you! Please consider these guidelines when filing a pull request:
- Commits follow the Angular commit convention
- 2 spaces indentation
-
Clone the repository
$ git clone https://github.com/dqunbp/use-cookie-state.git
-
Install the dependencies
$ cd use-cookie-state $ npm install
-
Make your changes
-
To run the tests use
$ npm run test
-
Add changes to tracked git files
$ git add .
-
Run commitizen
$ npm run commit
and follow the command prompt. To provide multiline long description use
\n
, for example:- add repo link to the docs\n- update example\n - etc.
use-cookie-state uses semantic-release to release new versions automatically.
- Commits of type
fix
will trigger bugfix releases, think0.0.1
- Commits of type
feat
will trigger feature releases, think0.1.0
- Commits with
BREAKING CHANGE
in body or footer will trigger breaking releases, think1.0.0
All other commit types will trigger no new release.