bazel-contrib/rules_nodejs

[Bug]: @bazel/runfiles does not work with non-bzlmod when a _repo_mapping file exists

Open

#3,797 建立於 2024年10月16日

在 GitHub 查看
 (7 留言) (1 反應) (0 負責人)Starlark (532 fork)github user discovery
bughelp wantedneed: funding

倉庫指標

Star
 (760 star)
PR 合併指標
 (PR 指標待抓取)

描述

What happened?

When bzlmod is disabled it seems bazel7 still creates a .repo_mapping file which is configured different then when bzlmod is enabled.

Version

rules_nodejs with https://github.com/bazel-contrib/rules_nodejs/commit/21b56da9f20c9c5e8b8c1ac19052f1f7cc7b5920 and bazel7 with --enable_bzlmod=false

How to reproduce

Run the rules_js `e2e/runfiles` test with bazel7 and non-bzlmod: https://github.com/aspect-build/rules_js/commit/0cf77d9562d59c7a4e59269ba888ad21d4f99ce7

Any other information?

No response

貢獻者指南