From e81613409803e3794dae8df4f4990c370d040f82 Mon Sep 17 00:00:00 2001 From: xaviergonz Date: Sat, 7 Dec 2024 11:44:42 +0100 Subject: [PATCH] update to react 19 --- apps/site/package.json | 8 ++--- yarn.lock | 69 +++++++++++++++++------------------------- 2 files changed, 32 insertions(+), 45 deletions(-) diff --git a/apps/site/package.json b/apps/site/package.json index bcd44a1f..d9bad74b 100644 --- a/apps/site/package.json +++ b/apps/site/package.json @@ -21,8 +21,8 @@ "mobx-keystone-yjs": "workspace:packages/mobx-keystone-yjs", "mobx-react": "^9.1.1", "nanoid": "^3.3.8", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "remotedev": "^0.2.9", "utf-8-validate": "^6.0.5", "y-webrtc": "^10.3.0" @@ -36,8 +36,8 @@ "@docusaurus/module-type-aliases": "^3.6.3", "@docusaurus/tsconfig": "^3.6.3", "@svgr/webpack": "^8.1.0", - "@types/react": "^18.3.14", - "@types/react-dom": "^18.3.2", + "@types/react": "^19.0.1", + "@types/react-dom": "^19.0.1", "@types/uuid": "^10.0.0", "raw-loader": "^4.0.2", "shx": "^0.3.4", diff --git a/yarn.lock b/yarn.lock index c06a75cd..f8121708 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6083,13 +6083,6 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*": - version: 15.7.13 - resolution: "@types/prop-types@npm:15.7.13" - checksum: 10c0/1b20fc67281902c6743379960247bc161f3f0406ffc0df8e7058745a85ea1538612109db0406290512947f9632fe9e10e7337bf0ce6338a91d6c948df16a7c61 - languageName: node - linkType: hard - "@types/qs@npm:*": version: 6.9.16 resolution: "@types/qs@npm:6.9.16" @@ -6104,12 +6097,12 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.3.2": - version: 18.3.2 - resolution: "@types/react-dom@npm:18.3.2" +"@types/react-dom@npm:^19.0.1": + version: 19.0.1 + resolution: "@types/react-dom@npm:19.0.1" dependencies: - "@types/react": "npm:^18" - checksum: 10c0/22510231af67044a9542633b5b52ec16a8d71fa1da177f82428b8120d36619fd874c3b975b2eda6895baa53667f9fe8cba3acea1232a0244dffe8b11f6b32284 + "@types/react": "npm:*" + checksum: 10c0/fb40069a7c5c70475155dff91d25ff5a51226c14d45c8ad55894480366876426981c8be63ef322486af879bb220bf48443f2344c1a89cb75a47a1a761acee9d3 languageName: node linkType: hard @@ -6145,13 +6138,12 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^18, @types/react@npm:^18.3.14": - version: 18.3.14 - resolution: "@types/react@npm:18.3.14" +"@types/react@npm:*, @types/react@npm:^19.0.1": + version: 19.0.1 + resolution: "@types/react@npm:19.0.1" dependencies: - "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/d925fbfcf084238b93d1a0b5406d4cf9aeb37c4a1191559aa4ee107c2e55cc15327989140f03eddda4d471f5b935d4673fd74a86f451860edea18eae48ca44f8 + checksum: 10c0/25eb69114abb9a6d5fc4414ee584388275bbc9ac32976449cf58b95fe9880efe6b3f936c3842be9bed8c571546a9752e8d3e2095288381e9c809269f5f574f2e languageName: node linkType: hard @@ -14370,7 +14362,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.2.0, loose-envify@npm:^1.3.1, loose-envify@npm:^1.4.0": +"loose-envify@npm:^1.0.0, loose-envify@npm:^1.2.0, loose-envify@npm:^1.3.1, loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -18607,15 +18599,14 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^18.3.1": - version: 18.3.1 - resolution: "react-dom@npm:18.3.1" +"react-dom@npm:^19.0.0": + version: 19.0.0 + resolution: "react-dom@npm:19.0.0" dependencies: - loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.2" + scheduler: "npm:^0.25.0" peerDependencies: - react: ^18.3.1 - checksum: 10c0/a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85 + react: ^19.0.0 + checksum: 10c0/a36ce7ab507b237ae2759c984cdaad4af4096d8199fb65b3815c16825e5cfeb7293da790a3fc2184b52bfba7ba3ff31c058c01947aff6fd1a3701632aabaa6a9 languageName: node linkType: hard @@ -18763,12 +18754,10 @@ __metadata: languageName: node linkType: hard -"react@npm:^18.3.1": - version: 18.3.1 - resolution: "react@npm:18.3.1" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10c0/283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3 +"react@npm:^19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471 languageName: node linkType: hard @@ -19585,12 +19574,10 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.2": - version: 0.23.2 - resolution: "scheduler@npm:0.23.2" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10c0/26383305e249651d4c58e6705d5f8425f153211aef95f15161c151f7b8de885f24751b377e4a0b3dd42cce09aad3f87a61dab7636859c0d89b7daf1a1e2a5c78 +"scheduler@npm:^0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: 10c0/a4bb1da406b613ce72c1299db43759526058fdcc413999c3c3e0db8956df7633acf395cb20eb2303b6a65d658d66b6585d344460abaee8080b4aa931f10eaafe languageName: node linkType: hard @@ -19995,8 +19982,8 @@ __metadata: "@iframe-resizer/child": "npm:^5.3.2" "@iframe-resizer/react": "npm:^5.3.2" "@svgr/webpack": "npm:^8.1.0" - "@types/react": "npm:^18.3.14" - "@types/react-dom": "npm:^18.3.2" + "@types/react": "npm:^19.0.1" + "@types/react-dom": "npm:^19.0.1" "@types/uuid": "npm:^10.0.0" bootstrap-icons: "npm:^1.11.3" bufferutil: "npm:^4.0.8" @@ -20005,8 +19992,8 @@ __metadata: mobx-react: "npm:^9.1.1" nanoid: "npm:^3.3.8" raw-loader: "npm:^4.0.2" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" + react: "npm:^19.0.0" + react-dom: "npm:^19.0.0" remotedev: "npm:^0.2.9" shx: "npm:^0.3.4" typescript: "npm:^5.7.2"