cujojs / wire

A light, fast, flexible Javascript IOC container
Other
862 stars 68 forks source link

Move 3rd-party-specific plugins to separate repos #98

Open briancavalier opened 11 years ago

briancavalier commented 11 years ago

I think we're getting to that point where we should move plugins that are specific to external libraries and frameworks (dojo, jquery, jquery-ui, etc.) to their own repos and make them installable via bower or npm.

This is mostly to start discussion the idea, and whether we should do it or not. Obviously, my feeling is that the time has come :)

nitinrajawat commented 11 years ago

Hi Brian, I felt the same when I was adding Wire to clearcase as Wire added so many folders with itself which might not be used also

scothis commented 11 years ago

It's always a balance between easy of consuming a plugin vs the raw size of the main distribution. For cujo projects, I'm in favor of moving the plugins to suport that project into said project. For example, the wire plugin for rest.js lives in the rest repo instead of the wire repo. Would you move the aop related plugins into meld?

In terms of third party plugins, it currently looks like jquery and dojo are the spin outs. Are there others?

One thing to keep in mind is that having tests for the plugins run with the core wire test gives quick feedback if a core change would break a plugin. If the plugin is in another repo, a build would have to be triggered to test computability.

unscriptable commented 11 years ago

Good point about testing. It's a royal pita to test cram plugins since they are in wire and curl repos. It would be way easier if they were in crams repo. Maybe this will get easier now that we've got bower working.