[FR]: Use hermetic Java toolchain to execute npm lifecycle hooks #1480
Labels
customer request
A request from a customer or potential customer
discussion needed
Discussion required to progress further
enhancement
New feature or request
What is the current behavior?
Some NPM packages execute Java or use Java paths (example package) in their postinstall hooks. Those paths currently point to the system JDK.
Describe the feature
We'd like to be able to use the Bazel Java toolchain when running lifecycle hooks instead.
Ideally this is a general solution for passing in hermetic toolchains for actions run by
npm_import
The text was updated successfully, but these errors were encountered: