Add common target option to set npm_package_name
and npm_package_version
environment variables
#30471
oliveryasuna
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When you run an NPM script, NPM sets the
npm_package_name
andnpm_package_version
environment variables. See here for more details.This functionality would be particularly useful for the
nx:run-commands
executor. However, it could also be useful for any other executor that runs code that may need those environment variables.Beta Was this translation helpful? Give feedback.
All reactions