Skip to content

Commit

Permalink
Simplify docs and test package tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy committed Apr 24, 2024
1 parent 3fc38db commit e620216
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
12 changes: 1 addition & 11 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,8 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"esModuleInterop": true,
"types": ["react", "node"],
"incremental": true
},
"include": [
"pages/**/*.ts*",
"data/**/*",
"src/modules/components/**/*",
"next.config.mjs",
"../node_modules/@mui/material/themeCssVarsAugmentation",
"../node_modules/dayjs/plugin/utc.d.ts",
"../node_modules/dayjs/plugin/timezone.d.ts",
"../node_modules/moment-timezone/index.d.ts"
],
"include": ["pages/**/*.ts*", "data/**/*", "src/modules/components/**/*", "next.config.mjs"],
"exclude": ["docs/.next", "docs/export", "pages/playground"]
}
17 changes: 7 additions & 10 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"types": ["react", "mocha", "node"]
"types": [
"mocha",
"@mui/material/themeCssVarsAugmentation",
"dayjs/plugin/utc.d.ts",
"dayjs/plugin/timezone.d.ts"
]
},
"include": [
"e2e/**/*",
"e2e-website/**/*",
"regressions/**/*",
"@mui-internal/test-utils/initMatchers.ts",
"./node_modules/@mui/material/themeCssVarsAugmentation",
"./node_modules/dayjs/plugin/utc.d.ts",
"./node_modules/dayjs/plugin/timezone.d.ts"
],
"include": ["e2e/**/*", "e2e-website/**/*", "regressions/**/*"],
"exclude": ["regressions/build/**/*", "regressions/screenshots/**/*"]
}

0 comments on commit e620216

Please sign in to comment.