From b1963671d385fee462590bfb69485010eb886d47 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:55:16 +0000 Subject: [PATCH] Update react monorepo to v19 --- src/abacus-backoffice/package.json | 4 +- src/abacus-kochka/package.json | 4 +- src/abacus-tools/package.json | 4 +- src/eslint-plugin-sx/package.json | 2 +- src/forms/package.json | 2 +- src/hooks/package.json | 2 +- src/icons/package.json | 2 +- src/mrtnzlml-meta/package.json | 4 +- src/mrtnzlml.com/package.json | 4 +- src/relay/package.json | 6 +- src/sx-design-headless/package.json | 2 +- src/sx-design/package.json | 8 +- src/sx-jest-snapshot-serializer/package.json | 2 +- src/sx/package.json | 6 +- src/typescript-test/package.json | 8 +- yarn.lock | 164 +++++++++++-------- 16 files changed, 122 insertions(+), 102 deletions(-) diff --git a/src/abacus-backoffice/package.json b/src/abacus-backoffice/package.json index 318bb7edf0..c1de88c311 100644 --- a/src/abacus-backoffice/package.json +++ b/src/abacus-backoffice/package.json @@ -34,8 +34,8 @@ "next-plugin-custom-babel-config": "^1.0.5", "next-seo": "^6.5.0", "next-transpile-modules": "^10.0.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "recoil": "^0.7.7", "recoil-sync": "^0.2.0" }, diff --git a/src/abacus-kochka/package.json b/src/abacus-kochka/package.json index a8bec7fccf..02f69c4316 100644 --- a/src/abacus-kochka/package.json +++ b/src/abacus-kochka/package.json @@ -33,8 +33,8 @@ "next-plugin-custom-babel-config": "^1.0.5", "next-seo": "^6.5.0", "next-transpile-modules": "^10.0.1", - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@adeira/babel-preset-adeira": "^4.0.0", diff --git a/src/abacus-tools/package.json b/src/abacus-tools/package.json index 38c6e3aac8..a262e46c82 100644 --- a/src/abacus-tools/package.json +++ b/src/abacus-tools/package.json @@ -14,8 +14,8 @@ "next": "^14.2.5", "next-compose-plugins": "^2.2.1", "next-plugin-custom-babel-config": "^1.0.5", - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@adeira/babel-preset-adeira": "^4.0.0", diff --git a/src/eslint-plugin-sx/package.json b/src/eslint-plugin-sx/package.json index fa417dc12c..f4b95708c3 100644 --- a/src/eslint-plugin-sx/package.json +++ b/src/eslint-plugin-sx/package.json @@ -27,7 +27,7 @@ "@babel/code-frame": "^7.26.2", "eslint": "^8.57.1", "hermes-eslint": "^0.25.1", - "react": "^18.3.1" + "react": "^19.0.0" }, "peerDependencies": { "eslint": "^8.57.1" diff --git a/src/forms/package.json b/src/forms/package.json index dcc59de6f9..781d6f5b56 100644 --- a/src/forms/package.json +++ b/src/forms/package.json @@ -28,7 +28,7 @@ "@adeira/relay": "^9.0.0", "@adeira/sx": "^0.30.0", "@adeira/sx-design": "^0.33.0", - "react": "^18.3.1" + "react": "^19.0.0" }, "scripts": { "fbt:manifest": "fbt-manifest --src=src --src=pages --enum-manifest=translations/enum_manifest.json --src-manifest=translations/src_manifest.json", diff --git a/src/hooks/package.json b/src/hooks/package.json index 44ed2a1ddb..da8b877b98 100644 --- a/src/hooks/package.json +++ b/src/hooks/package.json @@ -17,6 +17,6 @@ "@babel/runtime": "^7.26.0" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } } diff --git a/src/icons/package.json b/src/icons/package.json index 58f44cae99..17b80a3458 100644 --- a/src/icons/package.json +++ b/src/icons/package.json @@ -25,6 +25,6 @@ "prettier": "^2.8.8" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } } diff --git a/src/mrtnzlml-meta/package.json b/src/mrtnzlml-meta/package.json index a4958c1130..35b58ae899 100644 --- a/src/mrtnzlml-meta/package.json +++ b/src/mrtnzlml-meta/package.json @@ -13,8 +13,8 @@ "dependencies": { "@docusaurus/core": "^3.6.3", "@docusaurus/preset-classic": "^3.6.3", - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@playwright/test": "^1.45.0" diff --git a/src/mrtnzlml.com/package.json b/src/mrtnzlml.com/package.json index 66227d567f..054077802f 100644 --- a/src/mrtnzlml.com/package.json +++ b/src/mrtnzlml.com/package.json @@ -14,8 +14,8 @@ "next": "^14.2.5", "next-compose-plugins": "^2.2.1", "next-plugin-custom-babel-config": "^1.0.5", - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@adeira/babel-preset-adeira": "^4.0.0", diff --git a/src/relay/package.json b/src/relay/package.json index a8976eb6af..3d23e5d780 100644 --- a/src/relay/package.json +++ b/src/relay/package.json @@ -25,12 +25,12 @@ "relay-runtime": "^16.2.0" }, "devDependencies": { - "react": "^18.3.1", - "react-test-renderer": "^18.3.1", + "react": "^19.0.0", + "react-test-renderer": "^19.0.0", "relay-test-utils": "^16.2.0" }, "peerDependencies": { "graphql": "^16.9.0", - "react": "^18.3.1" + "react": "^19.0.0" } } diff --git a/src/sx-design-headless/package.json b/src/sx-design-headless/package.json index e7ae77fd88..55d1bcd4be 100644 --- a/src/sx-design-headless/package.json +++ b/src/sx-design-headless/package.json @@ -19,6 +19,6 @@ "@babel/runtime": "^7.26.0" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.0.0" } } diff --git a/src/sx-design/package.json b/src/sx-design/package.json index 0fcbffd2c9..338ee7463c 100644 --- a/src/sx-design/package.json +++ b/src/sx-design/package.json @@ -30,8 +30,8 @@ }, "peerDependencies": { "@adeira/sx": "^0.30.0", - "react": "^18.3.1", - "react-dom": "^18.3.1" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@adeira/babel-preset-adeira": "^4.0.0", @@ -53,8 +53,8 @@ "babel-loader": "^9.2.1", "babel-plugin-fbt": "^1.0.0", "babel-plugin-fbt-runtime": "^1.0.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "storybook": "^8.4.7" }, "scripts": { diff --git a/src/sx-jest-snapshot-serializer/package.json b/src/sx-jest-snapshot-serializer/package.json index 7443e22ea7..6544b26393 100644 --- a/src/sx-jest-snapshot-serializer/package.json +++ b/src/sx-jest-snapshot-serializer/package.json @@ -21,6 +21,6 @@ }, "devDependencies": { "@testing-library/react": "^15.0.7", - "react-test-renderer": "^18.3.1" + "react-test-renderer": "^19.0.0" } } diff --git a/src/sx/package.json b/src/sx/package.json index 385a864fe3..ac2f3a544f 100644 --- a/src/sx/package.json +++ b/src/sx/package.json @@ -26,14 +26,14 @@ "prettier": "^2.8.8" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.0.0" }, "devDependencies": { "@adeira/fixtures-tester": "^1.1.1", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^15.0.7", - "react": "^18.3.1", - "react-test-renderer": "^18.3.1", + "react": "^19.0.0", + "react-test-renderer": "^19.0.0", "snapshot-diff": "^0.10.0" } } diff --git a/src/typescript-test/package.json b/src/typescript-test/package.json index f0ef9a186b..529c218e34 100644 --- a/src/typescript-test/package.json +++ b/src/typescript-test/package.json @@ -12,13 +12,13 @@ "dependencies": { "@playwright/test": "^1.45.0", "@types/node": "^20.17.10", - "@types/react": "^18.3.13", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.2", + "@types/react-dom": "^19.0.2", "eslint": "^8.57.1", "eslint-config-next": "^14.2.5", "next": "^14.2.5", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "typescript": "^5.7.2" } } diff --git a/yarn.lock b/yarn.lock index 8b173c3772..09317f54ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -44,8 +44,8 @@ __metadata: next-plugin-custom-babel-config: "npm:^1.0.5" next-seo: "npm:^6.5.0" next-transpile-modules: "npm:^10.0.1" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" + react: "npm:^19.0.0" + react-dom: "npm:^19.0.0" recoil: "npm:^0.7.7" recoil-sync: "npm:^0.2.0" languageName: unknown @@ -77,8 +77,8 @@ __metadata: next-plugin-custom-babel-config: "npm:^1.0.5" next-seo: "npm:^6.5.0" next-transpile-modules: "npm:^10.0.1" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" + react: "npm:^19.0.0" + react-dom: "npm:^19.0.0" languageName: unknown linkType: soft @@ -101,8 +101,8 @@ __metadata: next: "npm:^14.2.5" next-compose-plugins: "npm:^2.2.1" next-plugin-custom-babel-config: "npm:^1.0.5" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" + react: "npm:^19.0.0" + react-dom: "npm:^19.0.0" languageName: unknown linkType: soft @@ -222,7 +222,7 @@ __metadata: "@adeira/relay": ^9.0.0 "@adeira/sx": ^0.30.0 "@adeira/sx-design": ^0.33.0 - react: ^18.3.1 + react: ^19.0.0 languageName: unknown linkType: soft @@ -232,7 +232,7 @@ __metadata: dependencies: "@babel/runtime": "npm:^7.26.0" peerDependencies: - react: ^18.3.1 + react: ^19.0.0 languageName: unknown linkType: soft @@ -248,7 +248,7 @@ __metadata: change-case: "npm:^4.1.2" prettier: "npm:^2.8.8" peerDependencies: - react: ^18.3.1 + react: ^19.0.0 languageName: unknown linkType: soft @@ -339,8 +339,8 @@ __metadata: next: "npm:^14.2.5" next-compose-plugins: "npm:^2.2.1" next-plugin-custom-babel-config: "npm:^1.0.5" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" + react: "npm:^19.0.0" + react-dom: "npm:^19.0.0" languageName: unknown linkType: soft @@ -359,15 +359,15 @@ __metadata: "@adeira/js": "npm:^2.1.1" "@babel/runtime": "npm:^7.26.0" babel-plugin-relay: "npm:^16.2.0" - react: "npm:^18.3.1" + react: "npm:^19.0.0" react-relay: "npm:^16.2.0" - react-test-renderer: "npm:^18.3.1" + react-test-renderer: "npm:^19.0.0" relay-compiler: "npm:^16.2.0" relay-runtime: "npm:^16.2.0" relay-test-utils: "npm:^16.2.0" peerDependencies: graphql: ^16.9.0 - react: ^18.3.1 + react: ^19.0.0 bin: adeira-relay-compiler: ./bin/compiler.js languageName: unknown @@ -395,7 +395,7 @@ __metadata: "@adeira/js": "npm:^2.1.1" "@babel/runtime": "npm:^7.26.0" peerDependencies: - react: ^18.3.1 + react: ^19.0.0 languageName: unknown linkType: soft @@ -432,16 +432,16 @@ __metadata: flow-enums-runtime: "npm:^0.0.6" focus-trap-react: "npm:^10.3.1" prop-types: "npm:^15.8.1" - react: "npm:^18.3.1" + react: "npm:^19.0.0" react-blurhash: "npm:^0.3.0" react-device-detect: "npm:^2.2.3" - react-dom: "npm:^18.3.1" + react-dom: "npm:^19.0.0" react-table: "npm:^7.8.0" storybook: "npm:^8.4.7" peerDependencies: "@adeira/sx": ^0.30.0 - react: ^18.3.1 - react-dom: ^18.3.1 + react: ^19.0.0 + react-dom: ^19.0.0 languageName: unknown linkType: soft @@ -454,7 +454,7 @@ __metadata: "@testing-library/react": "npm:^15.0.7" prettier: "npm:^2.8.8" pretty-format: "npm:^29.7.0" - react-test-renderer: "npm:^18.3.1" + react-test-renderer: "npm:^19.0.0" languageName: unknown linkType: soft @@ -475,11 +475,11 @@ __metadata: json-stable-stringify: "npm:^1.1.1" mdn-data: "npm:^2.8.0" prettier: "npm:^2.8.8" - react: "npm:^18.3.1" - react-test-renderer: "npm:^18.3.1" + react: "npm:^19.0.0" + react-test-renderer: "npm:^19.0.0" snapshot-diff: "npm:^0.10.0" peerDependencies: - react: ^18.3.1 + react: ^19.0.0 languageName: unknown linkType: soft @@ -489,13 +489,13 @@ __metadata: dependencies: "@playwright/test": "npm:^1.45.0" "@types/node": "npm:^20.17.10" - "@types/react": "npm:^18.3.13" - "@types/react-dom": "npm:^18.3.1" + "@types/react": "npm:^19.0.2" + "@types/react-dom": "npm:^19.0.2" eslint: "npm:^8.57.1" eslint-config-next: "npm:^14.2.5" next: "npm:^14.2.5" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" + react: "npm:^19.0.0" + react-dom: "npm:^19.0.0" typescript: "npm:^5.7.2" languageName: unknown linkType: soft @@ -5884,13 +5884,6 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*": - version: 15.7.3 - resolution: "@types/prop-types@npm:15.7.3" - checksum: 10c0/511aac811bfdba9dd1c463d6e502d852bb2196048cf861fbf48a97d883dd32c1c44ad2127a18dbb49733d9ad0aafd445d673eb50d5547ca843106835f67b5877 - languageName: node - linkType: hard - "@types/qs@npm:*": version: 6.9.14 resolution: "@types/qs@npm:6.9.14" @@ -5905,7 +5898,7 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.3.1": +"@types/react-dom@npm:^18.0.0": version: 18.3.1 resolution: "@types/react-dom@npm:18.3.1" dependencies: @@ -5914,6 +5907,15 @@ __metadata: languageName: node linkType: hard +"@types/react-dom@npm:^19.0.2": + version: 19.0.2 + resolution: "@types/react-dom@npm:19.0.2" + peerDependencies: + "@types/react": ^19.0.0 + checksum: 10c0/3d0c7b78dbe8df64ea769f30af990a5950173a8321c745fe11094d765423f7964c3519dca6e7cd36b4be6521c8efc690bdd3b79b327b229dd1e9d5a8bad677dd + languageName: node + linkType: hard + "@types/react-router-config@npm:*, @types/react-router-config@npm:^5.0.7": version: 5.0.9 resolution: "@types/react-router-config@npm:5.0.9" @@ -5946,13 +5948,12 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^18.3.13": - version: 18.3.13 - resolution: "@types/react@npm:18.3.13" +"@types/react@npm:*, @types/react@npm:^19.0.2": + version: 19.0.2 + resolution: "@types/react@npm:19.0.2" dependencies: - "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/91815e00157deb179fa670aa2dfc491952698b7743ffddca0e3e0f16e7a18454f3f5ef72321a07386c49e721563b9d280dbbdfae039face764e2fdd8ad949d4b + checksum: 10c0/8992f39701fcf1bf893ef8f94a56196445667baf08fe4f6050a14e229a17aad3265ad3efc01595ff3b4d5d5c69da885f9aa4ff80f164a613018734efcff1eb8f languageName: node linkType: hard @@ -10549,7 +10550,7 @@ __metadata: "@babel/runtime": "npm:^7.26.0" eslint: "npm:^8.57.1" hermes-eslint: "npm:^0.25.1" - react: "npm:^18.3.1" + react: "npm:^19.0.0" peerDependencies: eslint: ^8.57.1 languageName: unknown @@ -15858,8 +15859,8 @@ __metadata: "@docusaurus/core": "npm:^3.6.3" "@docusaurus/preset-classic": "npm:^3.6.3" "@playwright/test": "npm:^1.45.0" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" + react: "npm:^19.0.0" + react-dom: "npm:^19.0.0" languageName: unknown linkType: soft @@ -18357,7 +18358,7 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react-dom@npm:^18.3.1": +"react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0": version: 18.3.1 resolution: "react-dom@npm:18.3.1" dependencies: @@ -18369,6 +18370,17 @@ __metadata: languageName: node linkType: hard +"react-dom@npm:^19.0.0": + version: 19.0.0 + resolution: "react-dom@npm:19.0.0" + dependencies: + scheduler: "npm:^0.25.0" + peerDependencies: + react: ^19.0.0 + checksum: 10c0/a36ce7ab507b237ae2759c984cdaad4af4096d8199fb65b3815c16825e5cfeb7293da790a3fc2184b52bfba7ba3ff31c058c01947aff6fd1a3701632aabaa6a9 + languageName: node + linkType: hard + "react-error-boundary@npm:^3.1.0": version: 3.1.0 resolution: "react-error-boundary@npm:3.1.0" @@ -18410,13 +18422,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^16.12.0 || ^17.0.0 || ^18.0.0, react-is@npm:^18.0.0, react-is@npm:^18.3.1": - version: 18.3.1 - resolution: "react-is@npm:18.3.1" - checksum: 10c0/f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072 - languageName: node - linkType: hard - "react-is@npm:^16.13.1, react-is@npm:^16.6.0, react-is@npm:^16.7.0": version: 16.13.1 resolution: "react-is@npm:16.13.1" @@ -18431,6 +18436,20 @@ __metadata: languageName: node linkType: hard +"react-is@npm:^18.0.0": + version: 18.3.1 + resolution: "react-is@npm:18.3.1" + checksum: 10c0/f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072 + languageName: node + linkType: hard + +"react-is@npm:^19.0.0": + version: 19.0.0 + resolution: "react-is@npm:19.0.0" + checksum: 10c0/d1be8e8500cf04f76df71942a21ef3a71266397a383d7ec8885f35190df818d35c65efd35aed7be47a89ad99aaff2c52e0c4e39e8930844a6b997622e50625a8 + languageName: node + linkType: hard + "react-json-view-lite@npm:^1.2.0": version: 1.2.1 resolution: "react-json-view-lite@npm:1.2.1" @@ -18526,18 +18545,6 @@ __metadata: languageName: node linkType: hard -"react-shallow-renderer@npm:^16.15.0": - version: 16.15.0 - resolution: "react-shallow-renderer@npm:16.15.0" - dependencies: - object-assign: "npm:^4.1.1" - react-is: "npm:^16.12.0 || ^17.0.0 || ^18.0.0" - peerDependencies: - react: ^16.0.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/c194d741792e86043a4ae272f7353c1cb9412bc649945c4220c6a101a6ea5410cceb3d65d5a4d750f11a24f7426e8eec7977e8a4e3ad5d3ee235ca2b18166fa8 - languageName: node - linkType: hard - "react-table@npm:^7.8.0": version: 7.8.0 resolution: "react-table@npm:7.8.0" @@ -18547,20 +18554,19 @@ __metadata: languageName: node linkType: hard -"react-test-renderer@npm:^18.3.1": - version: 18.3.1 - resolution: "react-test-renderer@npm:18.3.1" +"react-test-renderer@npm:^19.0.0": + version: 19.0.0 + resolution: "react-test-renderer@npm:19.0.0" dependencies: - react-is: "npm:^18.3.1" - react-shallow-renderer: "npm:^16.15.0" - scheduler: "npm:^0.23.2" + react-is: "npm:^19.0.0" + scheduler: "npm:^0.25.0" peerDependencies: - react: ^18.3.1 - checksum: 10c0/c633558ef9af33bc68f0c4dbb5163a004c4fb9eade7bd0a7cfc0355fb367f36bd9d96533c90b7e85a146be6c525113a15f58683d269e0177ad77e2b04d4fe51c + react: ^19.0.0 + checksum: 10c0/67c34dae4d3a60b9306d2b5cb6db436376ef20c651aaf092644298e3ffb92cd3c7b0da2017e7f1395bf2de8b42429874a5a63e8cc3c21febbab31b0309e41862 languageName: node linkType: hard -"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react@npm:^18.3.1": +"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0": version: 18.3.1 resolution: "react@npm:18.3.1" dependencies: @@ -18569,6 +18575,13 @@ __metadata: languageName: node linkType: hard +"react@npm:^19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471 + languageName: node + linkType: hard + "read-cmd-shim@npm:^4.0.0": version: 4.0.0 resolution: "read-cmd-shim@npm:4.0.0" @@ -19361,6 +19374,13 @@ __metadata: languageName: node linkType: hard +"scheduler@npm:^0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: 10c0/a4bb1da406b613ce72c1299db43759526058fdcc413999c3c3e0db8956df7633acf395cb20eb2303b6a65d658d66b6585d344460abaee8080b4aa931f10eaafe + languageName: node + linkType: hard + "schema-utils@npm:2.7.0": version: 2.7.0 resolution: "schema-utils@npm:2.7.0"