fix: resolve build and type errors

Fixes TypeScript compilation errors that prevented production build:

- Fix invalid node shape type in integration test (diamond → circle)
- Export WorkspaceSettings type from main types module
- Exclude test files from production build TypeScript check

All tests (368), linting, and build now pass successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jan-Henrik Bruhn 2025-11-11 09:46:44 +01:00
parent b748862865
commit a554aa156f
3 changed files with 5 additions and 1 deletions

View file

@ -170,7 +170,7 @@ describe('Store Synchronization Integration', () => {
id: 'custom-type',
label: 'Custom Type',
color: '#ff0000',
shape: 'diamond' as const,
shape: 'circle' as const,
icon: 'Star',
description: 'A custom node type',
};

View file

@ -135,3 +135,6 @@ export interface GraphActions {
export interface EditorActions {
updateSettings: (settings: Partial<EditorSettings>) => void;
}
// Re-export workspace types
export type { WorkspaceSettings } from '../stores/workspace/types';

View file

@ -24,5 +24,6 @@
"forceConsistentCasingInFileNames": true
},
"include": ["src"],
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx", "src/__tests__", "src/test-utils"],
"references": [{ "path": "./tsconfig.node.json" }]
}