From 6ce4ba1e08cd2c35dae8a26e906b75fa70f55014 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 22:28:58 +0000 Subject: [PATCH] Update react monorepo to v19 --- app/package.json | 2 +- docs/package.json | 8 +- package.json | 8 +- packages/components/package.json | 8 +- packages/core/package.json | 8 +- packages/elements/package.json | 8 +- packages/svg/package.json | 8 +- packages/vite-plugin/package.json | 4 +- yarn.lock | 150 +++++++++++++++++------------- 9 files changed, 111 insertions(+), 93 deletions(-) diff --git a/app/package.json b/app/package.json index 7774ae7..fc53be1 100644 --- a/app/package.json +++ b/app/package.json @@ -19,7 +19,7 @@ "expo-screen-orientation": "~8.0.0", "expo-splash-screen": "~0.29.13", "expo-status-bar": "~2.0.0", - "react": "18.3.1", + "react": "19.0.0", "react-native": "0.76.3", "react-native-safe-area-context": "4.12.0", "react-native-svg": "15.8.0", diff --git a/docs/package.json b/docs/package.json index a1da39f..4968802 100644 --- a/docs/package.json +++ b/docs/package.json @@ -13,14 +13,14 @@ "@react-universal/core": "workspace:*", "@react-universal/elements": "workspace:*", "next": "^15.0.3", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "react-native": "0.76.3" }, "devDependencies": { "@types/node": "^22.10.1", - "@types/react": "~18.3.12", - "@types/react-dom": "~18.3.1", + "@types/react": "~19.0.0", + "@types/react-dom": "~19.0.0", "typescript": "~5.7.2" } } diff --git a/package.json b/package.json index ec8687d..680635f 100644 --- a/package.json +++ b/package.json @@ -22,16 +22,16 @@ "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", - "@types/react": "~18.3.12", + "@types/react": "~19.0.0", "@vitest/browser": "^2.1.8", "jsdom": "^25.0.1", "lefthook": "^1.8.5", "playwright": "^1.49.0", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "react-native": "0.76.3", "react-native-unistyles": "^2.20.0", - "react-test-renderer": "18.3.1", + "react-test-renderer": "19.0.0", "rimraf": "^6.0.1", "storybook": "^8.4.6", "tsup": "^8.3.5", diff --git a/packages/components/package.json b/packages/components/package.json index 1b7d429..d7bb3d8 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -43,13 +43,13 @@ "@tamagui/compose-refs": "^1.118.1" }, "devDependencies": { - "@types/react": "~18.3.12", - "react": "18.3.1", + "@types/react": "~19.0.0", + "react": "19.0.0", "react-native": "0.76.3" }, "peerDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", + "@types/react": "^18.2.0 || ^19.0.0", + "react": "^18.2.0 || ^19.0.0", "react-native": ">=0.76.0" }, "peerDependenciesMeta": { diff --git a/packages/core/package.json b/packages/core/package.json index 2c30169..a604ff1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -36,14 +36,14 @@ "@tamagui/react-native-use-responder-events": "^1.118.1" }, "devDependencies": { - "@types/react": "~18.3.12", - "react": "18.3.1", + "@types/react": "~19.0.0", + "react": "19.0.0", "react-native": "0.76.3", "react-native-unistyles": "^2.20.0" }, "peerDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", + "@types/react": "^18.2.0 || ^19.0.0", + "react": "^18.2.0 || ^19.0.0", "react-native": ">=0.76.0", "react-native-unistyles": "^2.20.0" }, diff --git a/packages/elements/package.json b/packages/elements/package.json index 7819d2f..eedd591 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -29,13 +29,13 @@ "@react-universal/core": "workspace:*" }, "devDependencies": { - "@types/react": "~18.3.12", - "react": "18.3.1", + "@types/react": "~19.0.0", + "react": "19.0.0", "react-native": "0.76.3" }, "peerDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", + "@types/react": "^18.2.0 || ^19.0.0", + "react": "^18.2.0 || ^19.0.0", "react-native": ">=0.76.0" }, "peerDependenciesMeta": { diff --git a/packages/svg/package.json b/packages/svg/package.json index 35e3ea1..a398c82 100644 --- a/packages/svg/package.json +++ b/packages/svg/package.json @@ -29,14 +29,14 @@ "@react-universal/utils": "workspace:*" }, "devDependencies": { - "@types/react": "~18.3.12", - "react": "18.3.1", + "@types/react": "~19.0.0", + "react": "19.0.0", "react-native": "0.76.3", "react-native-svg": "15.8.0" }, "peerDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", + "@types/react": "^18.2.0 || ^19.0.0", + "react": "^18.2.0 || ^19.0.0", "react-native": ">=0.76.0", "react-native-svg": "^15.0.0" }, diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json index 15f737f..d8ad07e 100644 --- a/packages/vite-plugin/package.json +++ b/packages/vite-plugin/package.json @@ -39,11 +39,11 @@ "@react-universal/core": "workspace:*" }, "devDependencies": { - "react": "18.3.1", + "react": "19.0.0", "vite": "^5.4.11" }, "peerDependencies": { - "react": "^18.2.0", + "react": "^18.2.0 || ^19.0.0", "vite": "^5.0.0" } } diff --git a/yarn.lock b/yarn.lock index b23337b..62f493b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3611,7 +3611,7 @@ __metadata: expo-screen-orientation: "npm:~8.0.0" expo-splash-screen: "npm:~0.29.13" expo-status-bar: "npm:~2.0.0" - react: "npm:18.3.1" + react: "npm:19.0.0" react-native: "npm:0.76.3" react-native-safe-area-context: "npm:4.12.0" react-native-svg: "npm:15.8.0" @@ -3627,12 +3627,12 @@ __metadata: "@floating-ui/react-native": "npm:^0.10.7" "@react-universal/core": "workspace:*" "@tamagui/compose-refs": "npm:^1.118.1" - "@types/react": "npm:~18.3.12" - react: "npm:18.3.1" + "@types/react": "npm:~19.0.0" + react: "npm:19.0.0" react-native: "npm:0.76.3" peerDependencies: - "@types/react": ^18.2.0 - react: ^18.2.0 + "@types/react": ^18.2.0 || ^19.0.0 + react: ^18.2.0 || ^19.0.0 react-native: ">=0.76.0" peerDependenciesMeta: "@types/react": @@ -3653,13 +3653,13 @@ __metadata: "@react-universal/utils": "workspace:*" "@tamagui/constants": "npm:^1.118.1" "@tamagui/react-native-use-responder-events": "npm:^1.118.1" - "@types/react": "npm:~18.3.12" - react: "npm:18.3.1" + "@types/react": "npm:~19.0.0" + react: "npm:19.0.0" react-native: "npm:0.76.3" react-native-unistyles: "npm:^2.20.0" peerDependencies: - "@types/react": ^18.2.0 - react: ^18.2.0 + "@types/react": ^18.2.0 || ^19.0.0 + react: ^18.2.0 || ^19.0.0 react-native: ">=0.76.0" react-native-unistyles: ^2.20.0 peerDependenciesMeta: @@ -3678,11 +3678,11 @@ __metadata: "@react-universal/core": "workspace:*" "@react-universal/elements": "workspace:*" "@types/node": "npm:^22.10.1" - "@types/react": "npm:~18.3.12" - "@types/react-dom": "npm:~18.3.1" + "@types/react": "npm:~19.0.0" + "@types/react-dom": "npm:~19.0.0" next: "npm:^15.0.3" - react: "npm:18.3.1" - react-dom: "npm:18.3.1" + react: "npm:19.0.0" + react-dom: "npm:19.0.0" react-native: "npm:0.76.3" typescript: "npm:~5.7.2" languageName: unknown @@ -3694,12 +3694,12 @@ __metadata: dependencies: "@react-universal/components": "workspace:*" "@react-universal/core": "workspace:*" - "@types/react": "npm:~18.3.12" - react: "npm:18.3.1" + "@types/react": "npm:~19.0.0" + react: "npm:19.0.0" react-native: "npm:0.76.3" peerDependencies: - "@types/react": ^18.2.0 - react: ^18.2.0 + "@types/react": ^18.2.0 || ^19.0.0 + react: ^18.2.0 || ^19.0.0 react-native: ">=0.76.0" peerDependenciesMeta: "@types/react": @@ -3713,13 +3713,13 @@ __metadata: dependencies: "@react-universal/core": "workspace:*" "@react-universal/utils": "workspace:*" - "@types/react": "npm:~18.3.12" - react: "npm:18.3.1" + "@types/react": "npm:~19.0.0" + react: "npm:19.0.0" react-native: "npm:0.76.3" react-native-svg: "npm:15.8.0" peerDependencies: - "@types/react": ^18.2.0 - react: ^18.2.0 + "@types/react": ^18.2.0 || ^19.0.0 + react: ^18.2.0 || ^19.0.0 react-native: ">=0.76.0" react-native-svg: ^15.0.0 peerDependenciesMeta: @@ -3743,10 +3743,10 @@ __metadata: "@pigment-css/react": "npm:^0.0.28" "@pigment-css/vite-plugin": "npm:^0.0.28" "@react-universal/core": "workspace:*" - react: "npm:18.3.1" + react: "npm:19.0.0" vite: "npm:^5.4.11" peerDependencies: - react: ^18.2.0 + react: ^18.2.0 || ^19.0.0 vite: ^5.0.0 languageName: unknown linkType: soft @@ -4500,29 +4500,28 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*, @types/prop-types@npm:^15.7.13": +"@types/prop-types@npm:^15.7.13": version: 15.7.13 resolution: "@types/prop-types@npm:15.7.13" checksum: 10c0/1b20fc67281902c6743379960247bc161f3f0406ffc0df8e7058745a85ea1538612109db0406290512947f9632fe9e10e7337bf0ce6338a91d6c948df16a7c61 languageName: node linkType: hard -"@types/react-dom@npm:~18.3.1": - version: 18.3.1 - resolution: "@types/react-dom@npm:18.3.1" +"@types/react-dom@npm:~19.0.0": + version: 19.0.0 + resolution: "@types/react-dom@npm:19.0.0" dependencies: "@types/react": "npm:*" - checksum: 10c0/8b416551c60bb6bd8ec10e198c957910cfb271bc3922463040b0d57cf4739cdcd24b13224f8d68f10318926e1ec3cd69af0af79f0291b599a992f8c80d47f1eb + checksum: 10c0/bd480fc4a9c801fc6bbc7d26b37bb815fc382e76b5428511b1bdb2e8048f3dbd2ff9973bafc86b448e0593f9da4c02f7b39d47409e427daeed5a54f045de4596 languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:~18.3.12": - version: 18.3.12 - resolution: "@types/react@npm:18.3.12" +"@types/react@npm:*, @types/react@npm:~19.0.0": + version: 19.0.0 + resolution: "@types/react@npm:19.0.0" dependencies: - "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/8bae8d9a41619804561574792e29112b413044eb0d53746dde2b9720c1f9a59f71c895bbd7987cd8ce9500b00786e53bc032dced38cddf42910458e145675290 + checksum: 10c0/d7753ec27c5fa48f3aab97d7d4e9e33ad62bbff761a421bfc56c7b403fab9e3ed266d47793e44311ca2f0034e8ae428cea4aecbe1c542b418cfe72a520eab931 languageName: node linkType: hard @@ -10597,7 +10596,18 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:18.3.1, react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0": +"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-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0": version: 18.3.1 resolution: "react-dom@npm:18.3.1" dependencies: @@ -10609,13 +10619,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.7.0": version: 16.13.1 resolution: "react-is@npm:16.13.1" @@ -10630,6 +10633,20 @@ __metadata: languageName: node linkType: hard +"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:^19.0.0": + version: 19.0.0 + resolution: "react-is@npm:19.0.0" + checksum: 10c0/d1be8e8500cf04f76df71942a21ef3a71266397a383d7ec8885f35190df818d35c65efd35aed7be47a89ad99aaff2c52e0c4e39e8930844a6b997622e50625a8 + languageName: node + linkType: hard + "react-native-safe-area-context@npm:4.12.0": version: 4.12.0 resolution: "react-native-safe-area-context@npm:4.12.0" @@ -10736,28 +10753,15 @@ __metadata: languageName: node linkType: hard -"react-shallow-renderer@npm:^16.15.0": - version: 16.15.0 - resolution: "react-shallow-renderer@npm:16.15.0" +"react-test-renderer@npm:19.0.0": + version: 19.0.0 + resolution: "react-test-renderer@npm:19.0.0" dependencies: - object-assign: "npm:^4.1.1" - react-is: "npm:^16.12.0 || ^17.0.0 || ^18.0.0" + react-is: "npm:^19.0.0" + scheduler: "npm:^0.25.0" peerDependencies: - react: ^16.0.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/c194d741792e86043a4ae272f7353c1cb9412bc649945c4220c6a101a6ea5410cceb3d65d5a4d750f11a24f7426e8eec7977e8a4e3ad5d3ee235ca2b18166fa8 - languageName: node - linkType: hard - -"react-test-renderer@npm:18.3.1": - version: 18.3.1 - resolution: "react-test-renderer@npm:18.3.1" - dependencies: - react-is: "npm:^18.3.1" - react-shallow-renderer: "npm:^16.15.0" - scheduler: "npm:^0.23.2" - peerDependencies: - react: ^18.3.1 - checksum: 10c0/c633558ef9af33bc68f0c4dbb5163a004c4fb9eade7bd0a7cfc0355fb367f36bd9d96533c90b7e85a146be6c525113a15f58683d269e0177ad77e2b04d4fe51c + react: ^19.0.0 + checksum: 10c0/67c34dae4d3a60b9306d2b5cb6db436376ef20c651aaf092644298e3ffb92cd3c7b0da2017e7f1395bf2de8b42429874a5a63e8cc3c21febbab31b0309e41862 languageName: node linkType: hard @@ -10773,16 +10777,16 @@ __metadata: "@testing-library/dom": "npm:^10.4.0" "@testing-library/jest-dom": "npm:^6.6.3" "@testing-library/react": "npm:^16.0.1" - "@types/react": "npm:~18.3.12" + "@types/react": "npm:~19.0.0" "@vitest/browser": "npm:^2.1.8" jsdom: "npm:^25.0.1" lefthook: "npm:^1.8.5" playwright: "npm:^1.49.0" - react: "npm:18.3.1" - react-dom: "npm:18.3.1" + react: "npm:19.0.0" + react-dom: "npm:19.0.0" react-native: "npm:0.76.3" react-native-unistyles: "npm:^2.20.0" - react-test-renderer: "npm:18.3.1" + react-test-renderer: "npm:19.0.0" rimraf: "npm:^6.0.1" storybook: "npm:^8.4.6" tsup: "npm:^8.3.5" @@ -10792,7 +10796,14 @@ __metadata: languageName: unknown linkType: soft -"react@npm:18.3.1, react@npm:^16.8.0 || ^17.0.0 || ^18.0.0": +"react@npm:19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471 + languageName: node + linkType: hard + +"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0": version: 18.3.1 resolution: "react@npm:18.3.1" dependencies: @@ -11279,6 +11290,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 + "selfsigned@npm:^2.4.1": version: 2.4.1 resolution: "selfsigned@npm:2.4.1"