swarthy / redis-semaphore

Distributed mutex and semaphore based on Redis
MIT License
148 stars 28 forks source link

update package.json with files array #230

Open hilleer opened 1 month ago

hilleer commented 1 month ago

Use files property in package.json to explicit show what files are included (in contradiction to .npmignore where you specifically exclude "some" files).

This way one avoids accidentally publishing non-compiled code like src/ folder etc:

Screenshot 2024-07-25 at 09 03 00

Note that a bunch of files are always considered when publishing and does not have to be listed in the list accordingly to the docs:

Screenshot 2024-07-25 at 09 01 49