angular / router

The Angular 1 Component Router
MIT License
665 stars 135 forks source link

Publish router to bower registry? #199

Open rkoch opened 9 years ago

rkoch commented 9 years ago

I am wondering if you already published the new router (hopefully called rooter someday :wink:) to the bower registry? When I search for angular-new-router there are no results.

And if it was not published, will it be someday? Or should I generally use npm for angular 2 modules?

btford commented 9 years ago

I'm not opposed to publishing the new router for Angular 1 on bower, but I'm recommending that people use npm. It's generally a bit more sane, and the npm team is going to be working on improving npm for client-side use.

For Angular 2, I'm not sure we'll officially support bower at all. It's still yet to be determined.

darcnite3000 commented 9 years ago

as a side note i would recommend we wait to publish to places be it npm, bower, jspm 'til we formally name it, thus less confusion

xmlking commented 9 years ago

:+1: for jspm

ghost commented 9 years ago

Could new-router be made available as CDN until this question is resolved?

The other Angular components seems to be made available in beta versions. I'm currently testing the new-router and it is the only component that I had to install locally.

0x-r4bbit commented 9 years ago

You can always use bower to install packages from gitbub endpoints a la bower install angular/router On Mar 23, 2015 7:44 PM, "Urbanviking" notifications@github.com wrote:

Could new-router be made available as CDN until this question is resolved?

The other Angular components seems to be made available in beta versions. I'm currently testing the new-router and it is the only component that I had to install locally.

— Reply to this email directly or view it on GitHub https://github.com/angular/router/issues/199#issuecomment-85138428.

hlobil commented 9 years ago

for cdn you could use

https://cdn.rawgit.com/angular/router/v0.5.0/dist/router.es5.js

rkoch commented 9 years ago

Thanks for clarifying. I think it makes sense to publish it to bower for Angular 1 as soons as 1.4 is stable.

In the meantime I'll just install it directly from the git repo - thanks @PascalPrecht for the hint.

ghost commented 9 years ago

@hlobil Thank you, I'll try this.

rudzikdawid commented 8 years ago

+1

LearnShare commented 8 years ago

I use https://www.npmjs.com/package/ngcomponentrouter for jspm (and Angular.js 1.5):

jspm install npm:ngcomponentrouter

That works well for me.