mirror of
https://github.com/memodack/memodack.git
synced 2026-07-22 11:50:25 +00:00
chore: add commitlint
- add `commitlint.config.mjs` file - add `@commitlint/cli` package - add `@commitlint/config-conventional` package - add `commit-msg` husky script
This commit is contained in:
parent
187ee6c9f4
commit
5ecc6422d7
4 changed files with 1133 additions and 0 deletions
1
.husky/commit-msg
Normal file
1
.husky/commit-msg
Normal file
|
|
@ -0,0 +1 @@
|
|||
npx --no -- commitlint --edit $1
|
||||
3
commitlint.config.mjs
Normal file
3
commitlint.config.mjs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export default {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
};
|
||||
1127
package-lock.json
generated
1127
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -14,6 +14,8 @@
|
|||
"start:dev": "rimraf ./dist && rollup -c -w"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^19.8.0",
|
||||
"@commitlint/config-conventional": "^19.8.0",
|
||||
"@eslint/js": "^9.23.0",
|
||||
"@rollup/plugin-commonjs": "^28.0.3",
|
||||
"@rollup/plugin-json": "^6.1.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue