Skip to content

Commit 77af7b0

Browse files
committed
pnpm 10 now disallows scripts by default and we can use onlyBuiltDependencies setting to whitelist
1 parent a47f549 commit 77af7b0

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
"form-data@^3": "3.0.4",
9090
"form-data@^4": "4.0.4",
9191
"axios@1.9.0": ">=1.12.0"
92-
}
92+
},
93+
"onlyBuiltDependencies": [
94+
"@prisma/client"
95+
]
9396
}
9497
}

pnpm-workspace.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ packages:
77
- "!packages/cli-v3/e2e/**"
88

99
minimumReleaseAge: 1440
10-
11-
ignoreScripts: true
12-
13-
allowedScripts:
14-
- "@prisma/client"
15-
1610
preferOffline: true
1711

1812
linkWorkspacePackages: false

0 commit comments

Comments
 (0)