workshopper / how-to-npm

A module to teach you how to module.
https://www.npmjs.com/package/how-to-npm
ISC License
1.11k stars 219 forks source link

Added version to datadir to store the version of the how-to-npm package. #71

Closed martinheidegger closed 7 years ago

martinheidegger commented 8 years ago

If you have an old version of how-to-npm installed that doesn't use scoped packages it is not possible to finish 04 Install a module because that new module has not been unpacked in the local storage. This PR checks if how-to-npm has been installed prior to this case and reapplies the unpacking.

watilde commented 7 years ago

Thanks for the patch! Let's move to https://github.com/workshopper/how-to-npm/pull/113.