Update react monorepo to v18

This commit is contained in:
Kasper Juul Hermansen 2022-10-26 07:33:30 +00:00
parent 4fddbe60d5
commit 80df748422
2 changed files with 118 additions and 80 deletions

View File

@ -7,8 +7,8 @@
},
"dependencies": {
"next": "latest",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "17.0.4",

View File

@ -8,16 +8,16 @@ specifiers:
postcss: ^8.4.5
prettier: ^2.6.2
prettier-plugin-tailwindcss: ^0.1.1
react: ^17.0.2
react-dom: ^17.0.2
react: 18.2.0
react-dom: 18.2.0
sass: ^1.50.1
tailwindcss: ^3.0.7
typescript: 4.5.4
dependencies:
next: 12.1.5_b87f661d11de3633273d58c9869b3544
react: 17.0.2
react-dom: 17.0.2_react@17.0.2
next: 13.0.0_4887d973f4f87041e71dff85026c595f
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
devDependencies:
'@types/node': 17.0.4
@ -32,12 +32,12 @@ devDependencies:
packages:
/@next/env/12.1.5:
resolution: {integrity: sha512-+34yUJslfJi7Lyx6ELuN8nWcOzi27izfYnZIC1Dqv7kmmfiBVxgzR3BXhlvEMTKC2IRJhXVs2FkMY+buQe3k7Q==}
/@next/env/13.0.0:
resolution: {integrity: sha512-65v9BVuah2Mplohm4+efsKEnoEuhmlGm8B2w6vD1geeEP2wXtlSJCvR/cCRJ3fD8wzCQBV41VcMBQeYET6MRkg==}
dev: false
/@next/swc-android-arm-eabi/12.1.5:
resolution: {integrity: sha512-SKnGTdYcoN04Y2DvE0/Y7/MjkA+ltsmbuH/y/hR7Ob7tsj+8ZdOYuk+YvW1B8dY20nDPHP58XgDTSm2nA8BzzA==}
/@next/swc-android-arm-eabi/13.0.0:
resolution: {integrity: sha512-+DUQkYF93gxFjWY+CYWE1QDX6gTgnUiWf+W4UqZjM1Jcef8U97fS6xYh+i+8rH4MM0AXHm7OSakvfOMzmjU6VA==}
engines: {node: '>= 10'}
cpu: [arm]
os: [android]
@ -45,8 +45,8 @@ packages:
dev: false
optional: true
/@next/swc-android-arm64/12.1.5:
resolution: {integrity: sha512-YXiqgQ/9Rxg1dXp6brXbeQM1JDx9SwUY/36JiE+36FXqYEmDYbxld9qkX6GEzkc5rbwJ+RCitargnzEtwGW0mw==}
/@next/swc-android-arm64/13.0.0:
resolution: {integrity: sha512-RW9Uy3bMSc0zVGCa11klFuwfP/jdcdkhdruqnrJ7v+7XHm6OFKkSRzX6ee7yGR1rdDZvTnP4GZSRSpzjLv/N0g==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [android]
@ -54,8 +54,8 @@ packages:
dev: false
optional: true
/@next/swc-darwin-arm64/12.1.5:
resolution: {integrity: sha512-y8mhldb/WFZ6lFeowkGfi0cO/lBdiBqDk4T4LZLvCpoQp4Or/NzUN6P5NzBQZ5/b4oUHM/wQICEM+1wKA4qIVw==}
/@next/swc-darwin-arm64/13.0.0:
resolution: {integrity: sha512-APA26nps1j4qyhOIzkclW/OmgotVHj1jBxebSpMCPw2rXfiNvKNY9FA0TcuwPmUCNqaTnm703h6oW4dvp73A4Q==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@ -63,8 +63,8 @@ packages:
dev: false
optional: true
/@next/swc-darwin-x64/12.1.5:
resolution: {integrity: sha512-wqJ3X7WQdTwSGi0kIDEmzw34QHISRIQ5uvC+VXmsIlCPFcMA+zM5723uh8NfuKGquDMiEMS31a83QgkuHMYbwQ==}
/@next/swc-darwin-x64/13.0.0:
resolution: {integrity: sha512-qsUhUdoFuRJiaJ7LnvTQ6GZv1QnMDcRXCIjxaN0FNVXwrjkq++U7KjBUaxXkRzLV4C7u0NHLNOp0iZwNNE7ypw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@ -72,8 +72,17 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm-gnueabihf/12.1.5:
resolution: {integrity: sha512-WnhdM5duONMvt2CncAl+9pim0wBxDS2lHoo7ub/o/i1bRbs11UTzosKzEXVaTDCUkCX2c32lIDi1WcN2ZPkcdw==}
/@next/swc-freebsd-x64/13.0.0:
resolution: {integrity: sha512-sCdyCbboS7CwdnevKH9J6hkJI76LUw1jVWt4eV7kISuLiPba3JmehZSWm80oa4ADChRVAwzhLAo2zJaYRrInbg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [freebsd]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-arm-gnueabihf/13.0.0:
resolution: {integrity: sha512-/X/VxfFA41C9jrEv+sUsPLQ5vbDPVIgG0CJrzKvrcc+b+4zIgPgtfsaWq9ockjHFQi3ycvlZK4TALOXO8ovQ6Q==}
engines: {node: '>= 10'}
cpu: [arm]
os: [linux]
@ -81,8 +90,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-gnu/12.1.5:
resolution: {integrity: sha512-Jq2H68yQ4bLUhR/XQnbw3LDW0GMQn355qx6rU36BthDLeGue7YV7MqNPa8GKvrpPocEMW77nWx/1yI6w6J07gw==}
/@next/swc-linux-arm64-gnu/13.0.0:
resolution: {integrity: sha512-x6Oxr1GIi0ZtNiT6jbw+JVcbEi3UQgF7mMmkrgfL4mfchOwXtWSHKTSSPnwoJWJfXYa0Vy1n8NElWNTGAqoWFw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -90,8 +99,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-musl/12.1.5:
resolution: {integrity: sha512-KgPjwdbhDqXI7ghNN8V/WAiLquc9Ebe8KBrNNEL0NQr+yd9CyKJ6KqjayVkmX+hbHzbyvbui/5wh/p3CZQ9xcQ==}
/@next/swc-linux-arm64-musl/13.0.0:
resolution: {integrity: sha512-SnMH9ngI+ipGh3kqQ8+mDtWunirwmhQnQeZkEq9e/9Xsgjf04OetqrqRHKM1HmJtG2qMUJbyXFJ0F81TPuT+3g==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -99,8 +108,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-gnu/12.1.5:
resolution: {integrity: sha512-O2ErUTvCJ6DkNTSr9pbu1n3tcqykqE/ebty1rwClzIYdOgpB3T2MfEPP+K7GhUR87wmN/hlihO9ch7qpVFDGKw==}
/@next/swc-linux-x64-gnu/13.0.0:
resolution: {integrity: sha512-VSQwTX9EmdbotArtA1J67X8964oQfe0xHb32x4tu+JqTR+wOHyG6wGzPMdXH2oKAp6rdd7BzqxUXXf0J+ypHlw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -108,8 +117,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-musl/12.1.5:
resolution: {integrity: sha512-1eIlZmlO/VRjxxzUBcVosf54AFU3ltAzHi+BJA+9U/lPxCYIsT+R4uO3QksRzRjKWhVQMRjEnlXyyq5SKJm7BA==}
/@next/swc-linux-x64-musl/13.0.0:
resolution: {integrity: sha512-xBCP0nnpO0q4tsytXkvIwWFINtbFRyVY5gxa1zB0vlFtqYR9lNhrOwH3CBrks3kkeaePOXd611+8sjdUtrLnXA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -117,8 +126,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-arm64-msvc/12.1.5:
resolution: {integrity: sha512-oromsfokbEuVb0CBLLE7R9qX3KGXucZpsojLpzUh1QJjuy1QkrPJncwr8xmWQnwgtQ6ecMWXgXPB+qtvizT9Tw==}
/@next/swc-win32-arm64-msvc/13.0.0:
resolution: {integrity: sha512-NutwDafqhGxqPj/eiUixJq9ImS/0sgx6gqlD7jRndCvQ2Q8AvDdu1+xKcGWGNnhcDsNM/n1avf1e62OG1GaqJg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@ -126,8 +135,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-ia32-msvc/12.1.5:
resolution: {integrity: sha512-a/51L5KzBpeZSW9LbekMo3I3Cwul+V+QKwbEIMA+Qwb2qrlcn1L9h3lt8cHqNTFt2y72ce6aTwDTw1lyi5oIRA==}
/@next/swc-win32-ia32-msvc/13.0.0:
resolution: {integrity: sha512-zNaxaO+Kl/xNz02E9QlcVz0pT4MjkXGDLb25qxtAzyJL15aU0+VjjbIZAYWctG59dvggNIUNDWgoBeVTKB9xLg==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@ -135,8 +144,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-x64-msvc/12.1.5:
resolution: {integrity: sha512-/SoXW1Ntpmpw3AXAzfDRaQidnd8kbZ2oSni8u5z0yw6t4RwJvmdZy1eOaAADRThWKV+2oU90++LSnXJIwBRWYQ==}
/@next/swc-win32-x64-msvc/13.0.0:
resolution: {integrity: sha512-FFOGGWwTCRMu9W7MF496Urefxtuo2lttxF1vwS+1rIRsKvuLrWhVaVTj3T8sf2EBL6gtJbmh4TYlizS+obnGKA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@ -165,6 +174,12 @@ packages:
fastq: 1.13.0
dev: true
/@swc/helpers/0.4.11:
resolution: {integrity: sha512-rEUrBSGIoSFuYxwBYtlUFMlE2CwGhmW+w9355/5oduSw8e5h2+Tj4UrAGNNgP9915++wj5vkQo0UuOBqOAq4nw==}
dependencies:
tslib: 2.4.0
dev: false
/@types/node/17.0.4:
resolution: {integrity: sha512-6xwbrW4JJiJLgF+zNypN5wr2ykM9/jHcL7rQ8fZe2vuftggjzZeRSM4OwRc6Xk8qWjwJ99qVHo/JgOGmomWRog==}
dev: true
@ -249,7 +264,7 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
caniuse-lite: 1.0.30001332
caniuse-lite: 1.0.30001425
electron-to-chromium: 1.4.118
escalade: 3.1.1
node-releases: 2.0.3
@ -263,6 +278,10 @@ packages:
/caniuse-lite/1.0.30001332:
resolution: {integrity: sha512-10T30NYOEQtN6C11YGg411yebhvpnC6Z102+B95eAsN0oB6KUs01ivE8u+G6FMIRtIrVlYXhL+LUwQ3/hXwDWw==}
dev: true
/caniuse-lite/1.0.30001425:
resolution: {integrity: sha512-/pzFv0OmNG6W0ym80P3NtapU0QEiDS3VuYAZMGoLLqiC7f6FJFe1MjpQDREGApeenD9wloeytmVDj+JLXPC6qw==}
/chokidar/3.5.3:
resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
@ -279,6 +298,10 @@ packages:
fsevents: 2.3.2
dev: true
/client-only/0.0.1:
resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}
dev: false
/color-name/1.1.4:
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
dev: true
@ -456,16 +479,23 @@ packages:
resolution: {integrity: sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
dev: true
/next/12.1.5_b87f661d11de3633273d58c9869b3544:
resolution: {integrity: sha512-YGHDpyfgCfnT5GZObsKepmRnne7Kzp7nGrac07dikhutWQug7hHg85/+sPJ4ZW5Q2pDkb+n0FnmLkmd44htIJQ==}
engines: {node: '>=12.22.0'}
/nanoid/3.3.4:
resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
dev: false
/next/13.0.0_4887d973f4f87041e71dff85026c595f:
resolution: {integrity: sha512-puH1WGM6rGeFOoFdXXYfUxN9Sgi4LMytCV5HkQJvVUOhHfC1DoVqOfvzaEteyp6P04IW+gbtK2Q9pInVSrltPA==}
engines: {node: '>=14.6.0'}
hasBin: true
peerDependencies:
fibers: '>= 3.1.0'
node-sass: ^6.0.0 || ^7.0.0
react: ^17.0.2 || ^18.0.0-0
react-dom: ^17.0.2 || ^18.0.0-0
react: ^18.0.0-0
react-dom: ^18.0.0-0
sass: ^1.3.0
peerDependenciesMeta:
fibers:
@ -475,26 +505,29 @@ packages:
sass:
optional: true
dependencies:
'@next/env': 12.1.5
caniuse-lite: 1.0.30001332
postcss: 8.4.5
react: 17.0.2
react-dom: 17.0.2_react@17.0.2
'@next/env': 13.0.0
'@swc/helpers': 0.4.11
caniuse-lite: 1.0.30001425
postcss: 8.4.14
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
sass: 1.50.1
styled-jsx: 5.0.1_react@17.0.2
styled-jsx: 5.1.0_react@18.2.0
use-sync-external-store: 1.2.0_react@18.2.0
optionalDependencies:
'@next/swc-android-arm-eabi': 12.1.5
'@next/swc-android-arm64': 12.1.5
'@next/swc-darwin-arm64': 12.1.5
'@next/swc-darwin-x64': 12.1.5
'@next/swc-linux-arm-gnueabihf': 12.1.5
'@next/swc-linux-arm64-gnu': 12.1.5
'@next/swc-linux-arm64-musl': 12.1.5
'@next/swc-linux-x64-gnu': 12.1.5
'@next/swc-linux-x64-musl': 12.1.5
'@next/swc-win32-arm64-msvc': 12.1.5
'@next/swc-win32-ia32-msvc': 12.1.5
'@next/swc-win32-x64-msvc': 12.1.5
'@next/swc-android-arm-eabi': 13.0.0
'@next/swc-android-arm64': 13.0.0
'@next/swc-darwin-arm64': 13.0.0
'@next/swc-darwin-x64': 13.0.0
'@next/swc-freebsd-x64': 13.0.0
'@next/swc-linux-arm-gnueabihf': 13.0.0
'@next/swc-linux-arm64-gnu': 13.0.0
'@next/swc-linux-arm64-musl': 13.0.0
'@next/swc-linux-x64-gnu': 13.0.0
'@next/swc-linux-x64-musl': 13.0.0
'@next/swc-win32-arm64-msvc': 13.0.0
'@next/swc-win32-ia32-msvc': 13.0.0
'@next/swc-win32-x64-msvc': 13.0.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@ -514,11 +547,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/object-assign/4.1.1:
resolution: {integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=}
engines: {node: '>=0.10.0'}
dev: false
/object-hash/3.0.0:
resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}
engines: {node: '>= 6'}
@ -594,11 +622,11 @@ packages:
source-map-js: 1.0.2
dev: true
/postcss/8.4.5:
resolution: {integrity: sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==}
/postcss/8.4.14:
resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==}
engines: {node: ^10 || ^12 || >=14}
dependencies:
nanoid: 3.3.3
nanoid: 3.3.4
picocolors: 1.0.0
source-map-js: 1.0.2
dev: false
@ -627,23 +655,21 @@ packages:
engines: {node: '>=10'}
dev: true
/react-dom/17.0.2_react@17.0.2:
resolution: {integrity: sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==}
/react-dom/18.2.0_react@18.2.0:
resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==}
peerDependencies:
react: 17.0.2
react: ^18.2.0
dependencies:
loose-envify: 1.4.0
object-assign: 4.1.1
react: 17.0.2
scheduler: 0.20.2
react: 18.2.0
scheduler: 0.23.0
dev: false
/react/17.0.2:
resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==}
/react/18.2.0:
resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==}
engines: {node: '>=0.10.0'}
dependencies:
loose-envify: 1.4.0
object-assign: 4.1.1
dev: false
/readdirp/3.6.0:
@ -683,19 +709,18 @@ packages:
source-map-js: 1.0.2
dev: true
/scheduler/0.20.2:
resolution: {integrity: sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==}
/scheduler/0.23.0:
resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==}
dependencies:
loose-envify: 1.4.0
object-assign: 4.1.1
dev: false
/source-map-js/1.0.2:
resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
engines: {node: '>=0.10.0'}
/styled-jsx/5.0.1_react@17.0.2:
resolution: {integrity: sha512-+PIZ/6Uk40mphiQJJI1202b+/dYeTVd9ZnMPR80pgiWbjIwvN2zIp4r9et0BgqBuShh48I0gttPlAXA7WVvBxw==}
/styled-jsx/5.1.0_react@18.2.0:
resolution: {integrity: sha512-/iHaRJt9U7T+5tp6TRelLnqBqiaIT0HsO0+vgyj8hK2KUk7aejFqRrumqPUlAqDwAj8IbS/1hk3IhBAAK/FCUQ==}
engines: {node: '>= 12.0.0'}
peerDependencies:
'@babel/core': '*'
@ -707,7 +732,8 @@ packages:
babel-plugin-macros:
optional: true
dependencies:
react: 17.0.2
client-only: 0.0.1
react: 18.2.0
dev: false
/supports-preserve-symlinks-flag/1.0.0:
@ -752,12 +778,24 @@ packages:
is-number: 7.0.0
dev: true
/tslib/2.4.0:
resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==}
dev: false
/typescript/4.5.4:
resolution: {integrity: sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==}
engines: {node: '>=4.2.0'}
hasBin: true
dev: true
/use-sync-external-store/1.2.0_react@18.2.0:
resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
react: 18.2.0
dev: false
/util-deprecate/1.0.2:
resolution: {integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=}
dev: true