load("@npm//:defs.bzl", "npm_link_all_packages") # rules_js PoC: link the full npm dependency graph (from package-lock.json) via # Bazel. `bazel build //walldash:node_modules` resolves all packages. # A complete `next build` under Bazel is a further step (ts_project + next rule). npm_link_all_packages(name = "node_modules") filegroup( name = "srcs", srcs = glob(["src/**"], allow_empty = True), visibility = ["//visibility:public"], )