@davidsneighbour/release-config

2024.4.12 • Public • Published

Create a file .versionrc.js with the following contents:

const defaultStandardVersion = require('@davidsneighbour/release-config');
module.exports = defaultStandardVersion;

[!CAUTION] commit-and-tag-version does not yet support the ESM format. Keep it common(js)!

Add the following scripts to your package.json:

{
  "scripts": {
    "release": "commit-and-tag-version --release-as patch -a -t \"v\" && ./bin/repo/release/postrelease",
    "release-next": "commit-and-tag-version --release-as minor -a -t \"v\" && ./bin/repo/release/postrelease",
    "release-major": "commit-and-tag-version --release-as major -a -t \"v\" && ./bin/repo/release/postrelease"
  }
}

More information

All configurations

Configurations
Build Tools
Babel Webpack
Testing
Cypress HTML Validate
Linters and Formatters
Browserslist ESLint PostCSS
Prettier Stylelint
Project Management
Commitlint Release
Markdown and Writing
Markdownlint Remark Lint
Other Tools
Bootstrap Tools

Readme

Keywords

none

Package Sidebar

Install

npm i @davidsneighbour/release-config

Weekly Downloads

38

Version

2024.4.12

License

MIT

Unpacked Size

5.72 kB

Total Files

4

Last publish

Collaborators

  • davidsneighbour