Files
low-code-react-app-b/audit-output.txt
johndoe6345789 55e15c5426 fix: Resolve build failures - remove stale imports and fix component exports
- Removed deleted EditorToolbar and MonacoEditorPanel from CodeEditor
- Fixed SearchBar import in ComprehensiveDemoTaskList (replaced with Input)
- Updated AtomicComponentDemo to remove missing Grid component import
- Fixed atoms/index.ts to export only available JSON components
- Re-added Container component support (JSON definition exists)
- All build errors resolved, production build passes successfully

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-21 03:34:37 +00:00

82 lines
3.9 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
> spark-template@0.0.0 audit:json
> tsx scripts/audit-json-components.ts
🔍 Starting JSON component audit...
📊 Found 338 JSON files in config/pages
📊 Found 475 TSX files in src/components
📊 Found 134 JSON definitions
📊 Found 360 registry entries
🔍 Checking for TSX files that could be replaced with JSON...
🔍 Checking for orphaned JSON files...
🔍 Checking for obsolete wrapper references...
🔍 Checking for broken load paths...
🔍 Checking molecules without JSON definitions...
================================================================================
📋 AUDIT REPORT
================================================================================
📅 Generated: 2026-01-21T03:25:13.796Z
📈 Statistics:
• Total JSON files: 338
• Total TSX files: 475
• Registry entries: 360
• Orphaned JSON: 0
• Obsolete wrapper refs: 0
• Duplicate implementations: 62
⚠️ WARNING (62)
--------------------------------------------------------------------------------
DUPLICATE IMPLEMENTATION (62):
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/Breadcrumb.tsx
TSX file has JSON equivalent at src/config/pages/molecules/breadcrumb.json
💡 Consider removing TSX and routing through JSON renderer
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/CanvasRenderer.tsx
TSX file has JSON equivalent at src/config/pages/molecules/canvas-renderer.json
💡 Consider removing TSX and routing through JSON renderer
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/ComponentPalette.tsx
TSX file has JSON equivalent at src/config/pages/molecules/component-palette.json
💡 Consider removing TSX and routing through JSON renderer
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/ComponentTree.tsx
TSX file has JSON equivalent at src/config/pages/molecules/component-tree.json
💡 Consider removing TSX and routing through JSON renderer
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/EditorActions.tsx
TSX file has JSON equivalent at src/config/pages/molecules/editor-actions.json
💡 Consider removing TSX and routing through JSON renderer
... and 57 more
INFO (11)
--------------------------------------------------------------------------------
POTENTIAL CONVERSION (11):
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/EditorActions.tsx
Molecule "EditorActions" could potentially be converted to JSON
💡 Evaluate if EditorActions can be expressed as pure JSON
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/EditorToolbar.tsx
Molecule "EditorToolbar" could potentially be converted to JSON
💡 Evaluate if EditorToolbar can be expressed as pure JSON
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/EmptyEditorState.tsx
Molecule "EmptyEditorState" could potentially be converted to JSON
💡 Evaluate if EmptyEditorState can be expressed as pure JSON
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/FileTabs.tsx
Molecule "FileTabs" could potentially be converted to JSON
💡 Evaluate if FileTabs can be expressed as pure JSON
• /Users/rmac/Documents/GitHub/low-code-react-app-b/src/components/molecules/LazyInlineMonacoEditor.tsx
Molecule "LazyInlineMonacoEditor" could potentially be converted to JSON
💡 Evaluate if LazyInlineMonacoEditor can be expressed as pure JSON
... and 6 more
================================================================================
Total issues found: 73
================================================================================
📄 Full report written to: /Users/rmac/Documents/GitHub/low-code-react-app-b/audit-report.json
✅ Audit completed successfully