seomoz / qless-core

Core Lua Scripts for qless
MIT License
85 stars 34 forks source link

Add .npmignore to support qless-js #71

Closed dlecocq closed 7 years ago

dlecocq commented 7 years ago

The npm packaging rules are such that if a .gitignore is present, but a .npmignore is not, all the rules outlined in .gitignore are used when selecting files for package time. Despite this package being a submodule for qless-js, that policy appears to be honored at this level as well. Since npm needs to package up the generated files (qless.lua and qless-lib.lua), we provide a .npmignore that explicitly does not ignore those files.

@benkirzhner @evanbattaglia

dlecocq commented 7 years ago

@benkirzhner @evanbattaglia - would you have a moment to take a look at this? It's a really minor change