From Bazel I want to run some npm commands to install node modules,
and to run some webpack commands.
I have created a genrule to run the correct commands, but this seems to run in a sandbox without the npm command.
I found https://github.com/redfin/npm-bazel but am unsure if this does what I want.
In this they seem to add a new_http_archive for node, and I'm thinking whether doing this and then passing it to my commands via the tools argument in genrule is the correct approach?