feat(compiler-cli): require node 8 as runtime engine (#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 #22669
This commit is contained in:
Igor Minar 2018-03-09 18:33:28 -08:00 committed by Kara Erickson
parent 8449eb8d62
commit c602563589
3 changed files with 16 additions and 1 deletions

View File

@ -18,6 +18,9 @@
"typescript": ">=2.7.2 <2.8", "typescript": ">=2.7.2 <2.8",
"@angular/compiler": "0.0.0-PLACEHOLDER" "@angular/compiler": "0.0.0-PLACEHOLDER"
}, },
"engines" : {
"node" : ">=8.0"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/angular/angular.git" "url": "https://github.com/angular/angular.git"

View File

@ -4,7 +4,10 @@
"compilerOptions": { "compilerOptions": {
"module": "commonjs", "module": "commonjs",
"stripInternal": false, "stripInternal": false,
"target": "es5", "target": "es2015",
"lib": [
"es2015"
],
"baseUrl": ".", "baseUrl": ".",
"rootDir": ".", "rootDir": ".",
"paths": { "paths": {

View File

@ -0,0 +1,9 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"target": "es2015",
"lib": [
"es2015"
]
}
}