Meteor-Community-Packages / meteor-autoform-bs-datepicker

Custom "bootstrap-datepicker" input type for AutoForm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies questions

SachaG opened this issue · comments

Looking at this, I was wondering if there's any specific reason why bootstrap, bootstrap-datepicker, and autoform are not included as dependencies in package.js?

Also, I might be wrong but I don't think mizzao:bootstrap-3 is actually required, just rajit:bootstrap3-datepicker works fine on its own.

I've tried to avoid listing explicit package dependencies if possible because there are many possible packages you could be using and/or you could just put the libraries in /lib. In theory I could list every possible pkg as weak dependencies, but since load order is unlikely to cause problems, I don't see the point.

AFAIK, bootstrap3-datepicker library needs the main bootstrap library, but maybe rajit:bootstrap3-datepicker in particular already pulls in the full bootstrap.

That makes sense. Generally speaking, I do wish these packages didn't depend on Bootstrap. It seems wasteful to include all of Bootstrap just to get a date picker.