File tree 1 file changed +8
-13
lines changed
packages/schematics/angular/migrations/update-8
1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,14 @@ import { latestVersions } from '../../utility/latest-versions';
11
11
12
12
export function updateDependencies ( ) {
13
13
return ( host : Tree ) => {
14
-
15
14
const dependenciesToUpdate : Record < string , string > = {
16
15
'@angular-devkit/build-angular' : latestVersions . DevkitBuildAngular ,
17
16
'@angular-devkit/build-ng-packagr' : latestVersions . DevkitBuildNgPackagr ,
18
17
'@angular-devkit/build-webpack' : latestVersions . DevkitBuildWebpack ,
19
18
'zone.js' : latestVersions . ZoneJs ,
20
- ' tsickle' : latestVersions . tsickle ,
19
+ tsickle : latestVersions . tsickle ,
21
20
'ng-packagr' : latestVersions . ngPackagr ,
22
- // FIXME: change to ^2.3.2 as soon as it's released with the pr208 fix
23
- 'web-animations-js' : 'github:angular/web-animations-js#release_pr208' ,
21
+ 'web-animations-js' : '^2.3.2' ,
24
22
} ;
25
23
26
24
for ( const [ name , version ] of Object . entries ( dependenciesToUpdate ) ) {
@@ -29,15 +27,12 @@ export function updateDependencies() {
29
27
continue ;
30
28
}
31
29
32
- addPackageJsonDependency (
33
- host ,
34
- {
35
- type : current . type ,
36
- name,
37
- version,
38
- overwrite : true ,
39
- } ,
40
- ) ;
30
+ addPackageJsonDependency ( host , {
31
+ type : current . type ,
32
+ name,
33
+ version,
34
+ overwrite : true ,
35
+ } ) ;
41
36
}
42
37
} ;
43
38
}
You can’t perform that action at this time.
0 commit comments