Skip to content

Commit

Permalink
Simplify tsconfig.build.json
Browse files Browse the repository at this point in the history
 - Remove "compilerOptions.outDir", it is always specified
   via command-line arguments

 - Remove "exclude: node_modules", as that's already the default

 - Add "$schema" referencing tsconfig schema to allow VSCode
   to validate teh file and offer auto-completion.
  • Loading branch information
bajtos committed May 25, 2017
1 parent cb8b1f6 commit 7be3de2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 36 deletions.
7 changes: 1 addition & 6 deletions packages/authentication/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.common.json",
"compilerOptions": {
"outDir": "./lib6"
},
"include": [
"src"
],
"exclude": [
"node_modules"
]
}
7 changes: 1 addition & 6 deletions packages/context/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.common.json",
"compilerOptions": {
"outDir": "./lib6"
},
"include": [
"src"
],
"exclude": [
"node_modules"
]
}
7 changes: 1 addition & 6 deletions packages/core/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.common.json",
"compilerOptions": {
"outDir": "./lib6"
},
"include": [
"src"
],
"exclude": [
"node_modules"
]
}
7 changes: 1 addition & 6 deletions packages/openapi-spec-builder/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.common.json",
"compilerOptions": {
"outDir": "./lib6"
},
"include": [
"src"
],
"exclude": [
"node_modules"
]
}
7 changes: 1 addition & 6 deletions packages/openapi-spec/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.common.json",
"compilerOptions": {
"outDir": "./lib6"
},
"include": [
"src"
],
"exclude": [
"node_modules"
]
}
7 changes: 1 addition & 6 deletions packages/testlab/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.common.json",
"compilerOptions": {
"outDir": "./lib6"
},
"include": [
"src"
],
"exclude": [
"node_modules"
]
}

0 comments on commit 7be3de2

Please sign in to comment.