Repository navigation
revert: react-dom 19 and fetch-mock 12 bumps, fix e2e install - #2603
Merged
Merged
Conversation
This reverts #2602 and #2600. #2602 narrowed the published react-dom peer range on @faustwp/core, @faustwp/blocks and @faustwp/block-editor-utils to ^18.3.1, which would reject React 17 and React 19 installs, and moved the getting-started example to react-dom 19 while it still uses react 18. #2600 moved to fetch-mock 12, which removed fetchMock.restore() and the v9 routing API the core tests use, so the core test suite fails.
…tch-mock # Conflicts: # package-lock.json
The e2e job fetched the example with create-next-app, which calls the GitHub API unauthenticated and fails when rate limited, then installed the published @faustwp packages and copied the local builds over them. npm treated the copied CLI as already installed and never installed its current dependencies, so the app kept archiver 6 and the CLI failed to import ZipArchive. Copy the example from the checkout and point it at the local packages before its first install instead.
josephfusco
marked this pull request as ready for review
October 7, 2026 15:30
Merged
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.
Related: #2602, #2600
#2602 rewrote the published react-dom peer range to
^18.3.1(dropping React 17 and 19 support), so this needs to land before #2588 ships a release; the e2e workflow fix rides along because the example only builds once react-dom is back on 18, and the workflow now also runs when its own file changes.Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Assisting with tracing the canary test and e2e failures, preparing the revert, and fixing the e2e install steps.