- Added test:unit script for unit tests
- Added test:e2e script referencing root Playwright config
- Added test:e2e:ui, test:e2e:headed, test:e2e:debug scripts
- Added test:e2e:report script
- Added test:e2e:dbal-daemon script for daemon-specific tests
- Fixed playwright.dbal-daemon.config.ts to use correct paths and health endpoint
This resolves the CI blocker where workflows running from frontends/nextjs
directory couldn't find these scripts.
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Fixed Storybook dependency version mismatch (downgraded to 8.6.15)
- Added @types/better-sqlite3 for better-sqlite3 type definitions
- Fixed Prisma adapter import (PrismaBetterSqlite3 vs PrismaBetterSQLite3)
- Removed datasource URL from Prisma schema (Prisma 7 requirement)
- Generated DBAL types.generated.ts from Prisma schema
- Added index signatures to Update*Input types for Record<string, unknown> compatibility
- Fixed ErrorBoundary override modifiers
- Fixed Zod record schema (requires both key and value types)
- Fixed orderBy syntax in get-error-logs (array format)
- Fixed type safety in API routes (user type assertions)
- Fixed hook imports and exports
- Fixed conditional expression type guards
- Added .npmrc for legacy peer deps support
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Added migrationQueue to SchemaRegistry for tracking pending migrations.
- Implemented clear method to reset the registry state.
- Enhanced schema registration and retrieval methods to support entity normalization.
- Updated loadSchemaRegistry to handle entities and migrationQueue from JSON.
- Introduced saveSchemaRegistry to persist entities and migrationQueue.
- Added functions for approving and rejecting migrations.
feat(schema-scanner): implement package scanning for schema registration
- Created scanAllPackages function to scan directories for package metadata.
- Extracted and validated schema entities from package metadata.
- Registered schemas in the SchemaRegistry based on scanned packages.
fix(load-page-from-db): improve tenantId handling and null checks
- Updated tenantId handling to use nullish coalescing for better clarity.
- Refined null checks for page retrieval.
feat(validation): add Zod validation utilities for standardized data validation
- Introduced validation utilities for API requests and package data validation.
- Created common reusable schemas for various data types.
- Implemented package-specific validator factory for enhanced error reporting.
test(package-integration): fix potential null checks in package dependency resolution
- Updated package dependency resolution logic to handle undefined cases.
chore(package.json): add jsdom as a dev dependency for testing
- Included jsdom in devDependencies for improved testing capabilities.
fix(metadata): update package metadata for consistency and clarity
- Standardized packageId and name fields in metadata.json files across multiple packages.
- jszip provides its own type definitions
- @types/jszip is deprecated and causes conflicts
- Addresses code review feedback
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Updated Prisma from 6.19.1 to 7.2.0 (major version)
- Migrated Prisma schema to remove datasource URL (Prisma 7.x requirement)
- Updated PrismaClient initialization to pass datasourceUrl
- Fixed API route handlers to accept NextRequest parameter
- Updated MUI Grid component to include component prop for v7 compatibility
- Added AWS SDK dependencies to DBAL development module
- Created stub implementations for GitHub workflow log analysis functions
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Introduced a new Table component with TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, and TableCaption for better UI consistency.
- Refactored Select component to utilize MUI's Select, MenuItem, and FormControl for improved accessibility and styling.
- Created a centralized MUI theme with design tokens, typography, spacing, and component overrides for light and dark modes.
- Add missing radix-ui dependencies for shadcn/ui components
- Fix mockImplementation() to include callback in package-loader test
- Remove broken @/dbal/* alias from tsconfig (DBAL path needs reconfiguration)
- Add node types to tsconfig
- Fix package-integration.test.ts import paths (../../ → ../../../../)
- Add localStorage mock to useKV.test.ts
- Use unique keys in falsy value tests to avoid KV store collisions