Added releaseit w/ config

This commit is contained in:
Nicolai Ort 2021-08-16 18:40:39 +02:00
parent 2346275add
commit 3c109850f3
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 25 additions and 0 deletions

View File

@ -4,6 +4,7 @@
"scripts": {
"dev": "svelte-kit dev",
"build": "svelte-kit build",
"release": "release-it",
"preview": "svelte-kit preview",
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
@ -19,6 +20,7 @@
"postcss-load-config": "^3.1.0",
"prettier": "~2.2.1",
"prettier-plugin-svelte": "^2.2.0",
"release-it": "^14.11.5",
"svelte": "^3.34.0",
"svelte-preprocess": "^4.7.4",
"tailwindcss": "^2.2.4"
@ -27,5 +29,28 @@
"dependencies": {
"@sveltejs/adapter-static": "^1.0.0-next.16",
"axios": "^0.21.1"
},
"release-it": {
"git": {
"commit": true,
"requireCleanWorkingDir": false,
"commitMessage": "🚀RELEASE ${version}",
"git.commitArgs": [
"-S"
],
"git.tagArgs": [
"-S"
],
"push": true,
"tag": true,
"tagName": null,
"tagAnnotation": "${version}"
},
"npm": {
"publish": false
},
"hooks": {
"after:bump": "npx auto-changelog --commit-limit false -p -u --hide-credit && git add CHANGELOG.md"
}
}
}