Giter VIP home page Giter VIP logo

Comments (8)

tracker1 avatar tracker1 commented on July 21, 2024

Since you need npm to get bower, why not just skip the middle man, and use npm? You can use the path ./node_modules/uuid/index.js as a point of reference...

I've been leaning the opposite way, to just use npm, and skip bower altogether.

from uuid.

gregberge avatar gregberge commented on July 21, 2024

Npm and bower are not working the same way, npm is installing dependencies in sub-directory while bower is installing dependency in the same directory.

When you work on the client, you don't want that line to include jquery:

bower_components/bootstrap/bower_components/jquery/dist/jquery.js

Because if another module needs jQuery, what jQuery version to choose? This is solved by bower resolution.

That's why I use bower for client dependencies.

from uuid.

julianxhokaxhiu avatar julianxhokaxhiu commented on July 21, 2024

+1 bower is quite different and is also useful to separate "frontend" stuff from "backend" stuff.

Can you please add it?

from uuid.

alexsanzdev avatar alexsanzdev commented on July 21, 2024

Why do you need bower.json?
node-uuid is already available through Bower.

bower info node-uuid

Latest version 1.4.2 is available.

from uuid.

gregberge avatar gregberge commented on July 21, 2024

I don't know why there is a debate of adding or not adding a bower.json, bower has a spec, every packages available on bower should have a bower.json. If you don't want to follow this rule I don't care, it was just a suggestion.

from uuid.

broofa avatar broofa commented on July 21, 2024

Hey gang, sorry for not chiming in earlier. I'm not a Bower user so it's hard for me to opine on the pros and cons of this. But it seems like most other major projects have bower.json support so I'm happy to take a pull request.

from uuid.

maboiteaspam avatar maboiteaspam commented on July 21, 2024

hi,

following http://bower.io/docs/creating-packages/ see PR #105

Hope it s fine.

from uuid.

broofa avatar broofa commented on July 21, 2024

Closed in #105

from uuid.

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.