mweststrate / relative-deps

Installs local dependencies for optimal developer experience
MIT License
429 stars 32 forks source link

call 'npm run build' instead of invalid 'npm build' #37

Closed nicolaslohrer closed 3 years ago

nicolaslohrer commented 3 years ago

We're using relative-deps in an npm application. It was working fine until v1.0.1 – as long as we made sure that yarn was globally installed. But starting with v1.0.2, it now tries and fails to build the relative dependency via npm: 'npm build' called with no arguments.

To my understanding, yarn run build, yarn build, and npm run build are valid while npm build is not; so I'd say run build should work in both cases.

Thanks for sharing this library btw, it works great for us! 👍

mweststrate commented 3 years ago

Released as 1.0.5. Thanks!