-
Notifications
You must be signed in to change notification settings - Fork 358
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 upgrade
command missed a RXJS import file paths mod that needed to occur. Try running your project withng serve
and 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/cdk
to ^6.x.x ifng upgrade
doesn't take care of it. - You might have to manually upgrade
@ngx-translate/core
to ^10.x.x to support Angular 6 ifng upgrade
doesn't take care of it. - You might have to manually upgrade
@ngx-translate/http-loader
to ^3.x.x to support Angular 6 ifng upgrade
doesn't take care of it. - In your package.json if you have a script using the
--sourcemap
flag on anng test
orng build
command, you will have to change it too--source-map
or else an error with be thrown when running that script. - In your package.json if you have a script using the
--proxy-config
flag on anng e2e
command, you will have to change it too--protractor-config
or else an error with be thrown when running that script.