walldash/BUILD.bazel
cediackermann f69b9f401a
build: Bazel rules_js — link node_modules via pnpm-lock
bazel build //walldash:node_modules. Adds pnpm-lock.yaml (from package-lock)
+ pnpm.onlyBuiltDependencies, and npm_link_all_packages in BUILD.bazel.
Native bun build/run is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 20:39:07 +02:00

12 lines
451 B
Text

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"],
)