What is the current behavior?
npm_translate_lock generates lifecycle hooks based on the pnpm-lock requiresBuild flag
Describe the feature
Pnpm supports limiting the lifecycle hooks that are run using pnpm.onlyBuiltDependencies, rules_js should respect this.
This may also be required for pnpm v9+ due to pnpm/pnpm@0e6b757
What is the current behavior?
npm_translate_lockgenerates lifecycle hooks based on the pnpm-lockrequiresBuildflagDescribe the feature
Pnpm supports limiting the lifecycle hooks that are run using pnpm.onlyBuiltDependencies, rules_js should respect this.
This may also be required for pnpm v9+ due to pnpm/pnpm@0e6b757