feat: Added release script
This commit is contained in:
parent
7238275835
commit
087371b3ce
23
package.json
23
package.json
@ -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
1835
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user