@myparcel/semantic-release-config v5.1.0
MyParcel semantic-release configuration
This package contains multiple semantic-release presets. Additional information, documentation and guides on semantic-release can be found here
Usage
Install the package via yarn:
yarn add -D @myparcel/semantic-release-configor npm:
npm i -D @myparcel/semantic-release-configCreate a semantic-release config file, if you haven't already, and add the following: (JavaScript example)
// release.config.js
module.exports = {
extends: '@myparcel/semantic-release-config',
};Or to use one of the other available presets:
// release.config.js
module.exports = {
extends: '@myparcel/semantic-release-config/npm',
};Configurations
Base config
@myparcel/semantic-release-config
This is the base configuration, which other ones should be based on. For more in-depth information on the configurations
used with each plugin, see ./src/plugins/<plugin>.js.
- @semantic-release/commit-analyzer
- @semantic-release/release-notes-generator
- @semantic-release/changelog
NPM
@myparcel/semantic-release-config/npm
Composer
@myparcel/semantic-release-config/npm
GitHub
@myparcel/semantic-release-config/github
GitHub + Composer
@myparcel/semantic-release-config/github-composer
GitHub + NPM
@myparcel/semantic-release-config/github-npm
Debugging
You can run the following command in your project to test your semantic-release configuration:
npx semantic-release --dry-run --debug --branches=$(git branch --show-current)Flags used:
--dry-run: If this is on, no files are changed and nothing is actually "released".--debug: Enables debug mode to show a lot more output.--branches: Set the current branch as a release branch. If you don't pass this and are not on a release branch semantic-release will not process your commits.
7 months ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago