mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-02-17 15:59:41 +08:00
Optimize: build sh
This commit is contained in:
parent
b717ac5546
commit
c5c59677c5
@ -50,7 +50,9 @@ cd "../web"
|
||||
call npm install --production
|
||||
cd "../../"
|
||||
|
||||
echo "--------"
|
||||
echo "Done!"
|
||||
echo "------------"
|
||||
echo "Compilation completed!"
|
||||
echo "Output Directory: ./production-code/"
|
||||
echo "------------"
|
||||
|
||||
pause
|
8
build.sh
8
build.sh
@ -1,4 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
npm run preview-build
|
||||
|
||||
rm -rf production-code
|
||||
@ -42,5 +45,6 @@ rm -rf ./panel/dist ./panel/production
|
||||
rm -rf ./frontend/dist
|
||||
|
||||
echo "------------"
|
||||
echo "Done!"
|
||||
echo "------------"
|
||||
echo "Compilation completed!"
|
||||
echo "Output Directory: ./production-code/"
|
||||
echo "------------"
|
||||
|
21
frontend/package-lock.json
generated
21
frontend/package-lock.json
generated
@ -23,7 +23,6 @@
|
||||
"ant-design-vue": "^4.0.7",
|
||||
"axios": "^1.4.0",
|
||||
"codemirror": "^6.0.1",
|
||||
"common": "file:../common",
|
||||
"crc": "^4.3.2",
|
||||
"dayjs": "^1.11.9",
|
||||
"echarts": "^5.4.3",
|
||||
@ -76,6 +75,7 @@
|
||||
},
|
||||
"../common": {
|
||||
"version": "1.0.0",
|
||||
"extraneous": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
@ -3517,10 +3517,6 @@
|
||||
"node": ">=14"
|
||||
}
|
||||
},
|
||||
"node_modules/common": {
|
||||
"resolved": "../common",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/compute-scroll-into-view": {
|
||||
"version": "1.0.20",
|
||||
"resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz",
|
||||
@ -12079,21 +12075,6 @@
|
||||
"integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==",
|
||||
"dev": true
|
||||
},
|
||||
"common": {
|
||||
"version": "file:../common",
|
||||
"requires": {
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/node": "^20.9.0",
|
||||
"@types/os-utils": "^0.0.4",
|
||||
"archiver": "^6.0.1",
|
||||
"compressing": "^1.10.0",
|
||||
"fs-extra": "^11.1.1",
|
||||
"node-stream-zip": "^1.15.0",
|
||||
"os-utils": "^0.0.14",
|
||||
"socket.io": "^4.7.2",
|
||||
"typescript": "^4.9.4"
|
||||
}
|
||||
},
|
||||
"compute-scroll-into-view": {
|
||||
"version": "1.0.20",
|
||||
"resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz",
|
||||
|
Loading…
Reference in New Issue
Block a user