pnpm allowed pre post scripts #5462
TorbjornHoltmon
started this conversation in
Ideas
Replies: 1 comment
-
This is a lot of functionality for a feature that would be almost never used. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We can allow pre and post scripts with
enable-pre-post-scripts=true
.This allows all pre post scripts.
I would like to enable only the post scripts I explicitly allow.
Something like:
Additionally, an interactive install/add option to prompt the user if they want to add pre/post script to the allowed list.
pnpm install --interactive-pre-post-scripts
pnpm will then see what packages have pre and post scripts, and prompt the user if they want to run them and add them to the allowed list.
Beta Was this translation helpful? Give feedback.
All reactions