Skip to content
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 to Yarn 4 #21345

Draft
wants to merge 50 commits into
base: trunk
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
c2164c9
Remove yoast-components dependency
igorschoester Apr 13, 2024
9c3035b
Remove yoast-components from tooling
igorschoester Apr 13, 2024
f685e61
Remove yoast-components
igorschoester Apr 13, 2024
39159af
Add Yarn 4
igorschoester Apr 26, 2024
eabf07c
Safe fix .gitignore
igorschoester Apr 26, 2024
98eea7f
Fix grunt clean
igorschoester Apr 26, 2024
7742ddf
Refactor pretest to be part of test itself
igorschoester Apr 26, 2024
25ca4ed
Remove prepublishOnly in favor of files
igorschoester Apr 26, 2024
0706cbe
Fix analysis-report build and test
igorschoester Apr 26, 2024
a824ac0
Fix browserslist-config lint
igorschoester Apr 26, 2024
2783c21
Fix @yoast/components build:css and lint
igorschoester Apr 26, 2024
3621d7a
Fix @yoast/feature-flag lint and test
igorschoester Apr 26, 2024
8789e15
Fix @yoast/helpers lint and test
igorschoester Apr 26, 2024
a07032c
Fix @yoast/wordpress-seo build and test commands
igorschoester Apr 26, 2024
c1c444a
Fix @yoast/replacement-variable-editor test
igorschoester Apr 27, 2024
ea9c2af
Fix @yoast/search-metadata-previews test
igorschoester Apr 27, 2024
39e0dba
Fix @yoast/social-metadata-forms lint and test
igorschoester Apr 27, 2024
0223d5b
Fix @yoast/social-metadata-previews lint and test
igorschoester Apr 27, 2024
750a434
Change @yoast/ui-library scripts
igorschoester Apr 27, 2024
62c2799
Expand yoastseo lint
igorschoester Apr 27, 2024
d1cbf84
Fix root tooling lint
igorschoester Apr 27, 2024
e0a6a41
Upgrade jest and cohorts
igorschoester Apr 27, 2024
ded88a6
Update snapshots
igorschoester Apr 27, 2024
0f297fb
Fix indexation component
igorschoester Apr 27, 2024
daca422
Fix search test warning
igorschoester Apr 27, 2024
2159a0f
Clean Jest config
igorschoester Apr 27, 2024
96185d9
Specify lerna/nx task dependencies
igorschoester Apr 27, 2024
a61cfd5
Upgrade babel preset and cohorts
igorschoester Apr 27, 2024
2b32305
Bump CSS deps
igorschoester Apr 27, 2024
10c80db
Fix webpack deps
igorschoester Apr 27, 2024
2d813f6
Fix style-guide deps
igorschoester Apr 27, 2024
cb6f33f
Upgrade redux
igorschoester Apr 27, 2024
6bfff26
Fix react deps
igorschoester Apr 27, 2024
71e025f
Add missing draft-js peer deps from replacement-variable-editor
igorschoester Apr 27, 2024
7cac804
Add Grunt dev dep
igorschoester Apr 27, 2024
bd01cc3
Allow semver control in sync WP dep script
igorschoester Apr 27, 2024
c7ddb8e
Fix yarn start
igorschoester Apr 28, 2024
20873ad
Upgrade react-modal
igorschoester Apr 28, 2024
9f639ed
Remove unused react-intl and IntlProvider
igorschoester Apr 28, 2024
247b79c
Remove react-aria-live
igorschoester Apr 28, 2024
551d6ff
Upgrade WP blocks to WP 6.4 version
igorschoester Apr 28, 2024
a02c035
Fix analysis-report snapshots
igorschoester Apr 28, 2024
545d333
Upgrade UI lib WP jest-preset-default
igorschoester Apr 28, 2024
a73036d
Upgrade WP packages to their WP 6.4 version
igorschoester Apr 28, 2024
7eb8584
Clean jest-preset and configs
igorschoester Apr 28, 2024
078a810
Add missing react-is dep for styled-components
igorschoester Apr 28, 2024
88657cf
Switch react and react-dom to actual deps
igorschoester Apr 28, 2024
499e67b
Add missing dev deps for Grunt
igorschoester Apr 28, 2024
b10abb5
Remove unused root dev deps
igorschoester Apr 28, 2024
437a80c
Remove jest version output from CI
igorschoester Apr 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Upgrade WP packages to their WP 6.4 version
(or packages provided by WP)
* trigger was some requiring older React version -- not totally solved yet:
  * WP components at WP 6.5 version will solve Reakit
  * WP block-editor still requires react-autosize-textarea, which is archived since March 1, 2024
  * WP compose and WP data still use use-memo-one 1.1.2 or 1.1.1 where 1.1.3 has React 18 support
* we are not providing these packages in our plugin, so this is only affecting testing and development
  • Loading branch information
igorschoester committed Apr 28, 2024
commit a73036da807c7999d5c3b87b9cd7a4c8a4b00fd4
32 changes: 16 additions & 16 deletions packages/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@
"@headlessui/react": "^1.7.8",
"@heroicons/react": "^1.0.6",
"@reduxjs/toolkit": "^1.8.3",
"@wordpress/a11y": "^2.15.1",
"@wordpress/api-fetch": "^6.13.0",
"@wordpress/block-editor": "^5.3.1",
"@wordpress/a11y": "^3.42.13",
"@wordpress/api-fetch": "^6.39.13",
"@wordpress/block-editor": "^12.10.14",
"@wordpress/blocks": "^12.19.13",
"@wordpress/components": "^25.8.14",
"@wordpress/compose": "^3.25.3",
"@wordpress/data": "^4.10.0",
"@wordpress/dom-ready": "^2.10.0",
"@wordpress/element": "^5.3.2",
"@wordpress/hooks": "^2.12.3",
"@wordpress/html-entities": "^3.3.1",
"@wordpress/i18n": "^4.14.0",
"@wordpress/is-shallow-equal": "^3.1.1",
"@wordpress/plugins": "^3.1.2",
"@wordpress/rich-text": "^3.25.3",
"@wordpress/server-side-render": "^1.21.1",
"@wordpress/url": "^3.17.0",
"@wordpress/compose": "^6.19.13",
"@wordpress/data": "^9.12.13",
"@wordpress/dom-ready": "^3.42.13",
"@wordpress/element": "^5.19.13",
"@wordpress/hooks": "^3.42.13",
"@wordpress/html-entities": "^3.42.13",
"@wordpress/i18n": "^4.42.13",
"@wordpress/is-shallow-equal": "^4.42.13",
"@wordpress/plugins": "^6.10.14",
"@wordpress/rich-text": "^6.19.13",
"@wordpress/server-side-render": "^4.19.14",
"@wordpress/url": "^3.43.13",
"@wordproof/uikit": "1.0.41",
"@yoast/analysis-report": "^1.21.0",
"@yoast/components": "^2.19.0",
Expand All @@ -53,7 +53,7 @@
"jed": "^1.1.1",
"lodash": "^4.17.21",
"marked": "^0.7.0",
"moment": "2.22.2",
"moment": "^2.29.4",
"moment-duration-format": "^2.2.2",
"prop-types": "^15.5.10",
"react-animate-height": "^2.0.23",
Expand Down