-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate: build-tool use vite replace vue-cli #72
Conversation
little-buddy
commented
Oct 29, 2023
•
edited
Loading
edited
Step | Status |
---|---|
serve-web | ✅ |
build-web | todo |
electron-build | todo |
build-ci | todo |
Any progress? |
It’s been a while, but I’m still working 💪🏻
|
|
706ed13
to
e800e2d
Compare
Now!!! |
Later I will try to see if the windows system is normal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool
export-env.sh
Outdated
@@ -0,0 +1,5 @@ | |||
export ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ | |||
export ELECTRON_BUILDE_RBINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ | |||
echo "\033[32m ===================================================== \033[0m" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When will this script be invoked
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only run yarn mirrori
in China for electron
package.json
Outdated
"build:electron:linux": "node script/build.js --linux", | ||
"build:electron:macos": "node script/build.js --mac", | ||
"build:api": "lerna exec --scope @radishes/api -- yarn run build", | ||
"pkg": "rm -rf dist-electron && yarn build:electron && npx electron-builder --config .electron-builder.config.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
windows does not have the rm command, so you need to use rimraf to be compatible with different systems
"build:electron:linux": "node script/build.js --linux", | ||
"build:electron:macos": "node script/build.js --mac", | ||
"build:api": "lerna exec --scope @radishes/api -- yarn run build", | ||
"pkg": "npx rimraf dist-electron && yarn build:electron && npx electron-builder --config .electron-builder.config.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix it @Linkontoask
🎉🎉🎉🎉🎉 |