Giter VIP home page Giter VIP logo

Comments (7)

codeaholics avatar codeaholics commented on July 18, 2024 1

Or, to make a single file that works in both the browser and node, etc. I'd happily volunteer to help with this but I don't fully understand the issues that make the current approach necessary.

from node-semver.

eddiemonge avatar eddiemonge commented on July 18, 2024

I think this was implemented with isaacs@4428702 unless you want something else?

from node-semver.

codeaholics avatar codeaholics commented on July 18, 2024

This requires a build step to generate the AMD-ready bundle, which most other libraries don't. Lots of simple projects don't have build steps.

from node-semver.

eddiemonge avatar eddiemonge commented on July 18, 2024

from npm install:

ls node_modules/semver
----------------------------
LICENSE              README.md            foot.js              package.json         
semver.browser.js.gz semver.min.js        test
Makefile             bin                  head.js              
semver.browser.js    semver.js            semver.min.js.gz

Its a npm module, not a bower one. npm install it and then require it. Or make a bower compatible fork.

from node-semver.

codeaholics avatar codeaholics commented on July 18, 2024

Or raise an issue asking the author to make it bower compatible...

from node-semver.

isaacs avatar isaacs commented on July 18, 2024

Install from npm, or run the build script. I'm not going to commit build artifacts to git, sorry.

from node-semver.

codeaholics avatar codeaholics commented on July 18, 2024

That's OK. I moved off the project that required this months ago.

from node-semver.

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.