immobiliare / fastify-metrics

📊 Fastify plugin that integrates metrics collection and dispatch to statsd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test that the package is packed correctly before publishing

dnlup opened this issue · comments

commented

What kind of problem are we trying to avoid?

commented

That we could be forgetting to include a new file in the files field in the package.json 😁

Ok but then you would have to remember to include new files in the script that checks for them, we could forget that too!

commented

I was thinking using npm pack and then installing the package in a dummy project to see if it doesn't crash.

I never had the need for this kind of check! If you think it may be useful I have no strong opinion about 😄