@khala/wildcard-release-notes
v2.5.2
Published
Monorepo release notes based on [@khala/commit-analyzer-wildcard](https://www.npmjs.com/package/@khala/commit-analyzer-wildcard) for [semantic-release](https://github.com/semantic-release/semantic-release) package.
Downloads
77
Maintainers
Readme
Monorepo wild card release notes
Monorepo release notes based on @khala/commit-analyzer-wildcard for semantic-release package.
Installation
- Using NPM
> npm install -D @khala/wildcard-release-notes
- Using yarn
> yarn add -D @khala/wildcard-release-notes
Then add it to your generateNotes
options
package.json
{
"release": {
"generateNotes": [
{
"path": "@khala/wildcard-release-notes"
}
]
}
}
Options
This package will assume that you want to generate release notes for packages under root folder you ran release. If you want to release packages under different folder (for instance all packages under folder plugins
) you have to add folder
option to generateNotes
option. Or if you want to set this up globally add monorepo
prop to release config.
{
"release": {
"generateNotes": [
{
"path": "@khala/wildcard-release-notes",
"folder": "./plugins"
}
]
}
}
{
"release": {
"monorepo": "./plugins",
"generateNotes": "@khala/wildcard-release-notes"
}
}
If you are not using Travis as your CI environment, you can specify the repository name (GitHub) manually:
{
"release": {
"generateNotes": [
{
"path": "@khala/wildcard-release-notes",
"folder": "./plugins",
"repositoryName": "organisation/repository"
}
]
}
}
Otherwise env.TRAVIS_REPO_SLUG
is used automatically.