From 964d52bab8c0e692bcf8ac2fb84b47131f69fe9a Mon Sep 17 00:00:00 2001 From: dangreen Date: Tue, 6 Oct 2026 19:48:58 +0400 Subject: [PATCH] build: update pnpm to v12 Pin pnpm 12.9.1 and ask CI for pnpm 12. Settings need no migration from pnpm 11. The lockfile records `linkDirectory: false` of the 11 packages that set it, which a frozen install of pnpm 12 checks, and pnpm 12 finds it up to date with that alone. --- .github/workflows/checks.yml | 4 ++-- .github/workflows/commit.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 6 +++--- .github/workflows/website.yml | 2 +- .tool-versions | 2 +- pnpm-lock.yaml | 11 +++++++++++ 7 files changed, 20 insertions(+), 9 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 55c03b3..969a2f7 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -13,7 +13,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11.9.0 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: @@ -42,7 +42,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11.9.0 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 540dbe9..d19de9d 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -13,7 +13,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11.9.0 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6687b36..df47d35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11.9.0 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9026470..b953082 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11.9.0 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: @@ -33,7 +33,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11.9.0 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: @@ -58,7 +58,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11.9.0 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 80ec243..f4db589 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -23,7 +23,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11.9.0 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: diff --git a/.tool-versions b/.tool-versions index aa08355..23dfdeb 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -pnpm 11.9.0 +pnpm 12.9.1 nodejs 26.10.0 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 76402d7..41aee58 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -176,6 +176,7 @@ importers: '@types/node': specifier: ^22.0.0 version: 22.20.1 + linkDirectory: false publishDirectory: package packages/cli: @@ -199,6 +200,7 @@ importers: sharp: specifier: ^0.35.3 version: 0.35.3(@types/node@22.20.1) + linkDirectory: false publishDirectory: package packages/cloudflare: @@ -215,6 +217,7 @@ importers: size-limit: specifier: ^13.0.0 version: 13.0.3 + linkDirectory: false publishDirectory: package packages/core: @@ -241,6 +244,7 @@ importers: '@types/picomatch': specifier: ^4.0.3 version: 4.0.3 + linkDirectory: false publishDirectory: package packages/imgproxy: @@ -260,6 +264,7 @@ importers: size-limit: specifier: ^13.0.0 version: 13.0.3 + linkDirectory: false publishDirectory: package packages/loader: @@ -292,6 +297,7 @@ importers: webpack: specifier: ^5.108.4 version: 5.108.4(esbuild@0.28.1) + linkDirectory: false publishDirectory: package packages/preact: @@ -320,6 +326,7 @@ importers: size-limit: specifier: ^13.0.0 version: 13.0.3 + linkDirectory: false publishDirectory: package packages/react: @@ -360,6 +367,7 @@ importers: size-limit: specifier: ^13.0.0 version: 13.0.3 + linkDirectory: false publishDirectory: package packages/runtime: @@ -370,6 +378,7 @@ importers: size-limit: specifier: ^13.0.0 version: 13.0.3 + linkDirectory: false publishDirectory: package packages/svelte: @@ -404,6 +413,7 @@ importers: typescript: specifier: ^5.9.0 version: 5.9.3 + linkDirectory: false publishDirectory: package packages/vite-plugin: @@ -430,6 +440,7 @@ importers: vite: specifier: ^8.1.0 version: 8.1.5(@types/node@22.20.1)(esbuild@0.28.1)(jiti@2.6.1)(terser@5.49.0)(yaml@2.9.0) + linkDirectory: false publishDirectory: package website: