Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prepare script respects scriptshell config #389

Closed
wants to merge 1 commit into from

Conversation

milaninfy
Copy link

Prepare script respects scriptshell config if passed matching behaviour of npm run <script>

fixes: npm/cli#7723

@wraithgar
Copy link
Member

This was intentional. It is how, for example, git repos work. The purpose of the prepare lifecycle script is to prepare local directories to work, so this flag was not added here. This flag currently does not differentiate between scripts in your package itself, and those of the packages your are installing, so there is no way for folks to ignore their package's scripts while still being able to install git refs. This is the compromise.

@wraithgar wraithgar closed this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] <prepare script called with CMD on windows>
2 participants