From fedfc944aa06c118cd0a2457ff7e328728477ed1 Mon Sep 17 00:00:00 2001 From: Xander Marjoram Date: Fri, 12 Jul 2024 10:16:28 +0100 Subject: [PATCH] chore(pie-monorepo): DSW-000 upgrade next version in next 13 example app --- apps/examples/wc-next13/package.json | 4 +- yarn.lock | 271 +++++++++++++++------------ 2 files changed, 158 insertions(+), 117 deletions(-) diff --git a/apps/examples/wc-next13/package.json b/apps/examples/wc-next13/package.json index 143e0179ef..601bc5c1f9 100644 --- a/apps/examples/wc-next13/package.json +++ b/apps/examples/wc-next13/package.json @@ -14,7 +14,7 @@ "@justeattakeaway/pie-css": "0.12.1", "@lit-labs/nextjs": "0.2.0", "@lit/react": "1.0.5", - "next": "13.2.4", + "next": "13.5.5", "react": "18.3.1", "react-dom": "18.3.1" }, @@ -22,7 +22,7 @@ "@types/node": "20.9.3", "@types/react-dom": "18.3.0", "eslint": "8.37.0", - "eslint-config-next": "13.2.4", + "eslint-config-next": "13.5.5", "typescript": "5.4.5" }, "volta": { diff --git a/yarn.lock b/yarn.lock index a869a598af..d53dbf6fac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6301,10 +6301,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.2.4": - version: 13.2.4 - resolution: "@next/env@npm:13.2.4" - checksum: 4123e08a79e66d6144006972027a9ceb8f3fdd782c4a869df1eb3b91b59ad9f4a44082d3f8e421f4df5214c6bc7190b52b94881369452d65eb4580485f33b9e6 +"@next/env@npm:13.5.5": + version: 13.5.5 + resolution: "@next/env@npm:13.5.5" + checksum: 4e3a92f2bd60189d81eb0437bf8141de26dec371edc125553c2d93b1de4c40ce99e8c81f60d8450961fab5c8880a6bcfccd23d9ef9c86aceab2f5380776def9f languageName: node linkType: hard @@ -6317,6 +6317,15 @@ __metadata: languageName: node linkType: hard +"@next/eslint-plugin-next@npm:13.5.5": + version: 13.5.5 + resolution: "@next/eslint-plugin-next@npm:13.5.5" + dependencies: + glob: 7.1.7 + checksum: 760747343864e9edfefbed686dba2b06319a62c327f5357c44b8f66f558f4a6696712e5ce88166cc6f637b2ed5cae3b7f8261f53c074776c778308912979db88 + languageName: node + linkType: hard + "@next/polyfill-module@npm:10.2.3": version: 10.2.3 resolution: "@next/polyfill-module@npm:10.2.3" @@ -6359,93 +6368,65 @@ __metadata: languageName: node linkType: hard -"@next/swc-android-arm-eabi@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-android-arm-eabi@npm:13.2.4" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - -"@next/swc-android-arm64@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-android-arm64@npm:13.2.4" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - -"@next/swc-darwin-arm64@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-darwin-arm64@npm:13.2.4" +"@next/swc-darwin-arm64@npm:13.5.5": + version: 13.5.5 + resolution: "@next/swc-darwin-arm64@npm:13.5.5" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-darwin-x64@npm:13.2.4" +"@next/swc-darwin-x64@npm:13.5.5": + version: 13.5.5 + resolution: "@next/swc-darwin-x64@npm:13.5.5" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-freebsd-x64@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-freebsd-x64@npm:13.2.4" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@next/swc-linux-arm-gnueabihf@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-linux-arm-gnueabihf@npm:13.2.4" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@next/swc-linux-arm64-gnu@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-linux-arm64-gnu@npm:13.2.4" +"@next/swc-linux-arm64-gnu@npm:13.5.5": + version: 13.5.5 + resolution: "@next/swc-linux-arm64-gnu@npm:13.5.5" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-linux-arm64-musl@npm:13.2.4" +"@next/swc-linux-arm64-musl@npm:13.5.5": + version: 13.5.5 + resolution: "@next/swc-linux-arm64-musl@npm:13.5.5" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-linux-x64-gnu@npm:13.2.4" +"@next/swc-linux-x64-gnu@npm:13.5.5": + version: 13.5.5 + resolution: "@next/swc-linux-x64-gnu@npm:13.5.5" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-linux-x64-musl@npm:13.2.4" +"@next/swc-linux-x64-musl@npm:13.5.5": + version: 13.5.5 + resolution: "@next/swc-linux-x64-musl@npm:13.5.5" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-win32-arm64-msvc@npm:13.2.4" +"@next/swc-win32-arm64-msvc@npm:13.5.5": + version: 13.5.5 + resolution: "@next/swc-win32-arm64-msvc@npm:13.5.5" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-win32-ia32-msvc@npm:13.2.4" +"@next/swc-win32-ia32-msvc@npm:13.5.5": + version: 13.5.5 + resolution: "@next/swc-win32-ia32-msvc@npm:13.5.5" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.2.4": - version: 13.2.4 - resolution: "@next/swc-win32-x64-msvc@npm:13.2.4" +"@next/swc-win32-x64-msvc@npm:13.5.5": + version: 13.5.5 + resolution: "@next/swc-win32-x64-msvc@npm:13.5.5" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -8838,7 +8819,7 @@ __metadata: languageName: node linkType: hard -"@rushstack/eslint-patch@npm:^1.1.0, @rushstack/eslint-patch@npm:^1.1.3": +"@rushstack/eslint-patch@npm:^1.1.0, @rushstack/eslint-patch@npm:^1.1.3, @rushstack/eslint-patch@npm:^1.3.3": version: 1.10.3 resolution: "@rushstack/eslint-patch@npm:1.10.3" checksum: 1042779367ee102576a3c132f052d718d7111fee9f815758a72b21e8145620f7d3403c14fcde3b4cfa1cbc14b08b8519151ff77d0f353bf647f0a0a16eafdef5 @@ -10323,12 +10304,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.4.14": - version: 0.4.14 - resolution: "@swc/helpers@npm:0.4.14" +"@swc/helpers@npm:0.5.2": + version: 0.5.2 + resolution: "@swc/helpers@npm:0.5.2" dependencies: tslib: ^2.4.0 - checksum: 273fd3f3fc461a92f3790cc551ea054745c6d6959afbe1232e6d7aa1c722bbc114d308aab96bef5c78fc0303c85c7b472ef00e2253251cc89737f3b1af56e5a5 + checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258 languageName: node linkType: hard @@ -11544,6 +11525,24 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0": + version: 6.21.0 + resolution: "@typescript-eslint/parser@npm:6.21.0" + dependencies: + "@typescript-eslint/scope-manager": 6.21.0 + "@typescript-eslint/types": 6.21.0 + "@typescript-eslint/typescript-estree": 6.21.0 + "@typescript-eslint/visitor-keys": 6.21.0 + debug: ^4.3.4 + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 162fe3a867eeeffda7328bce32dae45b52283c68c8cb23258fb9f44971f761991af61f71b8c9fe1aa389e93dfe6386f8509c1273d870736c507d76dd40647b68 + languageName: node + linkType: hard + "@typescript-eslint/scope-manager@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/scope-manager@npm:5.62.0" @@ -15190,6 +15189,15 @@ __metadata: languageName: node linkType: hard +"busboy@npm:1.6.0": + version: 1.6.0 + resolution: "busboy@npm:1.6.0" + dependencies: + streamsearch: ^1.1.0 + checksum: 32801e2c0164e12106bf236291a00795c3c4e4b709ae02132883fe8478ba2ae23743b11c5735a0aae8afe65ac4b6ca4568b91f0d9fed1fdbc32ede824a73746e + languageName: node + linkType: hard + "bytes@npm:3.0.0": version: 3.0.0 resolution: "bytes@npm:3.0.0" @@ -19735,6 +19743,29 @@ __metadata: languageName: node linkType: hard +"eslint-config-next@npm:13.5.5": + version: 13.5.5 + resolution: "eslint-config-next@npm:13.5.5" + dependencies: + "@next/eslint-plugin-next": 13.5.5 + "@rushstack/eslint-patch": ^1.3.3 + "@typescript-eslint/parser": ^5.4.2 || ^6.0.0 + eslint-import-resolver-node: ^0.3.6 + eslint-import-resolver-typescript: ^3.5.2 + eslint-plugin-import: ^2.28.1 + eslint-plugin-jsx-a11y: ^6.7.1 + eslint-plugin-react: ^7.33.2 + eslint-plugin-react-hooks: ^4.5.0 || 5.0.0-canary-7118f5dd7-20230705 + peerDependencies: + eslint: ^7.23.0 || ^8.0.0 + typescript: ">=3.3.1" + peerDependenciesMeta: + typescript: + optional: true + checksum: f108925365c43b36cf1af59078b7009b36db18ce0e077865c61049679bd264b498c838b27e568b3c45ecd52b18fd597671b31fc21344bb0ee3fa86be5798506f + languageName: node + linkType: hard + "eslint-config-react-app@npm:^7.0.1": version: 7.0.1 resolution: "eslint-config-react-app@npm:7.0.1" @@ -19858,7 +19889,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:^2.25.3, eslint-plugin-import@npm:^2.26.0": +"eslint-plugin-import@npm:^2.25.3, eslint-plugin-import@npm:^2.26.0, eslint-plugin-import@npm:^2.28.1": version: 2.29.1 resolution: "eslint-plugin-import@npm:2.29.1" dependencies: @@ -19920,7 +19951,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsx-a11y@npm:^6.5.1": +"eslint-plugin-jsx-a11y@npm:^6.5.1, eslint-plugin-jsx-a11y@npm:^6.7.1": version: 6.9.0 resolution: "eslint-plugin-jsx-a11y@npm:6.9.0" dependencies: @@ -19955,7 +19986,16 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:^7.27.1, eslint-plugin-react@npm:^7.31.7": +"eslint-plugin-react-hooks@npm:^4.5.0 || 5.0.0-canary-7118f5dd7-20230705": + version: 5.0.0-canary-7118f5dd7-20230705 + resolution: "eslint-plugin-react-hooks@npm:5.0.0-canary-7118f5dd7-20230705" + peerDependencies: + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 + checksum: 20e334e60bf5e56cf9f760598411847525c3ff826e6ae7757c8efdc60b33d47a97ddbe1b94ce95956ea9f7bbef37995b19c716be50bd44e6a1e789cba08b6224 + languageName: node + linkType: hard + +"eslint-plugin-react@npm:^7.27.1, eslint-plugin-react@npm:^7.31.7, eslint-plugin-react@npm:^7.33.2": version: 7.34.3 resolution: "eslint-plugin-react@npm:7.34.3" dependencies: @@ -27558,7 +27598,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.1.22, nanoid@npm:^3.1.23, nanoid@npm:^3.1.25, nanoid@npm:^3.3.4, nanoid@npm:^3.3.7": +"nanoid@npm:^3.1.22, nanoid@npm:^3.1.23, nanoid@npm:^3.1.25, nanoid@npm:^3.3.4, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": version: 3.3.7 resolution: "nanoid@npm:3.3.7" bin: @@ -27734,48 +27774,36 @@ __metadata: languageName: node linkType: hard -"next@npm:13.2.4": - version: 13.2.4 - resolution: "next@npm:13.2.4" - dependencies: - "@next/env": 13.2.4 - "@next/swc-android-arm-eabi": 13.2.4 - "@next/swc-android-arm64": 13.2.4 - "@next/swc-darwin-arm64": 13.2.4 - "@next/swc-darwin-x64": 13.2.4 - "@next/swc-freebsd-x64": 13.2.4 - "@next/swc-linux-arm-gnueabihf": 13.2.4 - "@next/swc-linux-arm64-gnu": 13.2.4 - "@next/swc-linux-arm64-musl": 13.2.4 - "@next/swc-linux-x64-gnu": 13.2.4 - "@next/swc-linux-x64-musl": 13.2.4 - "@next/swc-win32-arm64-msvc": 13.2.4 - "@next/swc-win32-ia32-msvc": 13.2.4 - "@next/swc-win32-x64-msvc": 13.2.4 - "@swc/helpers": 0.4.14 +"next@npm:13.5.5": + version: 13.5.5 + resolution: "next@npm:13.5.5" + dependencies: + "@next/env": 13.5.5 + "@next/swc-darwin-arm64": 13.5.5 + "@next/swc-darwin-x64": 13.5.5 + "@next/swc-linux-arm64-gnu": 13.5.5 + "@next/swc-linux-arm64-musl": 13.5.5 + "@next/swc-linux-x64-gnu": 13.5.5 + "@next/swc-linux-x64-musl": 13.5.5 + "@next/swc-win32-arm64-msvc": 13.5.5 + "@next/swc-win32-ia32-msvc": 13.5.5 + "@next/swc-win32-x64-msvc": 13.5.5 + "@swc/helpers": 0.5.2 + busboy: 1.6.0 caniuse-lite: ^1.0.30001406 - postcss: 8.4.14 + postcss: 8.4.31 styled-jsx: 5.1.1 + watchpack: 2.4.0 peerDependencies: - "@opentelemetry/api": ^1.4.0 - fibers: ">= 3.1.0" - node-sass: ^6.0.0 || ^7.0.0 + "@opentelemetry/api": ^1.1.0 react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 dependenciesMeta: - "@next/swc-android-arm-eabi": - optional: true - "@next/swc-android-arm64": - optional: true "@next/swc-darwin-arm64": optional: true "@next/swc-darwin-x64": optional: true - "@next/swc-freebsd-x64": - optional: true - "@next/swc-linux-arm-gnueabihf": - optional: true "@next/swc-linux-arm64-gnu": optional: true "@next/swc-linux-arm64-musl": @@ -27793,15 +27821,11 @@ __metadata: peerDependenciesMeta: "@opentelemetry/api": optional: true - fibers: - optional: true - node-sass: - optional: true sass: optional: true bin: next: dist/bin/next - checksum: 8531dee41b60181b582f5ee80858907b102f083ef8808ff9352d589dd39e6b3a96f7a11b3776a03eef3a28430cff768336fa2e3ff2c6f8fcd699fbc891749051 + checksum: 034a52cf9a5df79912ad67467e00ab98e6505a7544514a12d6310d67fea760764f6b04ade344d457aadecb6170dd50eb0709346fd97a9e6659fcabd5e510fb97 languageName: node linkType: hard @@ -31607,25 +31631,25 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.14": - version: 8.4.14 - resolution: "postcss@npm:8.4.14" +"postcss@npm:8.4.21": + version: 8.4.21 + resolution: "postcss@npm:8.4.21" dependencies: nanoid: ^3.3.4 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 + checksum: e39ac60ccd1542d4f9d93d894048aac0d686b3bb38e927d8386005718e6793dbbb46930f0a523fe382f1bbd843c6d980aaea791252bf5e176180e5a4336d9679 languageName: node linkType: hard -"postcss@npm:8.4.21": - version: 8.4.21 - resolution: "postcss@npm:8.4.21" +"postcss@npm:8.4.31": + version: 8.4.31 + resolution: "postcss@npm:8.4.31" dependencies: - nanoid: ^3.3.4 + nanoid: ^3.3.6 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: e39ac60ccd1542d4f9d93d894048aac0d686b3bb38e927d8386005718e6793dbbb46930f0a523fe382f1bbd843c6d980aaea791252bf5e176180e5a4336d9679 + checksum: 1d8611341b073143ad90486fcdfeab49edd243377b1f51834dc4f6d028e82ce5190e4f11bb2633276864503654fb7cab28e67abdc0fbf9d1f88cad4a0ff0beea languageName: node linkType: hard @@ -35296,6 +35320,13 @@ __metadata: languageName: node linkType: hard +"streamsearch@npm:^1.1.0": + version: 1.1.0 + resolution: "streamsearch@npm:1.1.0" + checksum: 1cce16cea8405d7a233d32ca5e00a00169cc0e19fbc02aa839959985f267335d435c07f96e5e0edd0eadc6d39c98d5435fb5bbbdefc62c41834eadc5622ad942 + languageName: node + linkType: hard + "streamx@npm:^2.15.0": version: 2.18.0 resolution: "streamx@npm:2.18.0" @@ -38753,6 +38784,16 @@ __metadata: languageName: node linkType: hard +"watchpack@npm:2.4.0": + version: 2.4.0 + resolution: "watchpack@npm:2.4.0" + dependencies: + glob-to-regexp: ^0.4.1 + graceful-fs: ^4.1.2 + checksum: 23d4bc58634dbe13b86093e01c6a68d8096028b664ab7139d58f0c37d962d549a940e98f2f201cecdabd6f9c340338dc73ef8bf094a2249ef582f35183d1a131 + languageName: node + linkType: hard + "watchpack@npm:^1.7.4": version: 1.7.5 resolution: "watchpack@npm:1.7.5" @@ -38846,8 +38887,8 @@ __metadata: "@types/node": 20.9.3 "@types/react-dom": 18.3.0 eslint: 8.37.0 - eslint-config-next: 13.2.4 - next: 13.2.4 + eslint-config-next: 13.5.5 + next: 13.5.5 react: 18.3.1 react-dom: 18.3.1 typescript: 5.4.5