|
16 | 16 | "prepush": "bash scripts/prepush.sh", |
17 | 17 | "build-storybook": "build-storybook -c .storybook -o dist/docs/storybook", |
18 | 18 | "semantic-release": "semantic-release", |
19 | | - "commitmsg": "validate-commit-msg" |
| 19 | + "commitmsg": "commitlint -E GIT_PARAMS" |
20 | 20 | }, |
21 | 21 | "release": { |
22 | 22 | "pkgRoot": "dist" |
23 | 23 | }, |
24 | | - "config": { |
25 | | - "validate-commit-msg": { |
26 | | - "types": [ |
27 | | - "feat", |
28 | | - "fix", |
29 | | - "docs", |
30 | | - "style", |
31 | | - "refactor", |
32 | | - "perf", |
33 | | - "test", |
34 | | - "chore", |
35 | | - "revert" |
36 | | - ], |
37 | | - "warnOnFail": false, |
38 | | - "maxSubjectLength": 100, |
39 | | - "subjectPattern": ".+", |
40 | | - "subjectPatternErrorMsg": "Subject does not match subject pattern!" |
| 24 | + "commitlint": { |
| 25 | + "types": [ |
| 26 | + "feat", |
| 27 | + "fix", |
| 28 | + "docs", |
| 29 | + "style", |
| 30 | + "refactor", |
| 31 | + "perf", |
| 32 | + "test", |
| 33 | + "chore", |
| 34 | + "revert" |
| 35 | + ], |
| 36 | + "warnOnFail": false, |
| 37 | + "maxSubjectLength": 100, |
| 38 | + "subjectPattern": ".+", |
| 39 | + "subjectPatternErrorMsg": "Subject does not match subject pattern!" |
41 | 40 | }, |
| 41 | + "config": { |
42 | 42 | "commitizen": { |
43 | 43 | "path": "./node_modules/cz-conventional-changelog-components" |
44 | 44 | } |
|
78 | 78 | "@angular/platform-browser-dynamic": "6.1.0", |
79 | 79 | "@angular/platform-server": "6.1.0", |
80 | 80 | "@angular/router": "6.1.0", |
81 | | - "@commitlint/cli": "^7.0.0", |
82 | | - "@commitlint/config-conventional": "^7.0.1", |
| 81 | + "@commitlint/cli": "7.0.0", |
| 82 | + "@commitlint/config-conventional": "7.0.1", |
83 | 83 | "@compodoc/compodoc": "1.0.4", |
84 | 84 | "@ngx-translate/core": "10.0.2", |
85 | 85 | "@storybook/addon-actions": "3.4.8", |
|
94 | 94 | "babel-core": "6.26.3", |
95 | 95 | "carbon-components": "9.1.13", |
96 | 96 | "codelyzer": "4.0.2", |
97 | | - "commitizen": "^2.10.1", |
| 97 | + "commitizen": "2.10.1", |
98 | 98 | "core-js": "2.5.5", |
99 | 99 | "css-loader": "0.28.11", |
100 | 100 | "d3": "4.12.0", |
|
0 commit comments