You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I verified that the issue exists in the latest pnpm release
pnpm version
10.6.3
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Inside an empty folder, and run:
pnpm init
# A package with install scripts
pnpm add esbuild
# The above will show a warning about ignored build scripts
pnpm approve-builds
# press enter without any selection to add listed scripts to "ignoredBuiltDependencies"
pnpm i
# Bug: Will still show the warning and ask the user to run "pnpm approve-builds"
rm pnpm-lock.yaml
pnpm i
# Now the warning is gone. But the newly generated lockfile isn't actually any different from the deleted one.
ignoredBuiltDependencies.bug.reproduction.mov
Describe the Bug
running pnpm i after adding packages to "ignoredBuiltDependencies" does not make the warning go away.
Expected Behavior
running pnpm i after adding packages to "ignoredBuiltDependencies" should not produce a warning about those packages.
Which Node.js version are you using?
22.14.0
Which operating systems have you used?
macOS
Windows
Linux
If your OS is a Linux based, which one it is? (Include the version if relevant)
Verify latest release
pnpm version
10.6.3
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Inside an empty folder, and run:
ignoredBuiltDependencies.bug.reproduction.mov
Describe the Bug
running
pnpm iafter adding packages to"ignoredBuiltDependencies"does not make the warning go away.Expected Behavior
running
pnpm iafter adding packages to"ignoredBuiltDependencies"should not produce a warning about those packages.Which Node.js version are you using?
22.14.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response