GithubHelp home page GithubHelp logo

Comments (17)

mallim avatar mallim commented on August 16, 2024

I can help out on this. But you have to create the repo first 😄

from backgrid.

wyuenho avatar wyuenho commented on August 16, 2024

https://github.com/wyuenho/backgrid-filter
https://github.com/wyuenho/backgrid-select-all
https://github.com/wyuenho/backgrid-paginator
https://github.com/wyuenho/backgrid-text-cell
https://github.com/wyuenho/backgrid-select2-cell

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!

from backgrid.

mallim avatar mallim commented on August 16, 2024

I will do it at night 😄 May I use bower to point to the correct backgrid version to pull from?

from backgrid.

wyuenho avatar wyuenho commented on August 16, 2024

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.

from backgrid.

mallim avatar mallim commented on August 16, 2024

Actually just need to do configure the bower.json (for the extensions) then perform
npm install bower

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.

from backgrid.

wyuenho avatar wyuenho commented on August 16, 2024

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.

from backgrid.

mallim avatar mallim commented on August 16, 2024

@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?

from backgrid.

wyuenho avatar wyuenho commented on August 16, 2024

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.

from backgrid.

wyuenho avatar wyuenho commented on August 16, 2024

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.

from backgrid.

mallim avatar mallim commented on August 16, 2024

I am using requirejs to achieve this 😄 but I guess you are not into it ...

from backgrid.

wyuenho avatar wyuenho commented on August 16, 2024

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

from backgrid.

kriswill avatar kriswill commented on August 16, 2024

+1 CommonJS

from backgrid.

wyuenho avatar wyuenho commented on August 16, 2024

@mallim I've grafted backgrid's old history back onto the extension repos and did a force push. Please clone again and see if there's any problem.

I'm closing this ticket for now.

Thanks @mallim a lot. You've been a big help. Where do I send a cake :D ?

from backgrid.

mallim avatar mallim commented on August 16, 2024

@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.

from backgrid.

wyuenho avatar wyuenho commented on August 16, 2024

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.

from backgrid.

mallim avatar mallim commented on August 16, 2024

Something similar to cartero (https://github.com/rotundasoftware/cartero) will be good

from backgrid.

wyuenho avatar wyuenho commented on August 16, 2024

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.

from backgrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.