File tree 4 files changed +8
-12
lines changed
angular_devkit/schematics_cli
4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,14 @@ function loadPackageJson(p: string) {
114
114
pkg [ key ] = b ;
115
115
break ;
116
116
117
+ // Overwrite engines to a common default.
118
+ case 'engines' :
119
+ pkg [ 'engines' ] = {
120
+ 'node' : '>= 8.9.0' ,
121
+ 'npm' : '>= 5.5.1' ,
122
+ } ;
123
+ break ;
124
+
117
125
// Overwrite the package's key with to root one.
118
126
default :
119
127
pkg [ key ] = root [ key ] ;
Original file line number Diff line number Diff line change 19
19
"type" : " git" ,
20
20
"url" : " https://github.com/angular/angular-cli.git"
21
21
},
22
- "engines" : {
23
- "node" : " >= 8.9.0" ,
24
- "npm" : " >= 5.5.1"
25
- },
26
22
"author" : " Angular Authors" ,
27
23
"license" : " MIT" ,
28
24
"bugs" : {
Original file line number Diff line number Diff line change 13
13
" code generation" ,
14
14
" schematics"
15
15
],
16
- "engines" : {
17
- "node" : " >= 8.9.0" ,
18
- "npm" : " >= 5.5.1"
19
- },
20
16
"dependencies" : {
21
17
"@angular-devkit/core" : " 0.0.0" ,
22
18
"@angular-devkit/schematics" : " 0.0.0" ,
Original file line number Diff line number Diff line change 20
20
"url" : " https://github.com/angular/angular-cli/issues"
21
21
},
22
22
"homepage" : " https://github.com/angular/angular-cli/tree/master/packages/@ngtools/webpack" ,
23
- "engines" : {
24
- "node" : " >= 8.9.0" ,
25
- "npm" : " >= 5.5.1"
26
- },
27
23
"dependencies" : {
28
24
"@angular-devkit/core" : " 0.0.0" ,
29
25
"rxjs" : " 6.2.2" ,
You can’t perform that action at this time.
0 commit comments