Skip to content

Latest commit

 

History

History

release-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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