| bazel_dep(name = "aspect_rules_js", version = "0.0.0", dev_dependency = True) | |
| local_path_override( | |
| module_name = "aspect_rules_js", | |
| path = "../..", | |
| ) | |
| bazel_dep(name = "bazel_skylib", version = "1.5.0", dev_dependency = True) | |
| npm = use_extension( | |
| "@aspect_rules_js//npm:extensions.bzl", | |
| "npm", | |
| dev_dependency = True, | |
| ) | |
| npm.npm_translate_lock( | |
| name = "npm", | |
| data = [ | |
| "//:package.json", | |
| "//:pnpm-workspace.yaml", | |
| "//workspace_package:package.json", | |
| ], | |
| # location of action cache is configurable | |
| external_repository_action_cache = ".aspect/external_repository_action_cache", | |
| npmrc = "//:.npmrc", | |
| pnpm_lock = "//:pnpm-lock.yaml", | |
| quiet = False, | |
| update_pnpm_lock = True, | |
| verify_node_modules_ignored = "//:.bazelignore", | |
| ) | |
| use_repo(npm, "npm") |