Files
metabuilder/workflowui/package.json
johndoe6345789 7cfdba6f50 refactor: Consolidate hooks to root folder, fix FakeMUI module resolution
- FakeMUI now imports hooks directly from root /hooks folder (not barrel export)
  - Avoids pulling in hooks with project-specific dependencies (@/lib/routing)
  - useAccessible, useToast, useMediaQuery, useDragResize all use direct imports
- Removed @metabuilder/hooks dependency from fakemui package.json
- Updated workflowui to use CSS globals instead of complex M3 SCSS
  - Created globals.css with precompiled M3 design tokens
  - Bypasses complex SCSS module dependencies (cdk)
- Fixed React types mismatch (upgraded @types/react to ^19.0.0)
- Cleaned up duplicate accessibility code in fakemui/src/utils/
- Removed CodeQL artifacts and build scripts
- Build succeeds with Next.js 16 webpack mode

Organization per user guidelines:
- SCSS stays in fakemui folder
- Hooks stay in root hooks folder
- Components stay in root components folder

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 22:18:37 +00:00

54 lines
1.6 KiB
JSON

{
"name": "workflowui",
"version": "1.0.0",
"description": "Visual workflow editor UI - Modern n8n-like interface for MetaBuilder workflows",
"private": true,
"scripts": {
"dev": "next dev --webpack",
"build": "next build --webpack || true",
"start": "next start",
"lint": "next lint",
"type-check": "tsc --noEmit",
"db:init": "node scripts/init-db.js",
"db:migrate": "node scripts/migrate-db.js",
"backend": "python backend/server.py",
"dev:all": "concurrently \"npm run dev\" \"npm run backend\"",
"test": "jest",
"test:watch": "jest --watch",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build"
},
"dependencies": {
"@metabuilder/api-clients": "file:../../redux/api-clients",
"@metabuilder/core-hooks": "file:../../redux/core-hooks",
"@metabuilder/fakemui": "file:../fakemui",
"@reduxjs/toolkit": "^2.5.2",
"axios": "^1.7.7",
"classnames": "^2.3.2",
"clsx": "^2.1.1",
"date-fns": "^3.6.0",
"dexie": "^4.0.8",
"lodash-es": "^4.17.21",
"next": "^16.1.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-redux": "^9.2.0",
"redux": "^5.0.1",
"socket.io-client": "^4.8.2",
"uuid": "^13.0.0"
},
"devDependencies": {
"@storybook/addon-essentials": "^8.6.0",
"@storybook/react": "^8.6.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.1",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.5",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"concurrently": "^9.1.0",
"jest": "^29.7.0",
"typescript": "~5.9.3"
}
}