- Add vitest globals type definitions to tsconfig.app.json - Enable globals in vite.config.ts test configuration - Add explicit vitest imports and type references to all .test.ts files - Add missing `placeholder` property to PasswordFieldProps interface - Add missing `required` field to test field definitions in FieldRenderer.test.tsx - Update FieldDef and BackendMeta interfaces to support readonly arrays - Fix readonly array type incompatibilities in BackendSelectionStep.tsx - Fix form submission handler type mismatch in RemoteConfigStep.tsx - Remove unused helper functions and imports from StepIndicator.test.tsx These changes resolve all TypeScript compilation errors preventing the Docker build from completing. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
28 lines
698 B
JSON
28 lines
698 B
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"types": ["vitest/globals"],
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"isolatedModules": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true
|
|
},
|
|
"include": ["src"]
|
|
}
|