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

Remove package scripts before install #32

Open
aleclarson opened this issue Apr 14, 2021 · 0 comments
Open

Remove package scripts before install #32

aleclarson opened this issue Apr 14, 2021 · 0 comments
Labels
enhancement New feature or request priority:high

Comments

@aleclarson
Copy link
Collaborator

Any package.json scripts that would run on npm install will be removed while dependencies are being installed. This lets us install parent packages first without the fear of a child package not being ready-to-use in a script.

Why would I want that? Installing dependencies of parents first lets children use link: to inherit dev dependencies from their parents. This reduces install times.

The removed scripts are restored after install, and they're executed in topological order (children first).

@aleclarson aleclarson added enhancement New feature or request priority:high labels Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:high
Projects
None yet
Development

No branches or pull requests

1 participant