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