Stop reading pnpm_lock from label_store, take 2#2395
Stop reading pnpm_lock from label_store, take 2#2395jbedard merged 1 commit intoaspect-build:mainfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
rules_js/npm/private/npm_translate_lock.bzl
Lines 163 to 167 in 8269efe
The signature of generate_repository_files no longer accepts pnpm_lock_label, yet the call still passes it as the second positional parameter. As a result the label is bound to the importers parameter and the actual importer/package dictionaries shift one position, so helpers.get_npm_imports receives a Label instead of the expected mapping and will fail during repository rule execution. The call should drop the label argument and pass importers and packages in the updated order.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
|
f45d0c9 to
6ba30b2
Compare
6ba30b2 to
38618a9
Compare



Changes are visible to end-users: yes/no
Test plan