angular-seed-advanced icon indicating copy to clipboard operation
angular-seed-advanced copied to clipboard

Add npm lock file for npm 5

Open renestalder opened this issue 7 years ago • 2 comments

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] support request

Current behavior npm modules are installed via version specified in the package.json, where when installed with yarn, the version are taken from the yarn lock file. This is the normal behaviour with npm lower than version 5.

When installed with npm, the versions can vary between developers and this causes unexpected errors.

Expected behavior It should install a locked version number. This is possible with npm 5 and the npm lock file, which is similar to yarn.

Minimal reproduction of the problem with instructions No specific case, but happened to me with the TypeScript version.

What is the motivation / use case for changing the behavior? Less unexpected errors

Please tell us about your environment: macOS

renestalder avatar Jul 04 '17 13:07 renestalder

Hi @renestalder thanks for the report - I"ll fix this once {N} supports angular 2.4 and I can update more of the seed: https://github.com/NativeScript/nativescript-angular/pull/842

NathanWalker avatar Jul 09 '17 00:07 NathanWalker

@NathanWalker do you mean 4.2 ? xD

danielgek avatar Jul 10 '17 08:07 danielgek