Skip to content

Commit 3af8f52

Browse files
authored
✨ tweak: update pnpm version
1 parent 64df4d5 commit 3af8f52

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ public-hoist-pattern[]=@redis/*
99
# Auto-install peers to prevent missing peer dependency warnings
1010
auto-install-peers=true
1111

12-
# Use strict peer dependencies to maintain dependency integrity
12+
# Disable strict peer dependency checking to allow auto-install-peers to resolve mismatches
1313
strict-peer-dependencies=false

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ RUN apk update && apk upgrade && \
3535
rm -rf /var/cache/apk/*
3636

3737
# Enable and install pnpm via corepack
38+
# Note: Version must match packageManager field in package.json (currently 9.15.4)
3839
RUN corepack enable && \
39-
corepack prepare pnpm@latest --activate
40+
corepack prepare pnpm@9.15.4 --activate
4041

4142
# Set working directory for all subsequent stages
4243
WORKDIR /usr/src/app

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"main": "dist/app.js",
2222
"engines": {
2323
"node": ">=20.0.0",
24-
"pnpm": ">=8.0.0"
24+
"pnpm": "9.15.4"
2525
},
2626
"scripts": {
2727
"preinstall": "npx only-allow pnpm",

0 commit comments

Comments
 (0)