Skip to content

[Bug]: npm_translate_lock should respect [os] and [cpu] flags #2140

@jbedard

Description

@jbedard

See https://github.com/pnpm/spec/blob/master/lockfile/9.0.md#packagesdependencyidos

rules_js should use something such as select to exclude packages of other os/cpu architectures to avoid unnecessary targets and also avoid rules such as js_image_layer including packages for all os/cpus.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingprioritizedValuable work that we hope to complete soon

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions