Update peer dependency semvers to allow Electron 28 prereleases #7
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.
Description
Hi, my project needs an ESM only module, and luckily the first Electron 28 beta dropped today on NPM.
This PR resolves peer dependency issues allowing for Electron 28's pre-release version to be valid peers.
Additional context
For these packages in package.json:
This PR should fix this problem in NPM:
This update changes the peer dependency semvers to
It could be simplified to ">=13.0.0-0" to include any prerelease version, or however you like.
The semver calculator will show which packages are included/excluded in the expression.
Note that the calculator's database is at least 10 hours behind, so I used this expression as a test:
>=13.0.0 || >= 27.0.0-0
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).Sorry I missed the commit convention naming. Feel free to rename the commits.