chore: updated pnpm configuration and optimized versioning scripts

- Added shellEmulator and trustPolicy configurations to pnpm-workspace.yaml to improve workspace behavior
- Fixed topic paths in the Hugo build scripts for the demo and test applications, replacing dynamic variables with relative paths
- Refactored update-version.ts, extracting regular expressions as constants to improve code readability and maintainability
This commit is contained in:
Cell
2026-04-01 12:37:09 +08:00
parent 741ef191bf
commit 4cba468b4e
5 changed files with 16 additions and 10 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
"name": "@hugo-fixit/test",
"private": true,
"scripts": {
"build": "hugo --themesDir ../../.. --theme $PWD/../.. --gc --minify --logLevel info",
"dev": "hugo server --themesDir ../../.. --theme $PWD/../.. -D --disableFastRender --navigateToChanged --ignoreCache -O"
"build": "hugo --themesDir ../.. --theme . --gc --minify --logLevel info",
"dev": "hugo server --themesDir ../.. --theme . -D --disableFastRender --navigateToChanged --ignoreCache -O"
}
}