|
59 | 59 | "semantic-release": {
|
60 | 60 | "executor": "@theunderscorer/nx-semantic-release:semantic-release",
|
61 | 61 | "options": {
|
62 |
| - |
| 62 | + "changelog": true, |
| 63 | + "git": true, |
| 64 | + "npm": true, |
| 65 | + "github": true, |
| 66 | + "repositoryUrl": "https://github.com/minwork/react", |
| 67 | + "outputPath": "dist/packages/${PROJECT_NAME}", |
| 68 | + "tagFormat": "${PROJECT_NAME}-v${VERSION}", |
| 69 | + "commitMessage": "chore(release): Release ${PROJECT_NAME} v${nextRelease.version} [skip ci]", |
| 70 | + "branches": [ |
| 71 | + { |
| 72 | + "name": "main", |
| 73 | + "channel": "latest" |
| 74 | + }, |
| 75 | + { |
| 76 | + "name": "next", |
| 77 | + "channel": "next", |
| 78 | + "prerelease": "rc" |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "develop", |
| 82 | + "channel": "alpha", |
| 83 | + "prerelease": "alpha" |
| 84 | + } |
| 85 | + ], |
| 86 | + "releaseRules": [ |
| 87 | + { "breaking": true, "release": "major" }, |
| 88 | + { "type": "docs", "release": "patch" }, |
| 89 | + { "type": "refactor", "release": "patch" }, |
| 90 | + { "type": "style", "release": "patch" }, |
| 91 | + { "type": "perf", "release": "patch" }, |
| 92 | + { "type": "build", "release": "patch" } |
| 93 | + ], |
| 94 | + "preset": "conventionalcommits", |
| 95 | + "presetConfig": { |
| 96 | + "types": [ |
| 97 | + { "type": "feat", "section": "Features" }, |
| 98 | + { "type": "fix", "section": "Bug Fixes" }, |
| 99 | + { "type": "chore", "hidden": true }, |
| 100 | + { "type": "docs", "section": "Documentation" }, |
| 101 | + { "type": "style", "hidden": true }, |
| 102 | + { "type": "refactor", "section": "Refactors" }, |
| 103 | + { "type": "build", "section": "Build config" }, |
| 104 | + { "type": "perf", "hidden": true }, |
| 105 | + { "type": "test", "hidden": true } |
| 106 | + ] |
| 107 | + } |
63 | 108 | }
|
64 | 109 | }
|
65 | 110 | }
|
|
0 commit comments