From 924582b52c62a86f63b11208c41141f5c8b8aef8 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Fri, 17 Jun 2022 12:36:37 -0500 Subject: [PATCH] Update to use latest version of pnpm (#37794) * Update to use latest version of pnpm * add packageManager field --- .github/actions/next-stats-action/Dockerfile | 2 +- .github/workflows/build_test_deploy.yml | 2 +- .github/workflows/pull_request_stats.yml | 2 +- azure-pipelines.yml | 2 +- package.json | 5 +++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/actions/next-stats-action/Dockerfile b/.github/actions/next-stats-action/Dockerfile index 5a73df1576746..f8c5d71855ece 100644 --- a/.github/actions/next-stats-action/Dockerfile +++ b/.github/actions/next-stats-action/Dockerfile @@ -7,7 +7,7 @@ LABEL repository="https://github.com/vercel/next-stats-action" COPY . /next-stats # Install node_modules -RUN npm i -g pnpm@7.1.6 +RUN npm i -g pnpm@7.2.1 RUN cd /next-stats && pnpm install --production RUN git config --global user.email 'stats@localhost' diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index e0159e4881004..a65c80fb31de5 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -10,7 +10,7 @@ env: NAPI_CLI_VERSION: 2.7.0 TURBO_VERSION: 1.2.14 RUST_TOOLCHAIN: nightly-2022-02-23 - PNPM_VERSION: 7.1.6 + PNPM_VERSION: 7.2.1 jobs: check-examples: diff --git a/.github/workflows/pull_request_stats.yml b/.github/workflows/pull_request_stats.yml index 9c6a4ebf6d3a3..6c338ab39a079 100644 --- a/.github/workflows/pull_request_stats.yml +++ b/.github/workflows/pull_request_stats.yml @@ -8,7 +8,7 @@ env: NAPI_CLI_VERSION: 2.7.0 TURBO_VERSION: 1.2.14 RUST_TOOLCHAIN: nightly-2022-02-23 - PNPM_VERSION: 7.1.6 + PNPM_VERSION: 7.2.1 jobs: build-native-dev: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 19650fd8b4269..d5a3b1dfcaecb 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.1.6 + PNPM_VERSION: 7.2.1 NEXT_TELEMETRY_DISABLED: '1' node_version: ^14.19.0 diff --git a/package.json b/package.json index 61f85969e612e..ed95aec3410b3 100644 --- a/package.json +++ b/package.json @@ -207,6 +207,7 @@ }, "engines": { "node": ">=12.22.0", - "pnpm": "7" - } + "pnpm": ">= 7.2.1" + }, + "packageManager": "pnpm@7.2.1" }