chore: Bump React to 18.3+ (#35029)

* Bump react and react-dom to 18.3+.

* Add tailwind to ui package to silence a peer dep warning.
This commit is contained in:
Ivan Vasilov
2025-04-15 17:07:53 +02:00
committed by GitHub
parent 3bae4ccdd0
commit eadff19571
11 changed files with 1272 additions and 1235 deletions

View File

@@ -26,9 +26,9 @@
"next": "catalog:",
"next-contentlayer2": "0.4.6",
"next-themes": "^0.3.0",
"react": "^18.2.0",
"react": "catalog:",
"react-docgen": "^7.0.3",
"react-dom": "^18.2.0",
"react-dom": "catalog:",
"react-hook-form": "^7.45.0",
"react-inlinesvg": "^4.0.4",
"react-wrap-balancer": "^1.1.0",
@@ -49,8 +49,8 @@
"devDependencies": {
"@shikijs/compat": "^1.1.7",
"@types/lodash.template": "4.5.0",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.22",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"autoprefixer": "^10.0.1",
"config": "workspace:^",
"mdast-util-toc": "^6.1.1",

View File

@@ -83,9 +83,9 @@
"nuqs": "^1.19.1",
"openai": "^4.20.1",
"openapi-fetch": "0.12.4",
"react": "^18.2.0",
"react": "catalog:",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-dom": "catalog:",
"react-error-boundary": "^4.0.12",
"react-intersection-observer": "^9.5.3",
"react-markdown": "^8.0.3",
@@ -118,8 +118,9 @@
"@types/jsrsasign": "^10.5.12",
"@types/mdast": "^3.0.0",
"@types/node": "catalog:",
"@types/react": "^18.2.24",
"@types/react": "catalog:",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "catalog:",
"@types/unist": "^2.0.6",
"api-types": "workspace:*",
"cheerio": "^1.0.0-rc.12",

View File

@@ -92,7 +92,7 @@
"path-to-regexp": "^8.0.0",
"pg-minify": "^1.6.3",
"randombytes": "^2.1.0",
"react": "^18.2.0",
"react": "catalog:",
"react-beautiful-dnd": "^13.1.0",
"react-contexify": "^5.0.0",
"react-copy-to-clipboard": "^5.1.0",
@@ -100,7 +100,7 @@
"react-datepicker": "^4.18.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.2.0",
"react-dom": "catalog:",
"react-error-boundary": "^4.0.13",
"react-grid-layout": "^1.4.2",
"react-hook-form": "^7.45.0",
@@ -149,11 +149,11 @@
"@types/node": "catalog:",
"@types/papaparse": "^5.3.1",
"@types/randombytes": "^2.0.3",
"@types/react": "^18.2.24",
"@types/react": "catalog:",
"@types/react-beautiful-dnd": "^13.1.2",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-datepicker": "^4.3.4",
"@types/react-dom": "^18.2.8",
"@types/react-dom": "catalog:",
"@types/react-grid-layout": "^1.3.0",
"@types/react-simple-maps": "^3.0.1",
"@types/react-virtualized-auto-sizer": "^1.0.1",

View File

@@ -35,9 +35,9 @@
"next": "catalog:",
"next-contentlayer2": "0.4.6",
"next-themes": "^0.3.0",
"react": "^18.2.0",
"react": "catalog:",
"react-docgen": "^7.0.3",
"react-dom": "^18.2.0",
"react-dom": "catalog:",
"react-inlinesvg": "^4.0.4",
"react-wrap-balancer": "^1.1.0",
"rehype-autolink-headings": "^7.1.0",
@@ -60,8 +60,8 @@
"@tanstack/react-router": "^1.114.27",
"@tanstack/react-start": "^1.114.25",
"@types/lodash": "^4.17.16",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.22",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"autoprefixer": "^10.0.1",
"config": "workspace:^",
"lodash": "^4.17.21",

View File

@@ -58,10 +58,10 @@
"next-themes": "^0.3.0",
"openai": "^4.20.1",
"parse-numeric-range": "^1.3.0",
"react": "^18.2.0",
"react": "catalog:",
"react-copy-to-clipboard": "^5.1.0",
"react-countdown": "^2.3.5",
"react-dom": "^18.2.0",
"react-dom": "catalog:",
"react-markdown": "^8.0.3",
"react-syntax-highlighter": "^15.5.0",
"react-transition-group": "^4.4.1",
@@ -90,9 +90,9 @@
"@types/lodash": "^4.0.0",
"@types/mdx-js__react": "^1.5.6",
"@types/parse-numeric-range": "^0.0.1",
"@types/react": "^18.2.24",
"@types/react": "catalog:",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^18.2.8",
"@types/react-dom": "catalog:",
"@types/react-syntax-highlighter": "^15.5.6",
"@types/three": "^0.169.0",
"@types/uuid": "^9.0.8",

View File

@@ -22,8 +22,8 @@
},
"devDependencies": {
"@types/lodash": "4.17.5",
"@types/react": "^18.2.24",
"@types/react-dom": "^18.2.8",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"tsconfig": "workspace:*",
"typescript": "~5.5.0"
},
@@ -31,7 +31,7 @@
"@supabase/auth-js": "catalog:",
"@supabase/supabase-js": "catalog:",
"next": "catalog:",
"react": "*",
"react-dom": "*"
"react": "catalog:",
"react-dom": "catalog:"
}
}

View File

@@ -11,9 +11,9 @@
"@supabase/build-icons": "workspace:*"
},
"devDependencies": {
"@types/react": "^18.2.24"
"@types/react": "catalog:"
},
"peerDependencies": {
"react": "*"
"react": "catalog:"
}
}

View File

@@ -28,7 +28,9 @@
"monaco-editor": "*",
"next-themes": "*",
"openai": "^4.20.1",
"react": "catalog:",
"react-countdown": "^2.3.5",
"react-dom": "catalog:",
"react-error-boundary": "^4.0.12",
"react-hook-form": "^7.45.0",
"react-intersection-observer": "^9.8.2",
@@ -58,8 +60,8 @@
"@types/lodash": "^4.17.5",
"@types/mdast": "^3.0.0",
"@types/node": "catalog:",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"api-types": "workspace:*",
"next-router-mock": "^0.9.13",
"typescript": "~5.5.0",
@@ -69,8 +71,6 @@
"vitest": "^3.0.5"
},
"peerDependencies": {
"next": "catalog:",
"react": "*",
"react-dom": "*"
"next": "*"
}
}

View File

@@ -62,9 +62,11 @@
"next-themes": "^0.3.0",
"prism-react-renderer": "^2.3.1",
"prop-types": "^15.7.2",
"react": "catalog:",
"react-accessible-treeview": "^2.8.3",
"react-copy-to-clipboard": "^5.1.0",
"react-day-picker": "^8.8.0",
"react-dom": "catalog:",
"react-hook-form": "^7.45.0",
"react-intersection-observer": "^9.8.2",
"react-medium-image-zoom": "^5.2.4",
@@ -73,6 +75,7 @@
"recharts": "^2.12.7",
"sonner": "^1.5.0",
"tailwind-merge": "^1.13.2",
"tailwindcss": "^3.4.1",
"vaul": "^0.9.1"
},
"devDependencies": {
@@ -81,9 +84,9 @@
"@testing-library/react": "^14.0.0",
"@types/lodash": "4.17.5",
"@types/node": "catalog:",
"@types/react": "^18.2.24",
"@types/react": "catalog:",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^18.2.8",
"@types/react-dom": "catalog:",
"@types/react-syntax-highlighter": "^15.5.6",
"common": "workspace:*",
"config": "workspace:*",
@@ -95,8 +98,6 @@
"vitest": "^3.0.5"
},
"peerDependencies": {
"next": "catalog:",
"react": "*",
"react-dom": "*"
"next": "catalog:"
}
}

2431
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,3 +9,7 @@ catalog:
'@supabase/supabase-js': ^2.47.14
'@supabase/realtime-js': ^2.11.3
next: 14.2.26
'react': '^18.3.0'
'react-dom': '^18.3.0'
'@types/react': '^18.3.0'
'@types/react-dom': '^18.3.0'