Browse Source

删掉不再使用的 build 打包脚本。

去掉 zip-to-qingpu.ps1,以及 package.json 里的 zip、deploy:qingpu。

Co-Authored-By: Cursor <cursoragent@cursor.com>
gongtianxiao 15 hours ago
parent
commit
a724fe9ebe
2 changed files with 1 additions and 14 deletions
  1. 0 11
      build/zip-to-qingpu.ps1
  2. 1 3
      package.json

+ 0 - 11
build/zip-to-qingpu.ps1

@@ -1,11 +0,0 @@
-# zip-dist.ps1
-$source = "dist"
-$timestamp = Get-Date -Format "yyyyMMddHHmmss"
-$zipPath = "D:\win_share\qingpu\zhaoshang-$timestamp.zip"
-
-if (Test-Path $zipPath) {
-    Remove-Item $zipPath
-}
-
-Compress-Archive -Path "$source\*" -DestinationPath $zipPath
-Write-Host "zip succeed: $zipPath"

+ 1 - 3
package.json

@@ -5,14 +5,12 @@
   "type": "module",
   "scripts": {
     "dev": "vite --host --port 8083 --mode development",
-    "zip": "powershell -ExecutionPolicy Bypass -File ./build/zip-to-qingpu.ps1",
     "build": "vite build --mode production ",
     "preview": "vite preview",
     "test": "jest",
     "dms:token": "node harness/tools/set-dms-token.mjs",
     "dms:login": "node harness/tools/dms-login.mjs",
-    "predev": "node harness/tools/dms-login.mjs --if-needed",
-    "deploy:qingpu": "npm run build && npm run zip"
+    "predev": "node harness/tools/dms-login.mjs --if-needed"
   },
   "dependencies": {
     "@types/three": "0.143.0",