Skip to content

Commit c602563

Browse files
IgorMinarkara
authored andcommitted
feat(compiler-cli): require node 8 as runtime engine (angular#22669)
This is not expected to be a breaking change for anyone who's on Node LTS (currently v8) and aligns @angular/compilar-cli with @angular/cli's runtime requirements. PR Close angular#22669
1 parent 8449eb8 commit c602563

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

packages/compiler-cli/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"typescript": ">=2.7.2 <2.8",
1919
"@angular/compiler": "0.0.0-PLACEHOLDER"
2020
},
21+
"engines" : {
22+
"node" : ">=8.0"
23+
},
2124
"repository": {
2225
"type": "git",
2326
"url": "https://github.com/angular/angular.git"

packages/compiler-cli/tsconfig-build.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"compilerOptions": {
55
"module": "commonjs",
66
"stripInternal": false,
7-
"target": "es5",
7+
"target": "es2015",
8+
"lib": [
9+
"es2015"
10+
],
811
"baseUrl": ".",
912
"rootDir": ".",
1013
"paths": {
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"target": "es2015",
5+
"lib": [
6+
"es2015"
7+
]
8+
}
9+
}

0 commit comments

Comments
 (0)