nix-community / napalm

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

Add support for npm aliases #50

Closed jtojnar closed 1 year ago

jtojnar commented 1 year ago

@vue/vue-loader-v15 has been removed from npm because it contained malware but @vue/cli-service still uses it in its package.json, only redirects it to a different package using npm:vue-loader@15.10.0 as version constraint.

https://github.com/vuejs/vue-cli/issues/7098

npm would try to look up the target package but napalm-registry was not aware of this replacement, so it would crash with “No such tarball”.

https://docs.npmjs.com/cli/v8/using-npm/package-spec#aliases