mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-22 11:05:09 -05:00
Exclude scripts from main typecheck
The dicts might or might not exist. The new command can be ran when the dicts do exist.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
"biome:fix": "biome check --error-on-warnings --write .",
|
||||
"biome:fix:unsafe": "biome check --error-on-warnings --write --unsafe .",
|
||||
"typecheck": "react-router typegen && tsc --noEmit",
|
||||
"typecheck:scripts": "tsc --noEmit -p scripts",
|
||||
"test:unit:browser": "cross-env VITE_SITE_DOMAIN=http://localhost:5173 BROWSER_HEADLESS=true vitest --silent=passed-only run",
|
||||
"test:browser:ui": "cross-env VITE_SITE_DOMAIN=http://localhost:5173 vitest --silent=passed-only --project browser",
|
||||
"test:unit:browser:ui": "cross-env VITE_SITE_DOMAIN=http://localhost:5173 vitest --silent=passed-only",
|
||||
|
||||
5
scripts/tsconfig.json
Normal file
5
scripts/tsconfig.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"include": ["./**/*.ts", "../types/**/*.d.ts"],
|
||||
"exclude": []
|
||||
}
|
||||
@@ -5,6 +5,7 @@
|
||||
"**/*.tsx",
|
||||
".react-router/types/**/*"
|
||||
],
|
||||
"exclude": ["scripts/**/*"],
|
||||
"compilerOptions": {
|
||||
"types": ["@react-router/node", "vite/client"],
|
||||
"rootDirs": [".", "./.react-router/types"],
|
||||
|
||||
Reference in New Issue
Block a user