npmlock2nix
npmlock2nix copied to clipboard
allow using local dependencies by providing their paths
Provide a solution for #98
With this patch, given a package.json with
"dependencies": {
"foo": "file:../foo"
},
you can tell npmlock2nix to resolve the local dependency using
npmlock2nix.v2.node_modules {
src = ./.;
localPackages = {
"foo" = ../foo;
};
};
Could you add a test case for this so we don't break it?
added some tests
can this be merged? i would like to use npmlock2nix with a phoenix project.