From b6ce1fbd513be2fb9e28d0af546f3ef5a87097c9 Mon Sep 17 00:00:00 2001 From: Alessio Gravili Date: Thu, 14 Mar 2024 10:35:23 -0400 Subject: [PATCH] chore: downgrade next version of ui to fix e2e tests --- packages/ui/package.json | 2 +- pnpm-lock.yaml | 128 ++++++++++++++++++++++++++++++- templates/blank-3.0/package.json | 2 +- 3 files changed, 128 insertions(+), 4 deletions(-) diff --git a/packages/ui/package.json b/packages/ui/package.json index 101ebb4b21..9c1a5fa1bb 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -98,7 +98,7 @@ "uuid": "9.0.1" }, "peerDependencies": { - "next": "14.2.0-canary.21", + "next": "14.2.0-canary.10", "payload": "workspace:*", "react": "^18.0.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7b7269570f..716338e668 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1343,8 +1343,8 @@ importers: specifier: 2.3.0 version: 2.3.0 next: - specifier: 14.2.0-canary.21 - version: 14.2.0-canary.21(@babel/core@7.24.0)(react-dom@18.2.0)(react@18.2.0)(sass@1.71.1) + specifier: 14.2.0-canary.10 + version: 14.2.0-canary.10(@babel/core@7.24.0)(react-dom@18.2.0)(react@18.2.0) object-to-formdata: specifier: 4.5.1 version: 4.5.1 @@ -4421,6 +4421,10 @@ packages: - utf-8-validate dev: true + /@next/env@14.2.0-canary.10: + resolution: {integrity: sha512-JfYshVw87jCxmIFMYfEwvLVCt+kKuOVQHrVmvqIdcUyYhoIH27nHxhNSoNU243LB9NR6xaDodjpsM3++fbip9g==} + dev: false + /@next/env@14.2.0-canary.21: resolution: {integrity: sha512-J1iLIGns8PUIwTD9EKm3sMWj3tvut872q/LlG80nUM97Pm3nxXGEtBaF102F1bPtaKnEQXSj5OW2WEGjm7Ol6Q==} @@ -4430,6 +4434,15 @@ packages: glob: 10.3.10 dev: true + /@next/swc-darwin-arm64@14.2.0-canary.10: + resolution: {integrity: sha512-tVvpQjPmmeNvirN/u9s8+IFWUitWKgRIi+y1Ux6eaS+pvFdM50jyEsbbbRM5Yisb66W2SiW7o9UCI89GmOIZKw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + /@next/swc-darwin-arm64@14.2.0-canary.21: resolution: {integrity: sha512-XU0gVw9TReqFep1C6qPW7+ezcHvyAHd8YfEvGnMo6jzRQgYL3Opf02g48AUV1+mlKN43UiHn9VbFRCwBQqIpig==} engines: {node: '>= 10'} @@ -4438,6 +4451,15 @@ packages: requiresBuild: true optional: true + /@next/swc-darwin-x64@14.2.0-canary.10: + resolution: {integrity: sha512-OGoSXEETckfh02IccIB+dDOYv2UaqvCDsvuV91lSf3mB5tI1bO8qwkYq6iCof70fzYKMl0FiBfEOsIjouPHpeA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + /@next/swc-darwin-x64@14.2.0-canary.21: resolution: {integrity: sha512-FXSyOIP+xmlb42rnOUoDO8cktKE+mFSpWGG2nxjZwPlnRFC9kVhw2b1Djt1gXhu524ts/bYnfPWvNbNfuNU8bg==} engines: {node: '>= 10'} @@ -4446,6 +4468,15 @@ packages: requiresBuild: true optional: true + /@next/swc-linux-arm64-gnu@14.2.0-canary.10: + resolution: {integrity: sha512-wQw80CYtqFvTo/SqfSd67LWF/3N65M1BmpH52EEkf8yBQ8MtFHubO/NCg+KTa+FiiMmgJIJYijjzddb2hs70dQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + /@next/swc-linux-arm64-gnu@14.2.0-canary.21: resolution: {integrity: sha512-fGJxv3g7PlkkAlHP5ahDsQQKGRxggtZfPXuqtPDF3BNPm9Z6e4clyUyeOCD8HUlaB+3yg5mWt9lvR1t82BeqSA==} engines: {node: '>= 10'} @@ -4454,6 +4485,15 @@ packages: requiresBuild: true optional: true + /@next/swc-linux-arm64-musl@14.2.0-canary.10: + resolution: {integrity: sha512-9rVUxCu27sbqktSxtsDF+EbcQUjY1NwuNMDRkm+SC+ceofScMUvN+vjtYGvh5RCEP/lCzvVcGInTYG2Mz1BWvg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + /@next/swc-linux-arm64-musl@14.2.0-canary.21: resolution: {integrity: sha512-5N+wkZi7DTNrnw9dm9CME3DYGvARp8qOvUwUd4Jg4yZmYNUK2GjtKx5oGCzPe82HqXyZPWDeTaCi8rCEDrO45w==} engines: {node: '>= 10'} @@ -4462,6 +4502,15 @@ packages: requiresBuild: true optional: true + /@next/swc-linux-x64-gnu@14.2.0-canary.10: + resolution: {integrity: sha512-KAAHe1oxVfSHzWGi9Zlf8o0wXNhLtayYXk6Gd0hsPd3QNtpZWcQPyHI2Yb0T/EsHUhu+IsdVDH/AN5FuwvFcWA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + /@next/swc-linux-x64-gnu@14.2.0-canary.21: resolution: {integrity: sha512-gmE/b9WCV5CTtBYygo5TPnBRyGO7jpF+FTHHiTT4IcQD4KenHS7EuEpRKsh+ILZV8LpCCHSiUXKJLjz78OP5Sw==} engines: {node: '>= 10'} @@ -4470,6 +4519,15 @@ packages: requiresBuild: true optional: true + /@next/swc-linux-x64-musl@14.2.0-canary.10: + resolution: {integrity: sha512-eRX71CoX2MQnR6/nhpxJn8Zb39+1TobGcKUCLwkCbaTNJEN7OOBm33pVPFr4Yq++2sdmezj2NjRozkHgoIvMdg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + /@next/swc-linux-x64-musl@14.2.0-canary.21: resolution: {integrity: sha512-bZtw5eCh00sRyVyKNjofrx6Gyi0xklGUbdvGykQgbh26IiUwNZCXS5wrR5kSF1kMfRZhTdPTIXrEU4aolxdKUw==} engines: {node: '>= 10'} @@ -4478,6 +4536,15 @@ packages: requiresBuild: true optional: true + /@next/swc-win32-arm64-msvc@14.2.0-canary.10: + resolution: {integrity: sha512-ixrJHzLyaIYjy7JU/OYk0sppWY5rs+CAbtGiawsP2R0pUOSpMFtla7ivdIC5S4XmdBZuzEXVHUcgYTIWAod9aw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: false + optional: true + /@next/swc-win32-arm64-msvc@14.2.0-canary.21: resolution: {integrity: sha512-bfPh6G3WYsSWeG0IhA7Kh9XWjMxfmvvd9wkK0YHyl7c2iAZsvY6m9kWNlpMUFpXZRNiagDJNc2Zz5a+lpTMBHg==} engines: {node: '>= 10'} @@ -4486,6 +4553,15 @@ packages: requiresBuild: true optional: true + /@next/swc-win32-ia32-msvc@14.2.0-canary.10: + resolution: {integrity: sha512-cxxk25eexpT+JLMRvW6juk4fMdDJXdSS767kSTMqlGHtEJmMYVs6eXYd0izGqL+LB6EN4VcaErmYUJnRUoePNw==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: false + optional: true + /@next/swc-win32-ia32-msvc@14.2.0-canary.21: resolution: {integrity: sha512-nApW0yh16ye/ggHsX6TqYN5PWexsjjJm/EiCHU+7gq+TeVFH274a+uQOUDHJ31H3sthaC6bvnLrTkdZt6/12cA==} engines: {node: '>= 10'} @@ -4494,6 +4570,15 @@ packages: requiresBuild: true optional: true + /@next/swc-win32-x64-msvc@14.2.0-canary.10: + resolution: {integrity: sha512-rNbhrHHW55z/CS0ReYDdS7BL/wfFNg3798MZ5WOdNRDWeucpXO40b9OgBFUJcApPSQq7xNGNmtIv3kZpw2eipw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: false + optional: true + /@next/swc-win32-x64-msvc@14.2.0-canary.21: resolution: {integrity: sha512-anyhM5mDXz4xMN5qo/naoaGsSPBFiT+3M8jZmY0bPcp251dehNoum6uiGLAShEiF1yFa6m1IzkkOI+3GY5q1DA==} engines: {node: '>= 10'} @@ -12997,6 +13082,45 @@ packages: /next-tick@1.1.0: resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} + /next@14.2.0-canary.10(@babel/core@7.24.0)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-EY7I98aCFIUKoSGF+t7GAUt2sEykanw4ikCPvCN5J1Rw8MQph+fKvAymExQFPQbU18F5DwaFQbqys1l8F7FeXg==} + engines: {node: '>=18.17.0'} + hasBin: true + peerDependencies: + '@opentelemetry/api': ^1.1.0 + react: ^18.2.0 + react-dom: ^18.2.0 + sass: ^1.3.0 + peerDependenciesMeta: + '@opentelemetry/api': + optional: true + sass: + optional: true + dependencies: + '@next/env': 14.2.0-canary.10 + '@swc/helpers': 0.5.5 + busboy: 1.6.0 + caniuse-lite: 1.0.30001591 + graceful-fs: 4.2.11 + postcss: 8.4.31 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + styled-jsx: 5.1.1(@babel/core@7.24.0)(react@18.2.0) + optionalDependencies: + '@next/swc-darwin-arm64': 14.2.0-canary.10 + '@next/swc-darwin-x64': 14.2.0-canary.10 + '@next/swc-linux-arm64-gnu': 14.2.0-canary.10 + '@next/swc-linux-arm64-musl': 14.2.0-canary.10 + '@next/swc-linux-x64-gnu': 14.2.0-canary.10 + '@next/swc-linux-x64-musl': 14.2.0-canary.10 + '@next/swc-win32-arm64-msvc': 14.2.0-canary.10 + '@next/swc-win32-ia32-msvc': 14.2.0-canary.10 + '@next/swc-win32-x64-msvc': 14.2.0-canary.10 + transitivePeerDependencies: + - '@babel/core' + - babel-plugin-macros + dev: false + /next@14.2.0-canary.21(@babel/core@7.24.0)(react-dom@18.2.0)(react@18.2.0)(sass@1.71.1): resolution: {integrity: sha512-8EjhlMmgnXCD+AzgwuomJBREzj5Kj3ZGuDSGgQuVNAoat+OIUDn/0lmX5yEacUJjiDstV4DopvwjTP8Jgm7l6A==} engines: {node: '>=18.17.0'} diff --git a/templates/blank-3.0/package.json b/templates/blank-3.0/package.json index a83faa1971..f0700ca404 100644 --- a/templates/blank-3.0/package.json +++ b/templates/blank-3.0/package.json @@ -21,7 +21,7 @@ "@payloadcms/plugin-cloud": "3.0.0-alpha.48", "@payloadcms/richtext-slate": "3.0.0-alpha.48", "cross-env": "^7.0.3", - "next": "14.2.0-canary.21", + "next": "14.2.0-canary.7", "payload": "3.0.0-alpha.48", "react": "^18.2.0", "react-dom": "^18.2.0",