forked from nrwl/nx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nx): update to Angular 8.2, Devkit 8.3, and NgRx 8.3
Incorporates fix from angular/angular-cli#15041 which changed the behavior of registering schematic defaults
- Loading branch information
1 parent
70d71b3
commit 7f149d2
Showing
21 changed files
with
772 additions
and
566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
packages/angular/src/migrations/update-8-5-0/upgrade-cli-8-3.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { chain, Tree, noop, TaskId } from '@angular-devkit/schematics'; | ||
import { addUpdateTask, readJsonInTree, formatFiles } from '@nrwl/workspace'; | ||
|
||
const updateCLI = addUpdateTask('@angular/cli', '8.3.2'); | ||
|
||
function updateNgrx() { | ||
return (host: Tree) => { | ||
const { dependencies } = readJsonInTree(host, 'package.json'); | ||
|
||
if (dependencies && dependencies['@ngrx/store']) { | ||
return chain([addUpdateTask('@ngrx/store', '8.3.0'), formatFiles()]); | ||
} | ||
|
||
return noop(); | ||
}; | ||
} | ||
|
||
export default function() { | ||
return chain([updateCLI, updateNgrx()]); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export const nxVersion = '*'; | ||
export const angularVersion = '^8.0.0'; | ||
export const angularDevkitVersion = '^0.800.1'; | ||
export const angularVersion = '^8.2.0'; | ||
export const angularDevkitVersion = '^0.803.0'; | ||
export const angularJsVersion = '1.6.6'; | ||
export const ngrxVersion = '8.1.0'; | ||
export const ngrxVersion = '8.3.0'; | ||
export const rxjsVersion = '~6.4.0'; | ||
export const jestPresetAngularVersion = '7.0.0'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.