Skip to content

Conversation

m4rch3n1ng
Copy link
Contributor

running npm help ci and npm ci --help suggests the option package-lock and --no-package-lock respectively, even though the npm help ci explicitly states that this has no effect on npm ci.
this also applies to npm help install-ci-test and npm install-ci-test --help.

this pr would remove that unnecessary option suggestion.

@m4rch3n1ng m4rch3n1ng requested a review from a team as a code owner May 18, 2023 17:42
This will also prevent _writing_ \`package-lock.json\` if \`save\` is
true.
This configuration does not affect \`npm ci\`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thinking here is that now that this isn't listed as a flag on npm ci the caveat isn't needed.

@wraithgar wraithgar merged commit c3638ce into npm:latest May 18, 2023
@github-actions github-actions bot mentioned this pull request May 18, 2023
@m4rch3n1ng m4rch3n1ng deleted the ci-no-package-lock branch May 19, 2023 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants