Skip to content

Commit

Permalink
chore: tweak tsconfig files
Browse files Browse the repository at this point in the history
  • Loading branch information
ThangHuuVu committed Sep 10, 2022
1 parent 8104cb1 commit 5727c5f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
12 changes: 7 additions & 5 deletions packages/next-auth/tsconfig.dev.json
Expand Up @@ -2,7 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"watch": true,
"emitDeclarationOnly": false,
"emitDeclarationOnly": false
},
"watchOptions": {
"excludeDirectories": [
Expand All @@ -14,12 +14,14 @@
"client",
"providers",
"core",
"utils"
],
"excludeFiles": [
"index.d.ts",
"index.js",
"adapters.d.ts",
"middleware.d.ts",
"middleware.js",
"utils"
],
"middleware.js"
]
}
}
}
9 changes: 2 additions & 7 deletions packages/next-auth/tsconfig.eslint.json
@@ -1,13 +1,8 @@
{
"extends": "./tsconfig.json",
"include": ["./tests", "./src", "./config"],
"compilerOptions": {
"types": ["@types/jest"],
"typeRoots": ["./node_modules/@types"]
},
"exclude": [
"./coverage",
"./*.js",
"./*.d.ts",
]
}
"exclude": ["./coverage", "./*.js", "./*.d.ts"]
}
10 changes: 8 additions & 2 deletions packages/next-auth/tsconfig.json
Expand Up @@ -15,10 +15,16 @@
"skipDefaultLibCheck": true,
"baseUrl": ".",
"outDir": ".",
"rootDir": "src",
"paths": {
"next": ["node_modules/next"],
"react": ["node_modules/react"]
}
},
"include": ["src/**/*", "tests/**/*", "config/**/*"],
"exclude": [
"./*.js",
"./*.d.ts",
"./*.js",
"./*.d.ts",
"./config",
"./tests",
"./coverage",
Expand Down

0 comments on commit 5727c5f

Please sign in to comment.