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

docs: update npm-prune description #6987

Merged
merged 1 commit into from
Nov 13, 2023
Merged

docs: update npm-prune description #6987

merged 1 commit into from
Nov 13, 2023

Conversation

Eomm
Copy link
Contributor

@Eomm Eomm commented Nov 13, 2023

This PR targets latest

The documentation uses a deprecated --production flag.
Using it shows the following warning:

$ npm prune --production
npm WARN config production Use `--omit=dev` instead.

The --production flag is not documented as well:

image

References

Relates to:

This PR hides the --production arg in order to reduce its usage

@Eomm Eomm requested a review from a team as a code owner November 13, 2023 16:23
@wraithgar wraithgar merged commit da18e4f into npm:latest Nov 13, 2023
8 checks passed
@github-actions github-actions bot mentioned this pull request Nov 13, 2023
@Eomm Eomm deleted the patch-2 branch November 13, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants