-
Notifications
You must be signed in to change notification settings - Fork 384
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
Upgrade outdated packages; Bump React to v18 #7548
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
6154f24
Update Gutenberg package dependencies
ampprojectbot 5dbd5c4
Bump React and ReactDOM to 18.2.0
thelovekesh 2cc3288
Bump react-test-renderer to 18.2.0
thelovekesh a3981ad
Add @testing-library/react
thelovekesh 39cae75
Refactor test cases to implement `@testing-library/react`
thelovekesh f40dfa6
Update jest snapshots
thelovekesh 3cc6522
Use mocked DOM events from testing-library
thelovekesh e9d7684
Update lockfile
thelovekesh 8dd9f2c
Update Gutenberg package dependencies
thelovekesh 9a94fff
Update jest snapshots
thelovekesh 18c09e8
Fix bug due to improper effect unmount in useDelayedFlag hook
thelovekesh 1fdf6eb
Upgrade to React 18
thelovekesh 46616f8
Update Gutenberg package dependencies
thelovekesh 5bfd951
Add custom jest resolver to fix export statement syntax errors
thelovekesh 8c0ece9
Update jest snapshots after upgrading @wordpress/components package
thelovekesh f484f1a
Update store registration as `registerStore` is deprecated
thelovekesh bcb0232
Remove block validation store registration
thelovekesh 1412b5a
Update usage of block-validation store
thelovekesh d1df79c
Update usage of block-validation store in test cases
thelovekesh f302dc2
Update store registration for block editor as `registerStore` is depr…
thelovekesh 6a5aa7a
Update packages
thelovekesh 42874b0
Update jest snapshots after upgrading @wordpress/components package
thelovekesh b4faf01
Update e2e-tests workflow to run e2e tests with Node 16
thelovekesh 494d78a
Fix state batch updates in Options context provider
thelovekesh 895be5e
Bump deps to latest version
thelovekesh 6cd4845
Update `AfterActivationSiteScan` service to work with React 18 only
thelovekesh 9f7014a
Update PHPUnit tests workflow to run multisite in existing job
thelovekesh cd2ae21
Remove commented code from block-validation tests
thelovekesh 53630f1
Revert package.json engines
thelovekesh d09a12a
Update gallery handler test cases to remove lazy loading attribute
thelovekesh e565be2
Update gallery handler test cases to remove extra whitespaces with lo…
thelovekesh eeebbd9
Update gallery handler test cases to remove lazy loading attribute
thelovekesh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Wait, why isn't
.nvmrc
updated to node 18 if theengines.node
was updated inpackage.json
?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.
Aah, I missed reverting the changes in
engines
. Since many deps in@wordpress/*
are outdated, let's keep node to 14.