angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.54k stars 3k forks source link

why npm install the version is 0.4.3 #3571

Closed Tony1952466760 closed 6 years ago

Tony1952466760 commented 6 years ago

I use npm i -S angular-ui-router , npm install the version is 0.4.3 . image

I use bower install angular-ui-router bower install the version is 1.0.10. why npm din't update version.

Narretz commented 6 years ago

for npm use npm install --save @uirouter/angularjs This is in the tutorial

christopherthielen commented 6 years ago

Here's the blog post announcing the change: https://ui-router.github.io/blog/uirouter-scoped-packages/

For some reason the npm dist-tags were broken. As of today, I have updated the latest dist-tag to point to the final version published as angular-ui-router. I also re-deprecated the npm package. Users should now get a deprecation warning when installing angular-ui-router.

$ npm add --save angular-ui-router

npm WARN deprecated angular-ui-router@0.4.3: This npm package 'angular-ui-router' has been renamed to '@uirouter/angularjs'. Please update your package.json. See https://ui-router.github.io/blog/uirouter-scoped-packages/
npm WARN t@1.0.0 No description
npm WARN t@1.0.0 No repository field.