chore: add commitizen scripts with conventional config
This commit is contained in:
parent
c86641b04f
commit
51fb20c16e
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -38,4 +38,7 @@ jobs:
|
|||
run: pnpm install
|
||||
|
||||
- name: Run global tests
|
||||
run: pnpm test
|
||||
run: pnpm test
|
||||
|
||||
- name: Run linter
|
||||
run: pnpm run lint
|
3
commitlint.config.js
Normal file
3
commitlint.config.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
module.exports = {
|
||||
extends: ["@commitlint/config-conventional"],
|
||||
};
|
10
package.json
10
package.json
|
@ -4,6 +4,7 @@
|
|||
"description": "",
|
||||
"main": "",
|
||||
"scripts": {
|
||||
"commit": "git-cz",
|
||||
"lint": "eslint . --ext .json",
|
||||
"test": "jest",
|
||||
"prepare": "husky install"
|
||||
|
@ -19,9 +20,13 @@
|
|||
},
|
||||
"homepage": "https://github.com/meienberger/runtipi-appstore#readme",
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^17.0.3",
|
||||
"@commitlint/config-conventional": "^17.0.3",
|
||||
"@commitlint/cz-commitlint": "^17.0.3",
|
||||
"@types/jest": "^28.1.6",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"@types/node": "^18.6.2",
|
||||
"commitizen": "^4.2.5",
|
||||
"eslint": "^8.22.0",
|
||||
"eslint-plugin-json-schema-validator": "^4.0.1",
|
||||
"eslint-plugin-jsonc": "^2.4.0",
|
||||
|
@ -30,5 +35,10 @@
|
|||
"js-yaml": "^4.1.0",
|
||||
"ts-jest": "^28.0.7",
|
||||
"typescript": "^4.7.4"
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "@commitlint/cz-commitlint"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
1067
pnpm-lock.yaml
1067
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user