Skip to content
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

chore(refactor): electron-updater cyclical imports #8913

Merged
merged 2 commits into from
Feb 27, 2025

Conversation

mmaietta
Copy link
Collaborator

Refactoring code to reduce cyclical imports in order to migrate to rollup and/or vitest (which have much more strict module resolutions)

… to prep for migration to rollup + vite (which have much more strict module resolutions)
Copy link

changeset-bot bot commented Feb 27, 2025

🦋 Changeset detected

Latest commit: 9652f54

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
electron-updater Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mmaietta mmaietta marked this pull request as ready for review February 27, 2025 03:18
@mmaietta mmaietta requested a review from beyondkmp February 27, 2025 03:18
beyondkmp
beyondkmp previously approved these changes Feb 27, 2025
@mmaietta mmaietta merged commit 065c6a4 into master Feb 27, 2025
17 checks passed
@mmaietta mmaietta deleted the chore/electron-updater-refactor branch February 27, 2025 16:01
@@ -0,0 +1,81 @@
import { CancellationToken, PackageFileInfo, ProgressInfo, UpdateFileInfo, UpdateInfo } from "builder-util-runtime"
Copy link

@lyswhut lyswhut Mar 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please export ProgressInfo and UpdateInfo in the electron-updater package.
These types of exports have been removed: export { CancellationToken, PackageFileInfo, ProgressInfo, UpdateFileInfo, UpdateInfo }

My app depends on UpdateInfo and ProgressInfo types, and I noticed that this change removed the exports of these two types :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants