-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Last pnpm version that worked
10.6.5
pnpm version
10.8.0
Code to reproduce the issue
corepack enable pnpm
cd $(mktemp -d)
corepack use pnpm
pnpm --allow-build cypress add cypress
rm -rf *
pnpm add cypress
pnpm approve-buildsExpected behavior
pnpm --allow-build should write the configuration to pnpm-workspace.yaml as does pnpm approve-builds
Actual behavior
pnpm --allow-build continues to add the configuration to package.json.
| pnpm version | --allow-build |
approve-builds |
|---|---|---|
10.6.5 |
package.json |
package.json |
10.7.0 |
package.json |
pnpm-workspace.yaml |
10.8.0 |
package.json |
pnpm-workspace.yaml |
Additional information
This is not strictly a regression, however --allow-build and approve-builds should work consistently and use the same config location.
Node.js version
22.14.0 LTS
Operating System
Linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels