Squashed commit of the following:

commit 908d87357c4e22868eff85f377bb8cd22f3785d7
Author: Sun <95302870@qq.com>
Date:   Thu Jan 25 13:12:14 2024 +0800

    增加前端版本号

commit 8ed2b636476c7a14ae4e1761f7712949b7ce60fc
Author: Sun <95302870@qq.com>
Date:   Thu Jan 25 12:29:49 2024 +0800

    增加自动获取前端版本号的git tag
This commit is contained in:
Sun
2024-01-25 13:13:08 +08:00
parent ba7d70f9ca
commit 52a81e5f55
5 changed files with 40 additions and 4 deletions
+2 -1
View File
@@ -10,7 +10,8 @@
],
"scripts": {
"dev": "vite",
"build": "run-p type-check build-only",
"build": "run-p add-version type-check build-only",
"add-version": "node ./add-frontend-version.js",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit",