Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading boilerplate to Angular 1.5 #425

Open
josoroma-zz opened this issue May 24, 2016 · 3 comments
Open

Upgrading boilerplate to Angular 1.5 #425

josoroma-zz opened this issue May 24, 2016 · 3 comments

Comments

@josoroma-zz
Copy link

josoroma-zz commented May 24, 2016

Hi Hackers!

Our lead wants my team to upgrade to Angular 1.5, do you think worth the effort to upgrade, what do you believe we should consider before doing this task (according to the current ngbp version)?

Thanks in advance!

@yob171182
Copy link

I need too upgrade angular version in my ngboilerplate project, some idea or recomendation???....thanks

@msmid
Copy link

msmid commented Sep 29, 2016

Hi,

I had hard time to figure it out what needs to be done in order to upgrade Angular. However I found a way but I am not sure if it is legit. You can upgrade angular with bower. Just edit bower.json in root directory to something like this:

{
  "name": "ng-boilerplate",
  "version": "0.3.2",
  "devDependencies": {
    "angular": "~1.5",
    "angular-mocks": "~1.2",
    "bootstrap": "~3.1",
    "angular-bootstrap": "~0.10.0",
    "angular-ui-router": "~0.2"
  }
}

then run bower install --force

This will force bower to reinstall all packages. So far, everything looks fine.

@JD-Spooky
Copy link

@msmid
just following on you awnser
I would delete all the packages in the vendor folder and use this in the bower.json (note other packages listed have been updated too)

{ "name": "ng-boilerplate", "version": "0.3.2", "devDependencies": { "angular": "1.5", "angular-mocks": "~1.5", "bootstrap": "~3.3", "angular-bootstrap": "~2.5.0", "angular-ui-router": "^0.4.2" } }

no need for bower install --force
just use bower install

..you might also want to use the latest Angularjs if you are upgrading .."1.6.2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants