Files
arcadia-admin/tsconfig.json
jules b513fbe405 refactor: tenants surface uses @crema/table-ui + search-ui + feedback-ui
Replaces the hand-rolled shadcn primitives in app/routes/tenants.tsx
with manifest libs: DataTable + ActionsCell + BadgeCell + DateCell +
Pagination + useTable from table-ui, SearchInput from search-ui, and
AlertBanner + ConfirmDialog + EmptyState + LoadingOverlay from feedback-ui.

Behaviour preserved: same columns, same row actions, same suspend/
deactivate/activate handlers. Gains: built-in sortable columns,
pagination controls, density toggle support, proper confirmation dialogs
for destructive actions, accessible empty/loading/error states.

Wires three new sibling libs into tsconfig.json paths and app.css
@source lines: lib-table-ui, lib-search-ui, lib-feedback-ui, plus
lib-auth-ui (used by lib-arcadia-auth-ui after its refactor).

Corrects the earlier miss of not checking docs/LIBS.md before rolling
custom UI — the manifest already had what we needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 22:00:33 +10:00

62 lines
2.5 KiB
JSON

{
"include": [
"**/*",
"**/.server/**/*",
"**/.client/**/*",
".react-router/types/**/*"
],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"types": ["node", "vite/client"],
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"rootDirs": [".", "./.react-router/types"],
"baseUrl": ".",
"paths": {
"~/*": ["./app/*"],
"@crema/notification-ui": ["../lib-notification-ui/src/index.tsx"],
"@crema/notification-ui/*": ["../lib-notification-ui/src/*"],
"@crema/chat-ui": ["../lib-chat-ui/src/index.tsx"],
"@crema/chat-ui/*": ["../lib-chat-ui/src/*"],
"@crema/aifirst-ui": ["../lib-aifirst-ui/src/index.tsx"],
"@crema/aifirst-ui/*": ["../lib-aifirst-ui/src/*"],
"@crema/llm-ui": ["../lib-llm-ui/src/index.tsx"],
"@crema/llm-ui/*": ["../lib-llm-ui/src/*"],
"@crema/action-bus": ["../lib-action-bus/src/index.tsx"],
"@crema/action-bus/*": ["../lib-action-bus/src/*"],
"@crema/arcadia-client": ["../lib-arcadia-client/src/index.tsx"],
"@crema/arcadia-client/*": ["../lib-arcadia-client/src/*"],
"@crema/arcadia-auth-ui": ["../lib-arcadia-auth-ui/src/index.tsx"],
"@crema/arcadia-auth-ui/*": ["../lib-arcadia-auth-ui/src/*"],
"@crema/table-ui": ["../lib-table-ui/src/index.tsx"],
"@crema/table-ui/*": ["../lib-table-ui/src/*"],
"@crema/search-ui": ["../lib-search-ui/src/index.tsx"],
"@crema/search-ui/*": ["../lib-search-ui/src/*"],
"@crema/feedback-ui": ["../lib-feedback-ui/src/index.tsx"],
"@crema/feedback-ui/*": ["../lib-feedback-ui/src/*"],
"@crema/auth-ui": ["../lib-auth-ui/src/index.tsx"],
"@crema/auth-ui/*": ["../lib-auth-ui/src/*"],
"// CREMA:PATHS": [""],
"react": ["./node_modules/@types/react"],
"react/*": ["./node_modules/@types/react/*"],
"react-dom": ["./node_modules/@types/react-dom"],
"react-dom/*": ["./node_modules/@types/react-dom/*"],
"clsx": ["./node_modules/clsx"],
"tailwind-merge": ["./node_modules/tailwind-merge"],
"lucide-react": ["./node_modules/lucide-react"],
"openapi-fetch": ["./node_modules/openapi-fetch"],
"openapi-fetch/*": ["./node_modules/openapi-fetch/*"],
"phoenix": ["./node_modules/@types/phoenix"],
"phoenix/*": ["./node_modules/@types/phoenix/*"]
},
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"noEmit": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true
}
}