-
Notifications
You must be signed in to change notification settings - Fork 324
Separate extensions into their own repos #25
Comments
I can help out on this. But you have to create the repo first 😄 |
https://github.com/wyuenho/backgrid-filter I've already moved the moment-cell extension. You can use that as a guide on how to move to the extensions. I've added you as a collaborator of the new repos. Thanks so much! |
I will do it at night 😄 May I use bower to point to the correct backgrid version to pull from? |
Let's hold off on working on bower for the moment. The requirement is to support CommonJS because it's a requirement for Travis-CI, other than that I see very little utility for support bower or component or whatever at the moment. |
Actually just need to do configure the bower.json (for the extensions) then perform If not, any pointers how do you plan to configure the extensions to point to the backgrid? For bower, just need to configure the backgrid as the dependencies to pull in. |
By directly copying backgrid.js over for now. Once all the extension have been extracted, we can then make backgrid available on npm, and all the extensions will reference it as a dependency. |
@wyuenho please review on the migration, how will you want to make backgrid available on npm and all the extensions to reference from it. I will suggest the other external components can also be reference in a similar way? |
Ideally there would be a asset management system that consumes bower or component to linearize the dependency order of the JS and CSS files during concatenation. Does such a tool exist at the moment that's not AMD? Maybe Ender? If yes that let's find out what's required to support that. |
I'm currently looking at Ender and browserify. They both look pretty good and all we have to do is support CommonJS. I'm still looking for a package manager that can package up CSS as well as JS. |
I am using requirejs to achieve this 😄 but I guess you are not into it ... |
It's a passing fad that gives you 50 different options to export 1 symbol at a time. It will soon be obsoleted by ES6. :D |
+1 CommonJS |
@wyuenho Just a few questions: Do we need to do anything to make the extensions commonjs compatible? What utility do you have in mind to improve the build? For example, the dependencies should be pulled in for the various extensions. |
I've already UMDify the extensions. I'm still looking at options for building frontend components. They all look bad so far. The least bad solution seems to be Component, but its list of packages are very out of date. |
Something similar to cartero (https://github.com/rotundasoftware/cartero) will be good |
Ok, the conclusion is more than 9 months later, package managers for SPA still suck balls. Let's just continue using package.json to get Travis-CI working now. |
No description provided.
The text was updated successfully, but these errors were encountered: