diff --git a/frontend/MODULE.bazel b/frontend/MODULE.bazel index 4bb14ffac..b139ff8a7 100644 --- a/frontend/MODULE.bazel +++ b/frontend/MODULE.bazel @@ -8,6 +8,9 @@ bazel_dep(name = "aspect_rules_ts", version = "2.0.1") bazel_dep(name = "aspect_rules_rollup", version = "1.0.0") bazel_dep(name = "bazel_skylib", version = "1.4.2") +pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm") +use_repo(pnpm, "pnpm") + npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True) npm.npm_translate_lock( name = "npm", diff --git a/frontend/package.json b/frontend/package.json index daf525f1b..eeb5f762f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,4 +1,5 @@ { + "// To install dependencies with Bazel-managed pnpm, run": "bazel run @pnpm//:pnpm -- --dir $PWD install", "private": true, "pnpm": { "//packageExtensions": "Fix missing dependencies in npm packages, see https://pnpm.io/package_json#pnpmpackageextensions",