Skip to content

Commit

Permalink
Consolidate the tsconfig.json files into my-toolchain/includes/tsconf…
Browse files Browse the repository at this point in the history
…ig-web.json
  • Loading branch information
pgonzal committed Sep 12, 2018
1 parent 31682a2 commit bfeec00
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 60 deletions.
32 changes: 2 additions & 30 deletions apps/my-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,8 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "./node_modules/my-toolchain/includes/tsconfig-web.json",

"compilerOptions": {
"outDir": "lib",

"forceConsistentCasingInFileNames": true,
"jsx": "react",
"declaration": true,
"sourceMap": true,
"inlineSources": true,
"experimentalDecorators": true,
"strictNullChecks": true,
"types": [
],

"module": "esnext",
"moduleResolution": "node",
"target": "es5",
"lib": [
"es5",
"scripthost",
"es2015.collection",
"es2015.promise",
"es2015.iterable",
"dom"
]
},
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"lib"
]
}
}
32 changes: 2 additions & 30 deletions libraries/my-controls/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,8 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "./node_modules/my-toolchain/includes/tsconfig-web.json",

"compilerOptions": {
"outDir": "lib",

"forceConsistentCasingInFileNames": true,
"jsx": "react",
"declaration": true,
"sourceMap": true,
"inlineSources": true,
"experimentalDecorators": true,
"strictNullChecks": true,
"types": [
],

"module": "esnext",
"moduleResolution": "node",
"target": "es5",
"lib": [
"es5",
"scripthost",
"es2015.collection",
"es2015.promise",
"es2015.iterable",
"dom"
]
},
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"lib"
]
}
}
36 changes: 36 additions & 0 deletions tools/my-toolchain/includes/tsconfig-web.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"$schema": "http://json.schemastore.org/tsconfig",

"compilerOptions": {
"outDir": "../../../lib",

"forceConsistentCasingInFileNames": true,
"jsx": "react",
"declaration": true,
"sourceMap": true,
"inlineSources": true,
"experimentalDecorators": true,
"strictNullChecks": true,
"types": [
],

"module": "esnext",
"moduleResolution": "node",
"target": "es5",
"lib": [
"es5",
"scripthost",
"es2015.collection",
"es2015.promise",
"es2015.iterable",
"dom"
]
},
"include": [
"../../../src/**/*.ts",
],
"exclude": [
"../../../node_modules",
"../../../lib"
]
}

0 comments on commit bfeec00

Please sign in to comment.