Coder Social home page Coder Social logo

Add bower support about js-info-bubble HOT 11 OPEN

googlearchive avatar googlearchive commented on July 17, 2024
Add bower support

from js-info-bubble.

Comments (11)

gigmaps avatar gigmaps commented on July 17, 2024 1

@smohadjer bower.json was added as part of #16 - but google still needs to tag the branch master + version for the package to be able to be registered with (and therefore be installed via) bower.

There's a new pull request for google to fix this : #20 - although tags can't be added via pull request - so it's technically more a minor bug fix + comment.

For info:
If you look at https://github.com/googlemaps/js-info-bubble/releases you'll see there are no releases or tags yet for this package - the "version": "0.8" within bower.json is deprecated and not enough for bower to know which version is being installed. Bower now relies on git tags instead of version in bower.json.

See https://github.com/bower/spec/blob/master/json.md#version

from js-info-bubble.

Andreas-Schoenefeldt avatar Andreas-Schoenefeldt commented on July 17, 2024 1

+1, this would be really convenient - it would be also great, if the bower.io registry http://bower.io/search/?q=js-info-bubble was the real thing and not the fork.

from js-info-bubble.

mkolmogorov avatar mkolmogorov commented on July 17, 2024 1

Seems @daniellmb dropped his repository. Now there is no way to use js-info-bubble via bower

from js-info-bubble.

janrembold avatar janrembold commented on July 17, 2024

#19

from js-info-bubble.

gigmaps avatar gigmaps commented on July 17, 2024

@Andreas-Schoenefeldt i'm assuming that @daniellmb is simply squatting on the bower.io registry name until google gets their act together and tags the master release...

@markmcd @brendankenny @broady any reason why someone at google hasn't tagged the branch master + version of js-info-bubble?

from js-info-bubble.

yakovenkoroman1993 avatar yakovenkoroman1993 commented on July 17, 2024

I'm very keen to install the lib via bower too

from js-info-bubble.

Andreas-Schoenefeldt avatar Andreas-Schoenefeldt commented on July 17, 2024

I actualy managed to use it via bower directly with referencing the git repository:

{
  [...]
  "dependencies": {
    "js-marker-clusterer": "https://github.com/googlemaps/js-marker-clusterer/archive/gh-pages.zip",
    "js-info-bubble": "https://github.com/googlemaps/js-info-bubble/archive/gh-pages.zip",
    [...]
  },
  "version": "0.3.1",
  "license": "MIT",
  "main": [
    "web/css/main.css",
    "web/js/main.min.js"
  ]
}

So it is possible to get this, this ticket might be good to be closed ;).

from js-info-bubble.

elboletaire avatar elboletaire commented on July 17, 2024

The above solution by @Andreas-Schoenefeldt stopped working right now. I've been working with js-info-bubble installed with bower for the last month without any issue and today started returning errors 500 when retrieving js-info-bubble.

Definitely I'll drop bower ASAP from all my projects. It really sucks.

from js-info-bubble.

Andreas-Schoenefeldt avatar Andreas-Schoenefeldt commented on July 17, 2024

Hi @elboletaire , I'm actualy not sure if my solution is realy the correct one, it might be that github has just changed the location of its code export pages.

can you try bower install [email protected]:googlemaps/js-info-bubble.git --save Alternatively you can also just create your own fork with a bower.json of this.

Best wishes
Andreas

from js-info-bubble.

elboletaire avatar elboletaire commented on July 17, 2024

As said, I'm not gonna use bower anymore... if I still use bower is just for old projects, but everytime we add a new package we do so with npm + gulp instead of bower.

So, thanks for your suggestion @Andreas-Schoenefeldt, but I'm not gonna give it a try.

from js-info-bubble.

Andreas-Schoenefeldt avatar Andreas-Schoenefeldt commented on July 17, 2024

I think all the bower tickets can be closed now - it is not working anymore and should be droped.

from js-info-bubble.

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.