Fastify: package-lock.json missing

Created on 11 Jan 2019  路  3Comments  路  Source: fastify/fastify

馃挰 Questions and Help

I'm wondering why you do not use package-lock.json ? Which is against npm recommendation.

Also if you don't want to commit this file, why is it not filtered in the .gitignore. This would avoid PRs that add this file (I saw some comments about this in the code reviews).

question

Most helpful comment

https://github.com/sindresorhus/ama/issues/479#issuecomment-310661514 sum up my point of view.
I don't know what other members of this community thinks, so we might want to re-evaluate our decision in this regard.

We also support both yarn and npm, and it means that the respective lockfiles would likely conflict. Overall it's probably a good idea not to commit one.

Note that https://github.com/fastify/fastify/blob/master/.gitignore#L62 excludes them already. Somebody would have to forcefully add them.

All 3 comments

https://github.com/sindresorhus/ama/issues/479#issuecomment-310661514 sum up my point of view.
I don't know what other members of this community thinks, so we might want to re-evaluate our decision in this regard.

We also support both yarn and npm, and it means that the respective lockfiles would likely conflict. Overall it's probably a good idea not to commit one.

Note that https://github.com/fastify/fastify/blob/master/.gitignore#L62 excludes them already. Somebody would have to forcefully add them.

Thanks ! I see your point know based on sindresorhus' comment.

Didn't noticed this one >.< https://github.com/fastify/fastify/blob/master/.gitignore#L62, I originally wrote this in fastify-gql and decided to move this issue here.

Feel free to send a PR to ignore it in any of my modules.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kojilab picture kojilab  路  3Comments

zhaoyao91 picture zhaoyao91  路  3Comments

lfurzewaddock picture lfurzewaddock  路  3Comments

rabbitooops picture rabbitooops  路  3Comments

avilang picture avilang  路  3Comments