improve typecheck setup
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
"dev:typedoc": "typedoc --watch",
|
||||
"dev:astro": "astro dev",
|
||||
"start": "astro preview",
|
||||
"build": "typedoc && astro build",
|
||||
"typecheck": "tsc --noEmit && tsc --project cypress/tsconfig.json --noEmit"
|
||||
"build": "typedoc && astro build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/prefetch": "^0.2.0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "@itsmapleleaf/configs/tsconfig.base",
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "react",
|
||||
@@ -8,15 +8,5 @@
|
||||
"~/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs", "**/*.astro"],
|
||||
"exclude": [
|
||||
"**/node_modules/**",
|
||||
"**/coverage/**",
|
||||
"**/build/**",
|
||||
"**/dist/**",
|
||||
"**/.cache/**",
|
||||
"**/api/_build/**",
|
||||
"**/public/**",
|
||||
"app"
|
||||
]
|
||||
"exclude": ["node_modules", "dist", "public/api"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user