-
Couldn't load subscription status.
- Fork 359
Upgrade from 1.0.1 to 2.0.0 beta.3
Stoovm edited this page Aug 24, 2018
·
3 revisions
Follow these steps to upgrade to Covalent 2.0.0-beta.3 upgrade:
- Go here https://update.angular.io and upgrade to Angular 6 as needed by Covalent 2.0.0-beta.3
- Select Angular version upgrade from
5.2(which Covalent 1.0.1 is using) to6(which Covalent 2.0.0-beta.3 is using) - Select other options respective of your projects configuration
- Complete all the steps indicated
- Select Angular version upgrade from
- Upgrade the Covalent packages to:
"@covalent/core": "2.0.0-beta.3",
"@covalent/dynamic-forms": "2.0.0-beta.3",
"@covalent/highlight": "2.0.0-beta.3",
"@covalent/http": "2.0.0-beta.3",
"@covalent/markdown": "2.0.0-beta.3",
Caveats side note:
- The
ng upgradecommand missed a RXJS import file paths mod that needed to occur. Try running your project withng serveand you may see those error too, it's very project setup specific so you may not see any issues. - You might have to manually upgrade
@angular/material/cdkto ^6.x.x ifng upgradedoesn't take care of it. - You might have to manually upgrade
@ngx-translate/coreto ^10.x.x to support Angular 6 ifng upgradedoesn't take care of it. - You might have to manually upgrade
@ngx-translate/http-loaderto ^3.x.x to support Angular 6 ifng upgradedoesn't take care of it. - In your package.json if you have a script using the
--sourcemapflag on anng testorng buildcommand, you will have to change it too--source-mapor else an error with be thrown when running that script. - In your package.json if you have a script using the
--proxy-configflag on anng e2ecommand, you will have to change it too--protractor-configor else an error with be thrown when running that script.