Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

install via npm #1636

Open
indeyets opened this Issue · 29 comments
@indeyets

Currently, angular-bootstrap is installable via bower and nuget. Would be great to register package in registry at https://npmjs.org/ to let it be installed via npm install angular-ui-bootstrap

@pkozlowski-opensource

@indeyets well, sounds like a reasonable request, but we are already struggling a bit to get all the repos synchronized... Darn, there are way to many package formats / package managers for JavaScript....

What we could quickly do for now is to add package.json to the https://github.com/angular-ui/bootstrap-bower repo and publish npm package from those files.

@indeyets would you be up to opening a pull request?
@ajoslin something to take into account while working on the build-related items.

@pkozlowski-opensource

Nope, since it doesn't have build results

@dotnetwise

Angular is now on NPM please add this as well

@jsdevel

+1

@thomasfr

:+1: would be great!

@isery

+1

@gmickel

would be perfect!

@msieurtoph

Indeed it would be great.
NPM is really slow sometimes but it can be locally and easily mirrored which increases a lot the install performances. As bower is damn slow too but cannot be mirrored ... people are turning back to the initial NPM usage instead of bower's. I personnaly left bower for this reason, and I think I am not the only one. That is why I think it is more relevant to maintain an NPM registry, instead of a bower's one.

But it is just my opinion.

@msieurtoph

What about this PR : angular-ui/bootstrap-bower#36 ?

@msieurtoph

An alternative workaround :
https://npmjs.org/package/napa (using a git repo that has no package.json)

@pauleveritt

It looks like angular-bootstrap is in npmjs now. Unfortunately, it only contains the sources, not the generated concat/tpl etc.

@codeviking

The angular-bootstrap package was unpublished from npm this morning, is it coming back?

@quicksnap

Where did angular-bootstrap on NPM go? Was this managed by Angular UI team? Causing some issues for us!

@quicksnap

For anyone looking for a temporary workaround, I posted a (possibly out of date) version here: https://github.com/Extensis/angular-bootstrap

You can point your package.json to it until a working NPM package is online. You can of course do the same for a version that you need.

@maxkorp

Was this unpublished because it didn't contain sources? I'd be happy to make a pull request with adjustments so that it can automatically publish with the built sources using a prepublish script.

@maxkorp

Submitted a PR that pre-compiles and makes sure the files are available to npm (they were being ignored due to the gitignore, since there was no npmignore).

I'm guessing it was unpublished because the publisher doesnt seem (from what I can tell) to have any affiliation with angular-ui or ui-bootstrap?

@ebrehault ebrehault referenced this issue in MoonshotProject/moondash
Closed

fix travis #44

@dylanjohnson

+1

Two arguments:

  • Blocks usage in enterprise environments using npm integration with Nexus or Artifactory (neither supports Bower).
  • Many developers are already using npm for client-side package management, and the npm team has stated they'll be focusing efforts on this concern.
@maxkorp

I submitted a PR, but it seems the issue is with how angular-ui publishing is handled. See my comments here: #3108
I'll file an issue in the publisher repo, and i (or someone else) can hopefully get that up and running asap.

@leon

@ProLoser I took control over angular-bootstrap on npm and added ProLoser and christopherthielen to the owners list, so now we can have the same name in bower as in npm.

@pauleveritt pauleveritt referenced this issue in MoonshotProject/moondash
Closed

Switch ui-bootstrap back to npm #64

@rnicholus

Looks like angular-bootstrap on npm is 0.13.0-SNAPSHOT, even though the package.json lists the version as 0.12.0.

@chrisirhc
Owner

Note to self/maintainers refer to angular/angular.js#10732

@chrisirhc chrisirhc added this to the Backlog milestone
@wesleycho
Owner

We definitely should look to try to tackle this sometime soon.

@rvanbaalen
Owner

@wesleycho Added feature for 0.14?

@wesleycho
Owner

We might want to think about doing this after 0.13.0 is out, and add support for CommonJS.

@BobbieBarker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.