2023-09-14 00:29:23 +08:00
|
|
|
{
|
|
|
|
"hooks": {
|
2023-11-17 23:57:45 +08:00
|
|
|
"before:init": [
|
|
|
|
"npm run lint-fe",
|
2024-02-08 20:51:02 +08:00
|
|
|
"npm run test-fe",
|
2023-11-17 23:57:45 +08:00
|
|
|
"cd frontend && npx gulp build-production"
|
|
|
|
],
|
2023-09-14 00:29:23 +08:00
|
|
|
"before:release": [
|
|
|
|
"cd frontend && npm run deploy-live",
|
|
|
|
"sh ./bin/purgeCfCache.sh"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"git": {
|
|
|
|
"commitMessage": "chore: release v${version}",
|
2023-09-25 21:15:45 +08:00
|
|
|
"requireCleanWorkingDir": false,
|
2023-09-14 00:29:23 +08:00
|
|
|
"changelog": "node bin/buildChangelog.mjs"
|
|
|
|
},
|
|
|
|
"github": {
|
|
|
|
"release": true
|
|
|
|
},
|
|
|
|
"npm": {
|
|
|
|
"publish": false,
|
|
|
|
"ignoreVersion": true
|
2023-09-25 21:26:48 +08:00
|
|
|
},
|
|
|
|
"plugins": {
|
|
|
|
"@csmith/release-it-calver-plugin": {
|
2023-10-03 20:15:56 +08:00
|
|
|
"format": "yy.ww.minor",
|
2023-09-25 21:26:48 +08:00
|
|
|
"increment": "calendar.minor"
|
|
|
|
}
|
2023-09-14 00:29:23 +08:00
|
|
|
}
|
|
|
|
}
|