mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
update some js dependencies, update for new repo names
This commit is contained in:
parent
985d265b47
commit
f5331f989a
@ -28,7 +28,10 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.17.10",
|
"@babel/cli": "^7.17.10",
|
||||||
"@babel/core": "^7.18.2",
|
"@babel/core": "^7.18.2",
|
||||||
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||||||
"@babel/plugin-proposal-decorators": "^7.18.2",
|
"@babel/plugin-proposal-decorators": "^7.18.2",
|
||||||
|
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
||||||
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
||||||
"@babel/plugin-transform-react-jsx": "^7.17.12",
|
"@babel/plugin-transform-react-jsx": "^7.17.12",
|
||||||
"@babel/plugin-transform-runtime": "^7.18.2",
|
"@babel/plugin-transform-runtime": "^7.18.2",
|
||||||
"@babel/preset-env": "^7.18.2",
|
"@babel/preset-env": "^7.18.2",
|
||||||
|
@ -82,12 +82,12 @@ rm -rf build/
|
|||||||
node_modules/.bin/webpack --config webpack.prod.js
|
node_modules/.bin/webpack --config webpack.prod.js
|
||||||
node_modules/.bin/webpack --config webpack.electron.prod.js
|
node_modules/.bin/webpack --config webpack.electron.prod.js
|
||||||
GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')"
|
GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')"
|
||||||
(cd ../mshell; GOOS=darwin GOARCH=amd64 go build -ldflags="$GO_LDFLAGS" -o ../sh2/bin/mshell/mshell-v0.2-darwin.amd64 main-mshell.go)
|
(cd ../apishell; GOOS=darwin GOARCH=amd64 go build -ldflags="$GO_LDFLAGS" -o ../prompt-client/bin/mshell/mshell-v0.2-darwin.amd64 main-mshell.go)
|
||||||
(cd ../mshell; GOOS=darwin GOARCH=arm64 go build -ldflags="$GO_LDFLAGS" -o ../sh2/bin/mshell/mshell-v0.2-darwin.arm64 main-mshell.go)
|
(cd ../apishell; GOOS=darwin GOARCH=arm64 go build -ldflags="$GO_LDFLAGS" -o ../prompt-client/bin/mshell/mshell-v0.2-darwin.arm64 main-mshell.go)
|
||||||
(cd ../mshell; GOOS=linux GOARCH=amd64 go build -ldflags="$GO_LDFLAGS" -o ../sh2/bin/mshell/mshell-v0.2-linux.amd64 main-mshell.go)
|
(cd ../apishell; GOOS=linux GOARCH=amd64 go build -ldflags="$GO_LDFLAGS" -o ../prompt-client/bin/mshell/mshell-v0.2-linux.amd64 main-mshell.go)
|
||||||
(cd ../mshell; GOOS=linux GOARCH=arm64 go build -ldflags="$GO_LDFLAGS" -o ../sh2/bin/mshell/mshell-v0.2-linux.arm64 main-mshell.go)
|
(cd ../apishell; GOOS=linux GOARCH=arm64 go build -ldflags="$GO_LDFLAGS" -o ../prompt-client/bin/mshell/mshell-v0.2-linux.arm64 main-mshell.go)
|
||||||
(cd ../sh2-server; GOOS=darwin GOARCH=amd64 go build -ldflags="$GO_LDFLAGS" -o ../sh2/build/prompt-local-server.amd64 ./cmd)
|
(cd ../prompt-server; GOOS=darwin GOARCH=amd64 go build -ldflags="$GO_LDFLAGS" -o ../prompt-client/build/prompt-local-server.amd64 ./cmd)
|
||||||
(cd ../sh2-server; GOOS=darwin GOARCH=arm64 go build -ldflags="$GO_LDFLAGS" -o ../sh2/build/prompt-local-server.arm64 ./cmd)
|
(cd ../prompt-server; GOOS=darwin GOARCH=arm64 go build -ldflags="$GO_LDFLAGS" -o ../prompt-client/build/prompt-local-server.arm64 ./cmd)
|
||||||
lipo -create -output bin/prompt-local-server build/prompt-local-server.amd64 build/prompt-local-server.arm64
|
lipo -create -output bin/prompt-local-server build/prompt-local-server.amd64 build/prompt-local-server.arm64
|
||||||
node_modules/.bin/electron-forge make
|
node_modules/.bin/electron-forge make
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user