Semantic Release
Prerequisites:
The styleguide needs to be installed as a development dependency:
pnpm i -D @kurocado-studio/styleguide
Install Semantic Release
Next, install ESLint as a development dependency:
pnpm install --save-dev semantic-release@23.1.1
Configure Semantic Release
Create a
.releaserc.js
file
For apps that won't be published on NPM but for which you want to use semantic release.
export { semanticReleaseAppConfig as default } from '@kurocado-studio/styleguide';
For packages that will be published on NPM.
export { semanticReleaseNpmConfig as default } from '@kurocado-studio/styleguide';
Add scripts
{
"scripts": {
"semantic-release": "semantic-release"
}
}
Last modified: 25 March 2025