2023-08-11 17:21:38 +08:00
|
|
|
{
|
2023-08-11 20:22:26 +08:00
|
|
|
"hooks": {
|
2023-11-17 23:57:08 +08:00
|
|
|
"before:init": [
|
|
|
|
"npm run lint",
|
2024-02-08 20:51:02 +08:00
|
|
|
"npm run test",
|
2024-02-22 09:24:20 +08:00
|
|
|
"cd frontend && npm run validate-json && npm run build"
|
2023-11-17 23:57:08 +08:00
|
|
|
],
|
2023-08-11 20:22:26 +08:00
|
|
|
"before:release": [
|
|
|
|
"sh ./bin/deployBackend.sh",
|
2024-02-22 09:24:20 +08:00
|
|
|
"cd frontend && firebase deploy -P live --only hosting",
|
2023-08-11 20:22:26 +08:00
|
|
|
"sh ./bin/purgeCfCache.sh"
|
|
|
|
]
|
|
|
|
},
|
2023-08-11 17:21:38 +08:00
|
|
|
"git": {
|
2023-08-12 03:23:26 +08:00
|
|
|
"commitMessage": "chore: release v${version}",
|
2023-09-25 21:15:45 +08:00
|
|
|
"requireCleanWorkingDir": false,
|
2023-08-17 22:42:50 +08:00
|
|
|
"changelog": "node bin/buildChangelog.mjs"
|
2023-08-11 17:21:38 +08:00
|
|
|
},
|
|
|
|
"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-08-11 17:21:38 +08:00
|
|
|
}
|
|
|
|
}
|