From 056ab7918fef27133072f62f41b991fa47e52543 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Tue, 20 Jun 2023 02:38:15 -0400 Subject: [PATCH] Revert "Fix pnpm `ERR_INVALID_THIS` on Node 20" (#51539) Reverts vercel/next.js#51406 This pnpm bump seems to be causing lockfile issues with the react versions which causes context issues since we need to share the same react version in the monorepo. --- .github/actions/next-stats-action/Dockerfile | 2 +- .github/workflows/build_and_deploy.yml | 2 +- .github/workflows/build_and_test.yml | 2 +- .github/workflows/build_reusable.yml | 2 +- .github/workflows/pull_request_stats.yml | 2 +- .github/workflows/test_examples.yml | 2 +- .github/workflows/trigger_release.yml | 2 +- azure-pipelines.yml | 2 +- package.json | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/actions/next-stats-action/Dockerfile b/.github/actions/next-stats-action/Dockerfile index 7d5f2454714be..d61c0eedb1091 100644 --- a/.github/actions/next-stats-action/Dockerfile +++ b/.github/actions/next-stats-action/Dockerfile @@ -14,7 +14,7 @@ RUN ln $(which python3) /usr/bin/python RUN curl -sfLS https://install-node.vercel.app/v18 | bash -s -- -f # Install node_modules -RUN npm i -g pnpm@7.32.2 yarn@1.22.19 +RUN npm i -g pnpm@7.24.3 yarn@1.22.19 RUN cd /next-stats && pnpm install --production RUN git config --global user.email 'stats@localhost' diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 0a5798fb4e227..fc923e70204ee 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -8,7 +8,7 @@ on: env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.9.6 - PNPM_VERSION: 7.32.2 + PNPM_VERSION: 7.24.3 NODE_MAINTENANCE_VERSION: 16 NODE_LTS_VERSION: 18 diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index f27b46c42b2ee..06d4e666de5ba 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -9,7 +9,7 @@ on: env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.9.6 - PNPM_VERSION: 7.32.2 + PNPM_VERSION: 7.24.3 NODE_MAINTENANCE_VERSION: 16 NODE_LTS_VERSION: 18 TEST_CONCURRENCY: 6 diff --git a/.github/workflows/build_reusable.yml b/.github/workflows/build_reusable.yml index 9cce0986fbfb1..0a3a2821b3ce5 100644 --- a/.github/workflows/build_reusable.yml +++ b/.github/workflows/build_reusable.yml @@ -47,7 +47,7 @@ on: env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.9.6 - PNPM_VERSION: 7.32.2 + PNPM_VERSION: 7.24.3 NODE_MAINTENANCE_VERSION: 16 NODE_LTS_VERSION: 18 TEST_CONCURRENCY: 6 diff --git a/.github/workflows/pull_request_stats.yml b/.github/workflows/pull_request_stats.yml index cb3cdcf90fc91..0b061b8291029 100644 --- a/.github/workflows/pull_request_stats.yml +++ b/.github/workflows/pull_request_stats.yml @@ -7,7 +7,7 @@ name: Generate Pull Request Stats env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.9.6 - PNPM_VERSION: 7.32.2 + PNPM_VERSION: 7.24.3 NODE_MAINTENANCE_VERSION: 16 NODE_LTS_VERSION: 18 TEST_CONCURRENCY: 6 diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index c38fad768577c..b128f5a46db33 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -14,7 +14,7 @@ on: name: Test examples env: - PNPM_VERSION: 7.32.2 + PNPM_VERSION: 7.24.3 jobs: testExamples: diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index bc1c7bbd820fc..45882d9512530 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -26,7 +26,7 @@ name: Trigger Release env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.9.6 - PNPM_VERSION: 7.32.2 + PNPM_VERSION: 7.24.3 NODE_MAINTENANCE_VERSION: 16 NODE_LTS_VERSION: 18 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e3055603edae9..70f62eba5723e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -33,7 +33,7 @@ pr: variables: PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store - PNPM_VERSION: 7.32.2 + PNPM_VERSION: 7.24.3 NEXT_TELEMETRY_DISABLED: '1' node_16_version: ^16.8.0 diff --git a/package.json b/package.json index a0e66643a4010..62d7fdd69afba 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "clean-trace-jaeger": "node scripts/rm.mjs test/integration/basic/.next && TRACE_TARGET=JAEGER pnpm next build test/integration/basic", "debug": "cross-env NEXT_TELEMETRY_DISABLED=1 node --inspect packages/next/dist/bin/next", "postinstall": "git config index.skipHash false && node scripts/install-native.mjs", - "version": "npx pnpm@7.32.2 install --no-frozen-lockfile && IS_PUBLISH=yes ./scripts/check-pre-compiled.sh && git add .", + "version": "npx pnpm@7.24.3 install --no-frozen-lockfile && IS_PUBLISH=yes ./scripts/check-pre-compiled.sh && git add .", "prepare": "husky install", "sync-react": "node ./scripts/sync-react.js", "update-google-fonts": "node ./scripts/update-google-fonts.js" @@ -239,5 +239,5 @@ "engines": { "node": ">=16.8.0" }, - "packageManager": "pnpm@7.32.2" + "packageManager": "pnpm@7.24.3" }