Project specific NPM Wrapper


(Olivier Tille) #1

Hi,

we’ve been encountering troubles in our development when using NPM because different Devs have different NPM versions installed and all that on different OSes.

My thought was that we could have an per project npm-wrapper file that would be used instead of the global npm (basically the same as Gradle does it with the Gradle-Wrapper https://docs.gradle.org/current/userguide/gradle_wrapper.html).

Does anybody know of an existing solution to that? Or any effort to do a similar thing?

Thank you for your help.

Olivier


(Olivier Tille) #2

I’ve build this as an example: https://gist.github.com/oliviernt/58d5c4badd76120ec436cac6c12d4180