Skip to content

Conversation

shaunthegeek
Copy link
Member

No description provided.

@shaunthegeek
Copy link
Member Author

project 当然要提交 lock,但 lib 是否应该提交 lock 文件?

NPM 官方未说明。https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json

composer 官方以前说:

Note: For libraries it is not necessarily recommended to commit the lock file

现在说:https://getcomposer.org/doc/02-libraries.md#lock-file

For your library you may commit the composer.lock file if you want to.

所以,随意提交。

@Shsgear Shsgear merged commit bba5475 into coding:master Jun 8, 2021
@shaunthegeek shaunthegeek deleted the npm-audit-fix branch June 8, 2021 02:09
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