@octorelease/sample-plugin
v0.0.1
Published
Octorelease sample plugin.
Downloads
3
Readme
Sample plugin
Octorelease sample plugin.
| Step | Description |
|------|-------------|
| init
| Validate plugin configuration. |
| version
| Print hello message if project version has changed. |
| publish
| Add already published package to list of released packages. |
| success
| Print happy message. |
| fail
| Print sad message. |
Install
$ npm install @octorelease/sample-plugin -D
Usage
The plugin can be configured in the Octorelease configuration file:
{
"plugins": [
["@octorelease/sample-plugin", {
"name": "world"
}]
]
}
Configuration
Options
| Options | Description | Default |
| ------- | ----------- | ------- |
| name
| Name to say hello to. | (required) |