Repository navigation
fix(examples): pin with-electron to the published @e2e-dev/electron - #2564
Merged
Merged
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix Merge Risk:
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
examples/with-electroninstalls from npm: its@e2e-dev/electronpin is0.1.0, the version that was published, where it named0.0.1.Why
@e2e-dev/electron0.0.1 was never published (npm has 0.0.0 and 0.1.0), sonpm installin a clone of the example fails withETARGET.e2e init --example with-electronis not affected, because init rewrites the@e2e-dev/*ranges on copy.How it works
examples/with-electron/package.json:15pins@e2e-dev/electronto0.1.0. The pin stays exact, asdocs/electron.mdxasks for while the engine is experimental.examples/with-electron/README.md:45records the run on the published packages in the "Last checked" note, which described a build from main and the 0.0.1 release.Issue
None filed. Found while setting up the example from a clone.
Verified
Ran it locally: yes
examples/with-electronto a scratch directory outside the workspace, rannpm install, thene2e runwith a gateway key. Node 24, macOS 27.npm error notarget No matching version found for @e2e-dev/electron@0.0.1.@e2e-dev/electron@0.1.0,e2e@0.26.0,electron@45.5.0The test run used the range
^0.1.0, which resolved to the same 0.1.0 the exact pin installs.Summary by CodeRabbit
Documentation
Chores