-
Notifications
You must be signed in to change notification settings - Fork 2.8k
chore: migrate Vue 2 to Vue 3, Electron to v41, and update deps #599
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
de2decf
fix vue3
chengcheng84 5094ca4
fix: index load
chengcheng84 dbe5223
fix: theme
chengcheng84 a2ddae3
fix: add value for v-model
chengcheng84 8e61629
fix: sidebar
chengcheng84 48836c8
refactor: migrate Vue slot syntax to shorthand
chengcheng84 4499d3f
feat: upgrade dependencies and update Vue components
chengcheng84 841adf5
refactor: migrate icons to Vue components
chengcheng84 2816c6a
refactor: remove unused MockInput component and router patches
chengcheng84 a261f0f
fix: ci and review
chengcheng84 6dce51d
fix: review
chengcheng84 868fa6f
fix: build and sidbar
chengcheng84 437ff6a
fix: ci
chengcheng84 203a756
Merge branch 'master' of https://github.com/chengcheng84/dev-sidecar …
chengcheng84 f82e178
fix: merge
chengcheng84 d329e26
ci: use working-directory in GitHub Actions
chengcheng84 bc8cc10
test
chengcheng84 1578de1
fix ci
chengcheng84 6412615
ci: remove Windows universal build artifacts
chengcheng84 ba6ded2
fix: ci
chengcheng84 476b062
fix: update output directory and publish URL handling
chengcheng84 45d7118
Merge branch 'master' of https://github.com/chengcheng84/dev-sidecar …
chengcheng84 d0cd144
fix: review from copilot
chengcheng84 d20f497
fix
chengcheng84 b9215e8
fix(gui): restore scoped package name @docmirror/dev-sidecar-gui
chengcheng84 a4c5056
Merge branch 'master' of https://github.com/chengcheng84/dev-sidecar …
chengcheng84 4fae2b5
fix: restore search bar and pre-release indicators
chengcheng84 e219f46
fix: noTip
chengcheng84 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,104 @@ | ||
| const publishUrl = process.env.VUE_APP_PUBLISH_URL | ||
| const publishProvider = process.env.VUE_APP_PUBLISH_PROVIDER | ||
|
|
||
| /** @type {import('electron-builder').Configuration} */ | ||
| module.exports = { | ||
| appId: 'dev-sidecar', | ||
| productName: 'dev-sidecar', | ||
| artifactName: 'DevSidecar-${version}-${arch}.${ext}', | ||
| copyright: 'Copyright © 2020-' + new Date().getFullYear() + ' Greper, WangLiang, CuteOmega', | ||
| directories: { | ||
| output: 'dist_electron', | ||
| buildResources: 'build', | ||
| }, | ||
| files: [ | ||
| { | ||
| from: 'dist', | ||
| to: 'dist', | ||
| filter: [ | ||
| '**/*', | ||
| '!win-*/**/*', | ||
| '!mac-*/**/*', | ||
| '!linux-*/**/*', | ||
| '!*.zip', | ||
| '!*.dmg', | ||
| '!*.blockmap', | ||
| '!*.exe', | ||
| '!*.AppImage', | ||
| '!*.deb', | ||
| '!*.rpm', | ||
| '!*.tar.gz', | ||
| '!*.flatpak', | ||
| '!builder-*.yml', | ||
| '!builder-*.yaml', | ||
| ], | ||
| }, | ||
| 'src/**/*', | ||
| 'package.json', | ||
| 'extra/**/*', | ||
| ], | ||
| extraResources: [ | ||
| { | ||
| from: 'extra', | ||
| to: 'extra', | ||
| }, | ||
| ], | ||
| afterPack: './pkg/after-pack.cjs', | ||
| afterAllArtifactBuild: './pkg/after-all-artifact-build.cjs', | ||
| nsis: { | ||
| oneClick: false, | ||
| perMachine: true, | ||
| allowElevation: true, | ||
| allowToChangeInstallationDirectory: true, | ||
| }, | ||
| win: { | ||
| icon: 'build/icons/', | ||
| target: [ | ||
| { | ||
| target: 'nsis', | ||
| arch: ['x64', 'ia32', 'arm64'], | ||
| }, | ||
| ], | ||
| }, | ||
| linux: { | ||
| icon: 'build/mac/', | ||
| target: [ | ||
| { | ||
| target: 'deb', | ||
| arch: ['x64', 'arm64', 'armv7l'], | ||
| }, | ||
| { | ||
| target: 'AppImage', | ||
| arch: ['x64', 'arm64', 'armv7l'], | ||
| }, | ||
| { | ||
| target: 'tar.gz', | ||
| arch: ['x64', 'arm64', 'armv7l'], | ||
| }, | ||
| { | ||
| target: 'rpm', | ||
| arch: ['x64', 'arm64', 'armv7l'], | ||
| }, | ||
| { | ||
| target: 'flatpak', | ||
| arch: ['x64'], | ||
| }, | ||
| ], | ||
| appId: 'cn.docmirror.DevSidecar', | ||
| category: 'System', | ||
| }, | ||
| mac: { | ||
| icon: './build/mac/icon.icns', | ||
| target: { | ||
| target: 'dmg', | ||
| arch: ['x64', 'arm64', 'universal'], | ||
| }, | ||
| category: 'public.app-category.developer-tools', | ||
| }, | ||
| publish: publishProvider | ||
| ? { | ||
| provider: publishProvider, | ||
| url: publishUrl, | ||
| } | ||
| : undefined, | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.