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
31 changes: 31 additions & 0 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Third-party notices

better-commits adapts (strip-json-comments) or bundles (valibot) into its executable directly.

## Valibot

Valibot 1.3.1: https://github.com/open-circle/valibot

Copyright (c) Fabian Hiller

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## strip-json-comments

Adapted from strip-json-comments 5.0.3: https://github.com/sindresorhus/strip-json-comments

Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
201 changes: 4 additions & 197 deletions package-lock.json

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

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"files": [
"dist",
"LICENSE",
"THIRD_PARTY_NOTICES.md",
"readme.md"
],
Comment on lines 19 to 24
"bin": {
Expand All @@ -37,10 +38,7 @@
"@bomb.sh/args": "^0.3.1",
"@clack/core": "^1.2.0",
"@clack/prompts": "^1.2.0",
"configstore": "^8.0.0",
"jsonc-parser": "^3.3.1",
"picocolors": "^1.0.0",
"valibot": "^1.3.1"
"picocolors": "^1.0.0"
},
"scripts": {
"start": "tsx ./src/index.ts",
Expand All @@ -59,6 +57,7 @@
"tsdown": "^0.21.10",
"tsx": "^3.12.3",
"typescript": "^5.9.3",
"valibot": "1.3.1",
"vitest": "^3.2.4"
},
"release": {
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ A CLI for writing better commits, following the conventional commits specificati
- Support for git emojis per commit-type
- Configure globally or per repository
- Config validation and error messaging
- Scriptable and works with agents via CLI flags
- [Lightweight](https://bundlejs.com/?q=better-commits&treeshake=%5B*%5D) (34kb)

As a side-effect of formatting messages
Expand Down
Loading
Loading