Skip to content

Commit

Permalink
chore(ts): shifts tsconfig to have a separate config for top root-dir…
Browse files Browse the repository at this point in the history
… files
  • Loading branch information
Tbhesswebber committed Jan 13, 2024
1 parent 88d9662 commit ef6c49e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"module": "ESNext",
"lib": ["ES2020"],
"skipLibCheck": true,
"allowJs": true,

/* Bundler mode */
"moduleResolution": "bundler",
Expand All @@ -28,5 +27,5 @@
/* Types */
"types": ["node", "vitest/globals"],
},
"include": ["src", "./**/*.ts", "./*.config.*"]
"include": ["src"]
}
8 changes: 8 additions & 0 deletions tsconfig.root.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends":"./tsconfig.json",
"include": ["./**/*.ts", "./**/*.config.*"],
"exclude": ["src", "dist", "node_modules"],
"compilerOptions": {
"allowJs": true
}
}

0 comments on commit ef6c49e

Please sign in to comment.