mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
- 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.
26 lines
785 B
JSON
26 lines
785 B
JSON
{
|
|
"name": "metabuilder-root",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"description": "MetaBuilder - Data-driven multi-tenant platform",
|
|
"scripts": {
|
|
"db:generate": "npm --prefix frontends/nextjs run db:generate",
|
|
"db:push": "npm --prefix frontends/nextjs run db:push",
|
|
"db:migrate": "npm --prefix frontends/nextjs run db:migrate",
|
|
"dev": "npm --prefix frontends/nextjs run dev",
|
|
"build": "npm --prefix frontends/nextjs run build",
|
|
"typecheck": "npm --prefix frontends/nextjs run typecheck",
|
|
"lint": "npm --prefix frontends/nextjs run lint",
|
|
"test": "npm --prefix frontends/nextjs run test"
|
|
},
|
|
"workspaces": [
|
|
"frontends/nextjs",
|
|
"frontends/dbal",
|
|
"config",
|
|
"storybook"
|
|
],
|
|
"devDependencies": {
|
|
"jsdom": "^27.4.0"
|
|
}
|
|
}
|