4 ms·
In that case, it makes more sense to publish each submodule as an individual NPM module.
by namuol 12y ago
In that case, it makes more sense to publish each submodule as an individual NPM module.
- qubyte 12y agoFurther, it's worth putting the components on npm individually and retaining 101, but making it depend on those modules (so it's really just a wrapper). This is what lodash should do imo. Lodash has the separate bits on npm, but lodash itself does not depend on them, which is a little weird.
- tjmehta 12y agoI like this idea - just would be really annoying to maintain each module as a versioned dependency...
- tjmehta 12y agoI definitely did that for a while, but eventually found it annoying. I know it's definitely better to package each of these as a separate module. But uses of each of the tiny modules like these can come and go very quickly and keeping the package.json up to date becomes tedious..
- anonfunction 12y agoThat's where a build system comes into place. I noticed you don't seem to be using Grunt or Gulp which could really cut down on the maintenance.