opensumi / ide-electron

OpenSumi Electron Version
https://opensumi.com
MIT License
171 stars 56 forks source link

fix: failed to pack the installer due to the changes of two dependencies #112

Closed john-deng closed 1 month ago

john-deng commented 1 month ago

fixes the issue that it failed to pack the installer due to the changes of two dependencies, ripgrep and node-pty.

here is the packaging result:

$ yarn run pack
yarn run v1.22.22
$ yarn build-prod && node build/pack.js
$ rimraf -rf ./app && rimraf -rf ./out && run-p build-prod:*
$ webpack --config ./build/webpack.main.config.js --mode=production
$ webpack --config ./build/webpack.node.config.js --mode=production
$ webpack --config ./build/webpack.browser.config.js --mode=production
$ webpack --config ./build/webpack.extension-host.config.js --mode=production
$ webpack --config ./build/webpack.webview.config.js --mode=production
asset host-preload.js 9.65 KiB [emitted] [minimized] (name: main) 1 related asset
asset plain-preload.js 939 bytes [emitted] [from: node_modules/@opensumi/ide-webview/lib/electron-webview/plain-preload.js] [copied] [minimized]
modules by path ./node_modules/@opensumi/ide-webview/lib/electron-webview/*.js 2.02 KiB
  ./node_modules/@opensumi/ide-webview/lib/electron-webview/host-preload.js 54 bytes [built] [code generated]

......

webpack 5.93.0 compiled with 5 warnings in 236941 ms
  • electron-builder  version=23.6.0 os=10.0.19045
  • author is missed in the package.json  appPackageFile=C:\Users\ide\workspace\ide-electron\app\package.json
  • writing effective config  file=out\builder-effective-config.yaml
  • installing production dependencies  platform=win32 arch=x64 appDir=C:\Users\ide\workspace\ide-electron\app
  • packaging       platform=win32 arch=x64 electron=22.3.25 appOutDir=out\win-unpacked
  • building        target=nsis file=out\OpenSumi-OSS-1.3.6.exe archs=x64 oneClick=true perMachine=false
  • building block map  blockMapFile=out\OpenSumi-OSS-1.3.6.exe.blockmap
Done in 474.18s.