Skip to content

Commit d7f065f

Browse files
committed
chore(fleet): adopt pnpm 11.0.0-rc.5 and bump socket-registry pins
- packageManager: pnpm@11.0.0-rc.2 → pnpm@11.0.0-rc.5. - Add pmOnFail: error to pnpm-workspace.yaml so a pnpm version drift fails fast instead of silently auto-downloading via @pnpm/exe (whose rc.5 tarball leaves a placeholder launcher that errors at runtime). - Drop '@pnpm/exe': true from allowBuilds — no longer applicable now that pmOnFail: error prevents the self-download chain entirely. - Bump SocketDev/socket-registry action/workflow pins to ebf1b48f (propagation SHA for the pnpm rc.5 cascade in socket-registry).
1 parent 2ad05f9 commit d7f065f

5 files changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ concurrency:
2121
jobs:
2222
ci:
2323
name: Run CI Pipeline
24-
uses: SocketDev/socket-registry/.github/workflows/ci.yml@a5923566cd8bcf70aefa1eefacf21f96e328be45 # main
24+
uses: SocketDev/socket-registry/.github/workflows/ci.yml@ebf1b48f962ea4978d63f18d5ac711cab94d597f # main
2525
with:
2626
test-script: 'pnpm exec vitest --config .config/vitest.config.mts run'
2727

@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
timeout-minutes: 10
3333
steps:
34-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@a5923566cd8bcf70aefa1eefacf21f96e328be45 # main
34+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@ebf1b48f962ea4978d63f18d5ac711cab94d597f # main
3535

3636
- name: Build project
3737
run: pnpm run build

.github/workflows/provenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121

2222
jobs:
2323
publish:
24-
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@d638c11f4bc7ac637e0f61f05729a54d68af40e0 # main
24+
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@ebf1b48f962ea4978d63f18d5ac711cab94d597f # main
2525
with:
2626
debug: ${{ inputs.debug }}
2727
package-name: '@socketsecurity/lib'

.github/workflows/weekly-update.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
outputs:
3030
has-updates: ${{ steps.check.outputs.has-updates }}
3131
steps:
32-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@a5923566cd8bcf70aefa1eefacf21f96e328be45 # main
32+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@ebf1b48f962ea4978d63f18d5ac711cab94d597f # main
3333

3434
- name: Check for npm updates
3535
id: check
@@ -54,7 +54,7 @@ jobs:
5454
contents: write
5555
pull-requests: write
5656
steps:
57-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@a5923566cd8bcf70aefa1eefacf21f96e328be45 # main
57+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@ebf1b48f962ea4978d63f18d5ac711cab94d597f # main
5858

5959
- name: Create update branch
6060
id: branch
@@ -66,7 +66,7 @@ jobs:
6666
git checkout -b "$BRANCH_NAME"
6767
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
6868
69-
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@a5923566cd8bcf70aefa1eefacf21f96e328be45 # main
69+
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@ebf1b48f962ea4978d63f18d5ac711cab94d597f # main
7070
with:
7171
gpg-private-key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
7272

@@ -303,7 +303,7 @@ jobs:
303303
test-output.log
304304
retention-days: 7
305305

306-
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@a5923566cd8bcf70aefa1eefacf21f96e328be45 # main
306+
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@ebf1b48f962ea4978d63f18d5ac711cab94d597f # main
307307
if: always()
308308

309309
notify:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@socketsecurity/lib",
33
"version": "5.22.0",
4-
"packageManager": "pnpm@11.0.0-rc.2",
4+
"packageManager": "pnpm@11.0.0-rc.5",
55
"license": "MIT",
66
"description": "Core utilities and infrastructure for Socket.dev security tools",
77
"keywords": [

pnpm-workspace.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ packages:
1010
- .claude/hooks/*
1111

1212
allowBuilds:
13-
'@pnpm/exe': true
1413
esbuild: true
1514

15+
# Refuse to run if the pnpm version on PATH differs from the packageManager
16+
# field in package.json. Our setup action pins pnpm via external-tools.json;
17+
# any drift should fail fast, not silently auto-download via @pnpm/exe
18+
# (which in rc.5 leaves a placeholder launcher that errors at runtime).
19+
pmOnFail: error
20+
1621
overrides:
1722
'@inquirer/ansi': 2.0.5
1823
'@inquirer/core': 11.1.8

0 commit comments

Comments
 (0)