Uh oh!
There was an error while loading. Please reload this page.
feat: add preinstallOnly script - #6888
Conversation
hirehamir
commented
Oct 9, 2023
What / Why
|
hirehamir
commented
Oct 9, 2023
I got the idea to use
|
wraithgar
commented
Oct 9, 2023
This would constitute a breaking change and would have to wait till npm 11 |
ljharb
commented
Oct 9, 2023
Why would a new script be a breaking change? |
wraithgar
commented
Oct 10, 2023
Ah my oversight, I thought this was moving an existing script |
hirehamir
commented
Oct 10, 2023
I was able to test it out locally just now, and it appears to work as intended. |
hirehamir
commented
Oct 10, 2023
package.json.-.cli.WSL_.Ubuntu.-.Visual.Studio.Code.2023-10-10.16-23-47.mp4 |
MattCCC
commented
Oct 11, 2023
Works well on mine. |
nkamenar
commented
Oct 18, 2023
Any word on when this will release? My team is switching to pnpm also and running into exactly this problem where someone accidentally runs npm install and we can't prevent it. |
hirehamir
commented
Oct 20, 2023
@wraithgar what changes would you like this pull request to have, to consider merging it? |
wraithgar
commented
Mar 19, 2024
This is a great contribution and it seems to fit into a point of the install lifecycle that might not be fully covered yet. Our team is currently reviewing the npm lifecycle hooks as a whole and the best resolutions for it moving forward. Unfortunately this means we won't be able to accept this new feature knowing it may eventually be affected by a breaking change. |
hirehamir
commented
Mar 19, 2024
Okay, thanks for the explanation. |
No description provided.