Skip to content

Commit

Permalink
Move tsconfig to the base
Browse files Browse the repository at this point in the history
  • Loading branch information
brionmario committed May 20, 2022
1 parent 7014b35 commit 71226a9
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 35 deletions.
33 changes: 0 additions & 33 deletions configs/common.tsconfig.json

This file was deleted.

32 changes: 30 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
{
"compilerOptions": {}
}
"compilerOptions": {
"declaration": false,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"importHelpers": true,
"lib": [
"ESNext"
],
"module": "esnext",
"moduleResolution": "node",
"rootDir": ".",
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"sourceMap": true,
"suppressImplicitAnyIndexErrors": true,
"target": "es2015",
"baseUrl": ".",
"paths": {
"@wso2is/react-components": [
"modules/react-components/src/index.ts"
]
}
},
"compileOnSave": false,
"exclude": [
"node_modules",
"tmp"
]
}
7 changes: 7 additions & 0 deletions tsconfig.base.react.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"jsx": "react",
"lib": [ "ESNext", "DOM", "DOM.Iterable" ],
}
}

0 comments on commit 71226a9

Please sign in to comment.