mirror of
https://github.com/kremalicious/gatsby-plugin-matomo.git
synced 2025-01-07 04:04:12 +01:00
new release-it setup
This commit is contained in:
parent
a535e359c1
commit
bbb5f19f94
@ -1,5 +1,19 @@
|
|||||||
{
|
{
|
||||||
"beforeChangelogCommand": "./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s",
|
"beforeChangelogCommand": "./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s",
|
||||||
"changelogCommand": "./node_modules/.bin/conventional-changelog | tail -n +3",
|
"changelogCommand": "./node_modules/.bin/conventional-changelog | tail -n +3",
|
||||||
"safeBump": false
|
"safeBump": false,
|
||||||
|
"scripts": {
|
||||||
|
"beforeStart": "npm test",
|
||||||
|
"beforeStage": "npm run changelog",
|
||||||
|
"afterRelease": "echo Successfully released ${name} v${version} to ${repo.repository}."
|
||||||
|
},
|
||||||
|
"git": {
|
||||||
|
"tagName": "v${version}"
|
||||||
|
},
|
||||||
|
"github": {
|
||||||
|
"release": true
|
||||||
|
},
|
||||||
|
"npm": {
|
||||||
|
"publish": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -105,8 +105,8 @@ npm run build
|
|||||||
# publishing to npm & GitHub releases
|
# publishing to npm & GitHub releases
|
||||||
# uses https://github.com/webpro/release-it
|
# uses https://github.com/webpro/release-it
|
||||||
npm run release
|
npm run release
|
||||||
npm run release-minor
|
npm run release minor
|
||||||
npm run release-major
|
npm run release major
|
||||||
```
|
```
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"react": "^16.8.6",
|
"react": "^16.8.6",
|
||||||
"react-dom": "^16.8.6",
|
"react-dom": "^16.8.6",
|
||||||
"react-hot-loader": "^4.8.1",
|
"react-hot-loader": "^4.8.1",
|
||||||
"release-it": "^10.0.0"
|
"release-it": "^12.3.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/kremalicious/gatsby-plugin-matomo",
|
"homepage": "https://github.com/kremalicious/gatsby-plugin-matomo",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
Loading…
Reference in New Issue
Block a user