Open
Description
What is the current behavior?
npm_link_all_packages
provides you with a :node_modules
target that represents all dependencies in package.json.
Describe the feature
There should also be some sort of automatically generated shorthand target for ":node_modules excluding dev deps" and "only dev deps". It's common to not want to micro-manage package dependencies in both package.json and BUILD.bazel, but still have targets to which dev deps are not accessible (most non-test targets), to avoid accidental inclusion of dev libraries in production code.
See https://bazelbuild.github.io/rules_rust/crate_universe.html#all_crate_deps for one potential API approach.