Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for specifying npm install args #1428

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Conversation

prabhu
Copy link
Collaborator

@prabhu prabhu commented Oct 22, 2024

Example:

export NPM_INSTALL_ARGS="--package-lock-only"

This is also supported for node with version types such as -t nodejs20 etc.

Use capitalized prefix for other package managers. Example for pnpm, use PNPM_INSTALL_ARGS. For yarn, YARN_INSTALL_ARGS.

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu added enhancement New feature or request sponsored lang:node labels Oct 22, 2024
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu merged commit b309cff into master Oct 22, 2024
27 of 28 checks passed
@prabhu prabhu deleted the feature/npm-install-args branch October 22, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant