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:
parent
8449eb8d62
commit
c602563589
|
@ -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"
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"extends": "./tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es2015",
|
||||||
|
"lib": [
|
||||||
|
"es2015"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue