|
11 | 11 | "commitlint": "^19.3.0",
|
12 | 12 | "husky": "^9.0.11",
|
13 | 13 | "release-it": "^17.2.0"
|
| 14 | + }, |
| 15 | + "npm": { |
| 16 | + "publish": false |
| 17 | + }, |
| 18 | + "commitlint": { |
| 19 | + "extends": [ |
| 20 | + "@commitlint/config-conventional" |
| 21 | + ], |
| 22 | + "defaultIgnores": true, |
| 23 | + "rules": { |
| 24 | + "body-max-line-length": [ |
| 25 | + 1, |
| 26 | + "always" |
| 27 | + ] |
| 28 | + } |
| 29 | + }, |
| 30 | + "release-it": { |
| 31 | + "github": { |
| 32 | + "release": true, |
| 33 | + "releaseName": "v${version}" |
| 34 | + }, |
| 35 | + "git": { |
| 36 | + "commitMessage": "chore: release v${version}", |
| 37 | + "tagMatch": "v[0-9]*\\.[0-9]*\\.[0-9]*", |
| 38 | + "tagName": "v${version}", |
| 39 | + "getLatestTagFromAllRefs": true, |
| 40 | + "tagExclude": "*[-]*", |
| 41 | + "push": true, |
| 42 | + "release": true, |
| 43 | + "pushArgs": [ |
| 44 | + "--no-verify", |
| 45 | + "--follow-tags", |
| 46 | + "--force" |
| 47 | + ], |
| 48 | + "commitArgs": [ |
| 49 | + "--no-verify" |
| 50 | + ] |
| 51 | + }, |
| 52 | + "plugins": { |
| 53 | + "@release-it/conventional-changelog": { |
| 54 | + "preset": { |
| 55 | + "name": "conventionalcommits", |
| 56 | + "types": [ |
| 57 | + {"type": "feat","section": "Features"}, |
| 58 | + {"type": "fix","section": "Bug Fixes"}, |
| 59 | + {"type": "chore","section": "Miscellaneous"}, |
| 60 | + {"type": "docs","section": "Miscellaneous"}, |
| 61 | + {"type": "style","section": "Miscellaneous"}, |
| 62 | + {"type": "refactor","section": "Miscellaneous"}, |
| 63 | + {"type": "perf","section": "Miscellaneous"}, |
| 64 | + {"type": "test","section": "Miscellaneous"}, |
| 65 | + {"type": "build","section": "Miscellaneous"}, |
| 66 | + {"type": "revert","section": "Miscellaneous"}, |
| 67 | + {"type": "ci","section": "Miscellaneous"} |
| 68 | + ] |
| 69 | + }, |
| 70 | + "infile": "CHANGELOG.md" |
| 71 | + } |
| 72 | + } |
14 | 73 | }
|
15 | 74 | }
|
0 commit comments