Skip to content

Commit

Permalink
test: prove that use_repo(pnpm) works
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed May 16, 2024
1 parent 3d45207 commit 43d60d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e/bzlmod/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ npm.npm_import(
)
use_repo(npm, "npm_meaning-of-life")
use_repo(npm, "npm_meaning-of-life__links")

pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm")
# Allows developers to get a local node_modules tree, using
# bazel run -- @pnpm --dir $PWD install
use_repo(pnpm, "pnpm")

0 comments on commit 43d60d3

Please sign in to comment.