Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/pre-push

This file was deleted.

1 change: 0 additions & 1 deletion .husky/prepare-commit-msg

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To contribute fork the project, then submit a Pull-Request with your changes, ta

We use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) for continuous deployment, versioning, and changelog creation.

Once `npm install` is executed, git hooks aid in the committing process. Should the hooks not install automatically, run `npm rebuild husky`. Use `git commit` to commit your changes; [Commitizen](https://github.com/commitizen/cz-cli) assists in crafting a structured commit message. To complete the commit, close the text editor that appears (typically with ctrl + x), and then `git push` as usual.
Once `npm install` is executed, git hooks are automatically configured to aid in the committing process. Use `git commit` to commit your changes. The commit message will be validated against conventional commit standards.

## [Developer's Certificate of Origin 1.1](https://github.com/nodejs/node/blob/main/CONTRIBUTING.md#developers-certificate-of-origin-11)

Expand Down
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@
"watch": "rollup -c -w",
"watch:es5": "rollup -c -w --format umd",
"semantic-release": "semantic-release",
"prepare": "is-ci || husky install"
"prepare": "is-ci || simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "npm run build",
"prepare-commit-msg": "npx --no -- commitlint --edit $1"
},
"author": "Ceeblue B.V.",
"license": "AGPL-3.0-or-later",
Expand Down Expand Up @@ -62,6 +67,7 @@
"rollup": "~3.29.3",
"rollup-plugin-dts": "~6.0.2",
"semantic-release": "~21.0.0",
"simple-git-hooks": "^2.13.1",
"tslib": "~2.6.2",
"typedoc": "~0.25.3",
"typescript": "~5.2.2",
Expand Down
Loading