feat: Added release script

This commit is contained in:
Nicolai Ort 2025-04-28 20:20:49 +02:00
parent 7238275835
commit 087371b3ce
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
2 changed files with 1856 additions and 2 deletions

View File

@ -25,7 +25,8 @@
"build:prepare": "rimraf ./lib ./dist", "build:prepare": "rimraf ./lib ./dist",
"build:lib": "openapi --input ./openapi.json --output ./lib --client fetch", "build:lib": "openapi --input ./openapi.json --output ./lib --client fetch",
"build:compile": "tsc", "build:compile": "tsc",
"build:cleanup": "rimraf ./lib" "build:cleanup": "rimraf ./lib",
"release": "release-it"
}, },
"bugs": { "bugs": {
"url": "https://git.odit.services/lfk/lfk-client-js/issues" "url": "https://git.odit.services/lfk/lfk-client-js/issues"
@ -33,7 +34,25 @@
"homepage": "https://git.odit.services/lfk/lfk-client-js/", "homepage": "https://git.odit.services/lfk/lfk-client-js/",
"devDependencies": { "devDependencies": {
"openapi-typescript-codegen": "0.7.0", "openapi-typescript-codegen": "0.7.0",
"release-it": "17.10.0",
"rimraf": "6.0.1", "rimraf": "6.0.1",
"typescript": "4.9.5" "typescript": "4.9.5"
},
"release-it": {
"git": {
"commit": true,
"requireCleanWorkingDir": false,
"commitMessage": "chore(release): ${version}",
"push": true,
"tag": true,
"tagName": "${version}",
"tagAnnotation": "${version}"
},
"npm": {
"publish": true
},
"hooks": {
"after:bump": "npx auto-changelog --commit-limit false -p -u --hide-credit && git add CHANGELOG.md && node versionbuilder.js && git add index.html && node order.js && git add src/locales"
}
} }
} }

1835
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff