diff --git a/package.json b/package.json index 609ab96..ae56908 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,31 @@ "devDependencies": { "cpx": "^1.5.0", "cross-zip-cli": "^1.0.0", + "release-it": "^14.11.5", "rimraf": "^3.0.2", "tailwindcss": "^2.2.7" + }, + "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" + } } }