Skip to content

Commit

Permalink
Use canonical repo name for cross-repo npm_translate_lock
Browse files Browse the repository at this point in the history
This prevents an error such as the following when trying to run a `js_binary` defined in another module with Bzlmod:

```
ERROR: .../external/rules_pyright~/BUILD:6:23: no such package '@@[unknown repo 'rules_pyright~' requested from @@rules_pyright~]//': The repository '@@[unknown repo 'rules_pyright~' requested from @@rules_pyright~]' could not be resolved: No repository visible as '@rules_pyright~' from repository '@@rules_pyright~' and referenced by '@@rules_pyright~//:pyright__entry_point'
```
  • Loading branch information
fmeum committed Aug 2, 2024
1 parent e306629 commit 0c1d9ce
Show file tree
Hide file tree
Showing 11 changed files with 62 additions and 61 deletions.
12 changes: 6 additions & 6 deletions e2e/pnpm_lockfiles/v54/snapshots/rollup3_package_json.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions e2e/pnpm_lockfiles/v54/snapshots/rollup_package_json.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions e2e/pnpm_lockfiles/v60/snapshots/rollup3_package_json.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions e2e/pnpm_lockfiles/v60/snapshots/rollup_package_json.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions e2e/pnpm_lockfiles/v61/snapshots/rollup3_package_json.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions e2e/pnpm_lockfiles/v61/snapshots/rollup_package_json.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions e2e/pnpm_lockfiles/v90/snapshots/rollup3_package_json.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0c1d9ce

Please sign in to comment.