Remove Bazel WORKSPACE setup. (#8509)

This commit is contained in:
Marcel
2025-01-24 19:16:10 +01:00
committed by GitHub
parent 65e49faf76
commit 82fefbf252
12 changed files with 2 additions and 324 deletions

View File

@@ -8,7 +8,6 @@ filegroup(
"BUILD.bazel",
"compile_flat_file.sh",
"pnpm-lock.yaml",
"repositories.bzl",
] + glob([
"*.ts",
]),

View File

@@ -1,22 +0,0 @@
"""WORKSPACE macro to load flatbuffers's npm package list."""
load("@aspect_rules_js//npm:repositories.bzl", _npm_translate_lock = "npm_translate_lock")
def flatbuffers_npm(name):
_npm_translate_lock(
name = name,
npmrc = "@com_github_google_flatbuffers//:.npmrc",
pnpm_lock = "@com_github_google_flatbuffers//:pnpm-lock.yaml",
# Override the Bazel package where pnpm-lock.yaml is located and link
# to the specified package instead.
root_package = "ts",
# Set this to True when the lock file needs to be updated, commit the
# changes, then set to False again.
# Alternatively, run:
# $ bazel run -- @pnpm//:pnpm --dir $PWD install --lockfile-only
update_pnpm_lock = False,
verify_node_modules_ignored = "@com_github_google_flatbuffers//:.bazelignore",
data = [
"@com_github_google_flatbuffers//:package.json",
],
)