-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore(refactor): electron-updater cyclical imports #8913
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
Conversation
… to prep for migration to rollup + vite (which have much more strict module resolutions)
🦋 Changeset detectedLatest commit: 9652f54 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
| @@ -0,0 +1,81 @@ | |||
| import { CancellationToken, PackageFileInfo, ProgressInfo, UpdateFileInfo, UpdateInfo } from "builder-util-runtime" | |||
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.
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 :(
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.
Oh no! Sorry about that, I must have missed the re-export. Will get that into the next release asap
Refactoring code to reduce cyclical imports in order to migrate to rollup and/or vitest (which have much more strict module resolutions)