1.5.3 • Published 11 months ago
semantic-release-config-gitmoji v1.5.3
semantic-release-config-gitmoji
shareable semantic-release configuration for gitmoji commit style
How to use
Basic Usage
// .releaserc.js
module.exports = {
extends: ['semantic-release-config-gitmoji'],
};
Create your config
use this in monorepo
// .releaserc.js
const { createConfig } = require('semantic-release-config-gitmoji/lib/createConfig');
const config = createConfig({ monorepo: true });
module.exports = config;
createConfig params
Common Options
name | type | optional | default | description |
---|---|---|---|---|
releaseRules | ReleaseRule[] | true | n/a | |
changelogTitle | string | true | # Changelog | |
changelogFile | string | true | CHANGELOG.md |
Git Params
name | type | optional | default | description |
---|---|---|---|---|
message | string | true | :bookmark: chore(release): ${nextRelease.gitTag} [skip ci]\n\n${nextRelease.notes} | The message for the release commit. See message. |
gitAssets | false | string[] | ['CHANGELOG.md', 'package.json'] | Files to include in the release commit.Set to false to disable adding files to the release commit. See assets. |
Github Params
name | type | optional | default | description |
---|---|---|---|---|
enableGithub | boolean | true | true | 开启 github 插件 |
NPM Params
name | type | optional | default | description |
---|---|---|---|---|
enableNPM | boolean | true | true | 开启 npm 插件 |
npmPublish | boolean | true | n/a | Whether to publish the npm package to the registry. If false the package.json version will still be updated. false if the package.json private property is true , true otherwise |
pkgRoot | string | true | n/a | Directory path to publish. default: . |
tarballDir | string | false | true | n/a |
monorepo | boolean | true | n/a | 如果是 Monorepo 仓库发布 npm 包,使用 "@semrel-extra/npm" 替代官方包 if using monorepo, use "@semrel-extra/npm" instead of the official package |
GithubPluginOpts
name | type | optional | default | description |
---|---|---|---|---|
githubUrl | string | true | GH_URL or GITHUB_URL environment variable. | The GitHub Enterprise endpoint. |
githubApiPathPrefix | string | true | GH_PREFIX or GITHUB_PREFIX environment variable. | The GitHub Enterprise API prefix. |
githubAssets | string[] | true | - | An array of files to upload to the release. See assets. |
proxy | string | true | HTTP_PROXY environment variable. | The proxy to use to access the GitHub API. See proxy. |
successComment | string | true | :tada: This issue has been resolved in version ${nextRelease.version} :tada: | The release is available on GitHub release The assignees to add to the issue created when a release fails. |
License
MIT ® Arvin Xu
1.5.3
11 months ago
1.5.2
11 months ago
1.5.1
11 months ago
1.5.0
12 months ago
1.4.3
1 year ago
1.4.2
1 year ago
1.4.2-beta.1
1 year ago
1.3.0-beta.1
1 year ago
1.3.0-beta.2
1 year ago
1.2.5-beta.1
2 years ago
1.2.5
2 years ago
1.4.1
1 year ago
1.4.0
1 year ago
1.3.0
1 year ago
1.4.0-rc.2
1 year ago
1.4.0-rc.1
1 year ago
1.4.0-rc.3
1 year ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.1.0-beta.2
3 years ago
1.1.0-beta.1
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.0.0-beta.1
3 years ago