Fix npm bzlmod (#8506)

* Restrict visibility of exported file

* Align npm_translate_lock attrs

* Remove defs_bzl_filename attr

* Align root_package with pnpm-lock.yaml location

Use a symlink to avoid copying the file.
This commit is contained in:
Marcel
2025-01-23 22:01:31 +01:00
committed by GitHub
parent fceafd438d
commit a9257b6963
5 changed files with 7 additions and 4 deletions

View File

@@ -16,7 +16,6 @@ def flatbuffers_npm(name):
# $ bazel run -- @pnpm//:pnpm --dir $PWD install --lockfile-only
update_pnpm_lock = False,
verify_node_modules_ignored = "@com_github_google_flatbuffers//:.bazelignore",
defs_bzl_filename = "npm_link_all_packages.bzl",
data = [
"@com_github_google_flatbuffers//:package.json",
],