build(ui): 升级组件库
Showing
commitlint.config.js
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
| ... | ... | @@ -27,7 +27,9 @@ |
| "@hubcarl/json-typescript-mapper": "^2.0.0", | ||
| "@qg/apollo-nodejs": "^2.1.2", | ||
| "@qg/cherry-ui": "2.23.10", | ||
| "@qg/citrus-ui": "0.3.17", | ||
| "@qg/citrus-ui": "0.3.18-beta1", | ||
| "@commitlint/cli": "^13.2.1", | ||
| "@commitlint/config-angular": "^13.2.0", | ||
| "@riophae/vue-treeselect": "^0.4.0", | ||
| "@types/lodash": "^4.14.117", | ||
| "@types/node": "^10.12.0", | ||
| ... | ... | @@ -79,7 +81,12 @@ |
| "vuex-router-sync": "^5.0.0", | ||
| "webpack-sentry-plugin": "^2.0.3" | ||
| }, | ||
| "devDependencies": {}, | ||
| "devDependencies": { | ||
| "husky": "^4.2.5", | ||
| "lint-staged": "^10.2.11", | ||
| "@commitlint/cli": "^13.2.1", | ||
| "@commitlint/config-angular": "^13.2.0" | ||
| }, | ||
| "egg": { | ||
| "typescript": true | ||
| }, | ||
| ... | ... | @@ -100,5 +107,17 @@ |
| "commitizen": { | ||
| "path": "./node_modules/cz-conventional-changelog" | ||
| } | ||
| }, | ||
| "lint-staged": { | ||
| "src/**/*.{js,vue}": [ | ||
| "tslint --fix --project . -c tslint.json 'app/web/**/*{.ts}'", | ||
| "git add" | ||
| ] | ||
| }, | ||
| "husky": { | ||
| "hooks": { | ||
| "pre-commit": "lint-staged", | ||
| "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" | ||
| } | ||
| } | ||
| } |
Please register or sign in to comment