Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Commit

Permalink
fix: upgrade target compiler options
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Dec 10, 2019
1 parent 7c8565b commit 564c2c4
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 27 deletions.
5 changes: 2 additions & 3 deletions packages/serverless-fc-spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": true,
"compilerOptions": {
"target": "ES2017",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
Expand All @@ -12,8 +12,7 @@
"stripInternal": true,
"pretty": true,
"declaration": true,
"outDir": "dist",
"lib": ["es2017"]
"outDir": "dist"
},
"exclude": [
"dist",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": true,
"compilerOptions": {
"target": "ES2017",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
Expand All @@ -12,12 +12,11 @@
"stripInternal": true,
"pretty": true,
"declaration": true,
"outDir": "dist",
"lib": ["es2017", "dom"]
"outDir": "dist"
},
"exclude": [
"dist",
"node_modules",
"test"
]
}
}
4 changes: 2 additions & 2 deletions packages/serverless-invoke/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": true,
"compilerOptions": {
"target": "ES2017",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
Expand All @@ -13,7 +13,7 @@
"pretty": true,
"declaration": true,
"outDir": "dist",
"lib": ["es2017", "dom"]

},
"exclude": [
"dist",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": true,
"compilerOptions": {
"target": "ES2017",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
Expand All @@ -12,12 +12,11 @@
"stripInternal": true,
"pretty": true,
"declaration": true,
"outDir": "dist",
"lib": ["es2017", "dom"]
"outDir": "dist"
},
"exclude": [
"dist",
"node_modules",
"test"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": true,
"compilerOptions": {
"target": "ES2017",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
Expand All @@ -12,12 +12,11 @@
"stripInternal": true,
"pretty": true,
"declaration": true,
"outDir": "dist",
"lib": ["es2017", "dom"]
"outDir": "dist"
},
"exclude": [
"dist",
"node_modules",
"test"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": true,
"compilerOptions": {
"target": "ES2017",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
Expand All @@ -12,12 +12,11 @@
"stripInternal": true,
"pretty": true,
"declaration": true,
"outDir": "dist",
"lib": ["es2017", "dom"]
"outDir": "dist"
},
"exclude": [
"dist",
"node_modules",
"test"
]
}
}
5 changes: 2 additions & 3 deletions packages/serverless-scf-spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": true,
"compilerOptions": {
"target": "ES2017",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
Expand All @@ -12,8 +12,7 @@
"stripInternal": true,
"pretty": true,
"declaration": true,
"outDir": "dist",
"lib": ["es2017"]
"outDir": "dist"
},
"exclude": [
"dist",
Expand Down
5 changes: 2 additions & 3 deletions packages/spec-builder/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": true,
"compilerOptions": {
"target": "ES2017",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
Expand All @@ -12,8 +12,7 @@
"stripInternal": true,
"pretty": true,
"declaration": true,
"outDir": "dist",
"lib": ["es2017"]
"outDir": "dist"
},
"exclude": [
"dist",
Expand Down

0 comments on commit 564c2c4

Please sign in to comment.