semantic-release-workspace-dependency
semantic-release plugin to update version of workspace dependency.
Step | Description |
---|---|
verifyConditions |
Verify configuration |
prepare |
Update version of workspace dependency |
Install
npm i --save-dev semantic-release-workspace-dependency
Usage
The plugin can be configured in the semantic-release configuration file:
Add semantic-release-workspace-dependency
after @semantic-release/npm
and @semantic-release/git
plugins.
Configuration
Options
Variable | Description |
---|---|
prefix |
Version prefix, can be ^ (default), ~ or ''
|
Examples
{
"plugins": [
"@semantic-release/npm",
"@semantic-release/git",
["semantic-release-workspace-dependency", { "prefix": "~" }]
]
}
License
MIT License (c) 2022