A few additional typechecks to help reduce heap

This commit is contained in:
Nate Kelley 2025-09-04 22:51:27 -06:00
parent 4172a961d8
commit aac29b0356
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
"type": "module",
"version": "0.0.1",
"scripts": {
"prebuild": "[ \"$SKIP_ENV_CHECK\" = \"true\" ] || tsx scripts/validate-env.ts",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck",
"build:local": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck --local",
"build:no-typecheck": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build",
@ -24,7 +25,7 @@
"test:ui": "vitest --ui",
"test:unit": "pnpm run test",
"test:watch": "vitest --watch",
"typecheck": "tsc --noEmit",
"typecheck": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch"
},
"peerDependencies": {

View File

@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"include": ["src/**/*.ts", "src/**/*.tsx", "scripts/validate-env.ts"],
"exclude": ["node_modules", "dist"],
"exclude": ["node_modules", "dist", "**/.tanstack/**", "**/.output/**", "**/.storybook/**"],
"compilerOptions": {
"target": "ES2022",
"jsx": "react-jsx",