-
Notifications
You must be signed in to change notification settings - Fork 879
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
base: trunk
Are you sure you want to change the base?
Upgrade to Yarn 4 #21345
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c2164c9 - Browse repository at this point
Copy the full SHA c2164c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c3035b - Browse repository at this point
Copy the full SHA 9c3035bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f685e61 - Browse repository at this point
Copy the full SHA f685e61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39159af - Browse repository at this point
Copy the full SHA 39159afView commit details -
Configuration menu - View commit details
-
Copy full SHA for eabf07c - Browse repository at this point
Copy the full SHA eabf07cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98eea7f - Browse repository at this point
Copy the full SHA 98eea7fView commit details -
Refactor pretest to be part of test itself
Yarn 4 removed pre- and post- lifecycle scripts: https://yarnpkg.com/advanced/lifecycle-scripts
Configuration menu - View commit details
-
Copy full SHA for 7742ddf - Browse repository at this point
Copy the full SHA 7742ddfView commit details
Commits on Apr 28, 2024
-
Remove prepublishOnly in favor of files
* remove side-effect of publish, as per the recommendation in https://yarnpkg.com/advanced/lifecycle-scripts * using files determine what we would publish, see https://docs.npmjs.com/cli/v10/configuring-npm/package-json#files * ignore .map files, just in case the build contains them * move browserslist-config index out of `src` folder, just for convenience of no `src` in the published version
Configuration menu - View commit details
-
Copy full SHA for 25ca4ed - Browse repository at this point
Copy the full SHA 25ca4edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0706cbe - Browse repository at this point
Copy the full SHA 0706cbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a824ac0 - Browse repository at this point
Copy the full SHA a824ac0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2783c21 - Browse repository at this point
Copy the full SHA 2783c21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3621d7a - Browse repository at this point
Copy the full SHA 3621d7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8789e15 - Browse repository at this point
Copy the full SHA 8789e15View commit details -
Fix @yoast/wordpress-seo build and test commands
Tweak lint to use .eslintignore file instead of only running in the src and tests folders
Configuration menu - View commit details
-
Copy full SHA for a07032c - Browse repository at this point
Copy the full SHA a07032cView commit details -
Fix @yoast/replacement-variable-editor test
Move lint ignore to separate file
Configuration menu - View commit details
-
Copy full SHA for c1c444a - Browse repository at this point
Copy the full SHA c1c444aView commit details -
Fix @yoast/search-metadata-previews test
* upgrade @wordpress/components to WP 6.4 version, fixes a test failing on UUID sub dependency having require * move lint ignore to separate file
Configuration menu - View commit details
-
Copy full SHA for ea9c2af - Browse repository at this point
Copy the full SHA ea9c2afView commit details -
Fix @yoast/social-metadata-forms lint and test
* add own config * auto-fix comma-dangle
Configuration menu - View commit details
-
Copy full SHA for 39e0dba - Browse repository at this point
Copy the full SHA 39e0dbaView commit details -
Fix @yoast/social-metadata-previews lint and test
* add own config * auto-fix comma-dangle
Configuration menu - View commit details
-
Copy full SHA for 0223d5b - Browse repository at this point
Copy the full SHA 0223d5bView commit details -
Change @yoast/ui-library scripts
* rename clean:build to clean, inline with the other packages * prefix node commands with yarn, as per their recommendedation when using PnP linking mode: https://yarnpkg.com/migration/pnp#enabling-yarn-pnp * switch to lint all vs just src (ignore missing test deps) * add missing jest jsdom, even though tests are disabled
Configuration menu - View commit details
-
Copy full SHA for 750a434 - Browse repository at this point
Copy the full SHA 750a434View commit details -
* introducing ignore file * tune the max warnings to the current number
Configuration menu - View commit details
-
Copy full SHA for 62c2799 - Browse repository at this point
Copy the full SHA 62c2799View commit details -
* move to JS format * remove exceptions * change react to detect * add css/dist/ to ignore list * auto-fix comma-dangle
Configuration menu - View commit details
-
Copy full SHA for d1cbf84 - Browse repository at this point
Copy the full SHA d1cbf84View commit details -
* starting with the upgrade in our jest-preset * upgrade the other packages to match * fixes needed, coming in next commits
Configuration menu - View commit details
-
Copy full SHA for e0a6a41 - Browse repository at this point
Copy the full SHA e0a6a41View commit details -
Configuration menu - View commit details
-
Copy full SHA for ded88a6 - Browse repository at this point
Copy the full SHA ded88a6View commit details -
* an error would result in an infinite loop: add url = false * an error would not result in the error being displayed: add wait for next cycle * the above fixes the indexation tests
Configuration menu - View commit details
-
Copy full SHA for 0f297fb - Browse repository at this point
Copy the full SHA 0f297fbView commit details -
* missing act * the closing would result in further state changes that were not captured by the fireEvent.click * solution: wrap next check in waitFor
Configuration menu - View commit details
-
Copy full SHA for daca422 - Browse repository at this point
Copy the full SHA daca422View commit details -
* remove the UI library source from the module mapping, it is expected to run build before test instead * remove different node_module overrides * add WP i18n to the module mapping to ensure a singleton, this fixes the text-domain warnings
Configuration menu - View commit details
-
Copy full SHA for 2159a0f - Browse repository at this point
Copy the full SHA 2159a0fView commit details -
Specify lerna/nx task dependencies
* see https://lerna.js.org/docs/concepts/task-pipeline-configuration * upgrade lerna * ran lerna repair * specify ignore cache in grunt tasks, just to ensure no change there * add clean task (handy for cache busting too) * alphabetize scripts
Configuration menu - View commit details
-
Copy full SHA for 96185d9 - Browse repository at this point
Copy the full SHA 96185d9View commit details -
Upgrade babel preset and cohorts
* skipping preset upgrades - lets not require minor upgrades * feature-flag: remove unused babel plugins
Configuration menu - View commit details
-
Copy full SHA for a61cfd5 - Browse repository at this point
Copy the full SHA a61cfd5View commit details -
* align versions * fix missing tailwindcss in root * fix wrong tailwindcss/forms version (not as per postcss-preset requirement)
Configuration menu - View commit details
-
Copy full SHA for 2b32305 - Browse repository at this point
Copy the full SHA 2b32305View commit details -
* remove unused from JS * add missing webpack peer dep to UI lib
Configuration menu - View commit details
-
Copy full SHA for 10c80db - Browse repository at this point
Copy the full SHA 10c80dbView commit details -
* move to actual deps: @yoast/helpers and styled-components * remove unused json dep * add peer deps: react and react-dom * add browserslist config to extend the yoast config
Configuration menu - View commit details
-
Copy full SHA for 2d813f6 - Browse repository at this point
Copy the full SHA 2d813f6View commit details -
* @reduxjs/toolkit requires react-redux 7 or 8 * react-redux 8 requires redux 4 * remove redux-thunk and unused script that was using it
Configuration menu - View commit details
-
Copy full SHA for cb6f33f - Browse repository at this point
Copy the full SHA cb6f33fView commit details -
* add react and react-dom to root, to satisfy peer deps * remove unused @testing-library/react-hooks, warned about wanting older version of react-renderer (16.9.0 or 17.0.0 vs actual 18.2.0)
Configuration menu - View commit details
-
Copy full SHA for 6bfff26 - Browse repository at this point
Copy the full SHA 6bfff26View commit details -
Add missing draft-js peer deps from replacement-variable-editor
* as peer deps of the packages using replacement-variable-editor
Configuration menu - View commit details
-
Copy full SHA for 71e025f - Browse repository at this point
Copy the full SHA 71e025fView commit details -
* required by grunt-contrib-clean, grunt-shell and grunt-git * update grunt-git to work with grunt 1.6.1
Configuration menu - View commit details
-
Copy full SHA for 7cac804 - Browse repository at this point
Copy the full SHA 7cac804View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd01cc3 - Browse repository at this point
Copy the full SHA bd01cc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7ddb8e - Browse repository at this point
Copy the full SHA c7ddb8eView commit details -
* because it supports React 18 * turns out the close on click outside error is fixed too: * removing shouldCloseOnClickOutside false for: SearchAppearanceModal, SocialAppearanceModal, SEMrushRelatedKeyphrasesModal, WincherSEOPerformanceModal (Elementor) and InsightsModal (Elementor)
Configuration menu - View commit details
-
Copy full SHA for 20873ad - Browse repository at this point
Copy the full SHA 20873adView commit details -
Remove unused react-intl and IntlProvider
* not using React 18 (but 16 at the latest)
Configuration menu - View commit details
-
Copy full SHA for 9f639ed - Browse repository at this point
Copy the full SHA 9f639edView commit details -
* inactive package since 5 years * still requiring React 16.3.x * moving over to already used WP a11y' speak * adding a hook and wrapper component for ease of use, as per downside of original PR: #19615
Configuration menu - View commit details
-
Copy full SHA for 247b79c - Browse repository at this point
Copy the full SHA 247b79cView commit details -
Upgrade WP blocks to WP 6.4 version
* due to warning about React 18 (package was using 17 before)
Configuration menu - View commit details
-
Copy full SHA for 551d6ff - Browse repository at this point
Copy the full SHA 551d6ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for a02c035 - Browse repository at this point
Copy the full SHA a02c035View commit details -
Upgrade UI lib WP jest-preset-default
* was requiring old React version (via react-test-renderer) * not really used at the moment
Configuration menu - View commit details
-
Copy full SHA for 545d333 - Browse repository at this point
Copy the full SHA 545d333View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a73036d - Browse repository at this point
Copy the full SHA a73036dView commit details -
* no more transform ignore or mapping of Yoast packages or lodash-es * remove unused find-with-regex * fix test import of lodash-es to use lodash
Configuration menu - View commit details
-
Copy full SHA for 7eb8584 - Browse repository at this point
Copy the full SHA 7eb8584View commit details -
Configuration menu - View commit details
-
Copy full SHA for 078a810 - Browse repository at this point
Copy the full SHA 078a810View commit details -
Switch react and react-dom to actual deps
* they are required as peer deps by @yoast/style-guide now * and it makes a bit more sense that it is actually used, even though it is mostly indirectly via WP element
Configuration menu - View commit details
-
Copy full SHA for 88657cf - Browse repository at this point
Copy the full SHA 88657cfView commit details -
Add missing dev deps for Grunt
* using versions from @yoast/grunt-plugin-tasks range to prevent potential problems * fixing version of @yoast/grunt-plugin-tasks
Configuration menu - View commit details
-
Copy full SHA for 499e67b - Browse repository at this point
Copy the full SHA 499e67bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b10abb5 - Browse repository at this point
Copy the full SHA b10abb5View commit details -
Remove jest version output from CI
There are no tests in the root folder
Configuration menu - View commit details
-
Copy full SHA for 437a80c - Browse repository at this point
Copy the full SHA 437a80cView commit details