DEV Community

Discussion on: Automatically Install NPM Dependencies on Git Pull

Collapse
 
sushruth profile image
Sushruth Shastry

Good point! Another way we are solving it at work is by using yarn pnp with zero installs. It's not bulletproof but surely helps a lot.

Collapse
 
zirkelc profile image
Chris Cook

I’d like to use yarn pnp but it’s not widely supported yet. For example Typescript doesn’t support pnp at the moment (it’s being patched into TS by yarn during install). Also bundlers like webpack didn’t handle the lock file at root level correctly the last time I checked.