npm preinstall is broken, unlike yarn preinstall, as it is not run before npm install xxx (only before npm install), so I created a custom install command just to be sure.
Never lose curiosity
Software Engineer at a robotics startup in Brooklyn -> Queens
typescript, javascript, react, and python.
code to do something weird/helpful
learning rust as a new journey 😎
npm preinstall
is broken, unlikeyarn preinstall
, as it is not run beforenpm install xxx
(only beforenpm install
), so I created a custom install command just to be sure.Avoiding having both `yarn.lock` and `package-lock.json`
Pacharapol Withayasakpunt ・ Apr 16 ・ 1 min read
nice, thank you for sharing the info!