GithubHelp home page GithubHelp logo

Comments (10)

briandipalma avatar briandipalma commented on April 25, 2024

bower depends on both npm and node...

from flux.

totty90 avatar totty90 commented on April 25, 2024

What is the problem with that?

from flux.

briandipalma avatar briandipalma commented on April 25, 2024

Well how can something that uses bower not depend on node/npm?

from flux.

totty90 avatar totty90 commented on April 25, 2024

Just publish it to bower... I don't understand what is so complicated about that. Why do you care whenever bower depends on node/npm? It doesn't matter.

from flux.

zpao avatar zpao commented on April 25, 2024

"publishing" to bower actually means we need to keep compiled files in the repo. That might not be the worst thing, but is the exact reason we actually maintain a separate repo with builds for React (https://github.com/facebook/react-bower). It's not as simple as publishing compiled files to npm.

@briandipalma Please take it elsewhere. Yes, I mostly agree that bower is silly for how I build sites, but it serves a slightly different purpose than npm, even if it depends on node/npm. So let's respect the people who use it.

@fisherwebdev I think we could do this. I would probably just say have a dist folder and only add the Flux.js file there when we tag version updates (bower depends on git tags), rejecting other changes to that file. If you're interested, let's chat and iron it out.

from flux.

totty90 avatar totty90 commented on April 25, 2024

Thanks for your attention.

from flux.

Aaronik avatar Aaronik commented on April 25, 2024

+1

It'd be great to see this in bower. My team uses bower for our client code and if absolutely nothing else, this would make it even easier to bring into our projects.

Plus there's the fact that React is in bower, so publishing it there would allow us to keep our dependencies clean cleaner ;)

from flux.

fisherwebdev avatar fisherwebdev commented on April 25, 2024

Done. bower install flux will give you bower_components/flux/dist/Flux.js, which if you add to your page will give you a global Flux object. Flux.dispatcher is your dispatcher.

from flux.

totty90 avatar totty90 commented on April 25, 2024

Thanks, Bill (:

from flux.

upchuk avatar upchuk commented on April 25, 2024

@fisherwebdev That's cool. Maybe it would be worth putting that in the docs (readme) as well? :)

from flux.

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.