Skip to content

Commit

Permalink
Tidy config base, add whatever Next wants to add itself
Browse files Browse the repository at this point in the history
  • Loading branch information
rcantin-w committed Jul 1, 2024
1 parent 17c5710 commit 4f194ae
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions common/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../config/tsconfig-base",
"compilerOptions": {
"module": "commonjs"
},
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
}
8 changes: 3 additions & 5 deletions config/tsconfig-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,19 @@
"compilerOptions": {
"allowJs": false,
"composite": true,
"downlevelIteration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"jsx": "preserve",
"lib": ["dom", "dom.iterable", "esnext"],
"module": "esnext",
"lib": ["esnext"],
"moduleResolution": "node",
"noEmit": true,
"paths": {},
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": false,
"strictNullChecks": true,
"target": "es5"
"target": "es6",
}
}
3 changes: 3 additions & 0 deletions content/webapp/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../config/tsconfig-base",
"compilerOptions": {
"module": "esnext"
},
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"ts-node": {
Expand Down
3 changes: 3 additions & 0 deletions identity/webapp/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../../config/tsconfig-base",
"compilerOptions": {
"module": "commonjs"
},
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"ts-node": {
Expand Down

0 comments on commit 4f194ae

Please sign in to comment.