nix-community / napalm

Support for building npm packages in Nix and lightweight npm registry [maintainer=?]
MIT License
104 stars 17 forks source link

Fixes case when package-locks are without a name or a version #35

Closed Mazurel closed 3 years ago

Mazurel commented 3 years ago

This PR makes napalm work with node.js projects that do not have specified name or version in the package.json and as a result in package-lock.json. In case they are not specified, napalm will use the name or version specified as an argument for the builder, or if they are also not defined then fallbackPackageName/Version will be used.

nmattia commented 3 years ago

Nice, thanks a lot!