Skip to content

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)
@changeset-bot
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 :(

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh no! Sorry about that, I must have missed the re-export. Will get that into the next release asap

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.

4 participants