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"
}
}
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 |