mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
🚀 Chore: optimize development process: automatically update FixIt version
This commit is contained in:
+6
-3
@@ -18,16 +18,19 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "Lruihao (https://lruihao.cn)",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "hugo --source=demo --themesDir ../.. --theme $PWD --gc --minify --logLevel info",
|
||||
"server": "hugo server --source=demo --themesDir ../.. --theme $PWD -D --disableFastRender --navigateToChanged --ignoreCache",
|
||||
"server:production": "npm run server -- -e production",
|
||||
"server:docs": "hugo server --source=../fixit-docs -D --disableFastRender --navigateToChanged --ignoreCache",
|
||||
"version": "sed -i '' \"s/v$npm_package_version-RC/v$npm_package_version/g\" layouts/partials/init/index.html && git add .",
|
||||
"version": "node build/update-version.js --stage version",
|
||||
"postversion": "git push && git push --tags && npm run release",
|
||||
"release": "auto-changelog --config .auto-changelog/config.json"
|
||||
"release": "auto-changelog --config build/changelog/config.json",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"devDependencies": {
|
||||
"auto-changelog": "^2.4.0"
|
||||
"auto-changelog": "^2.4.0",
|
||||
"husky": "^9.1.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user