Files
metabuilder/package.json
johndoe6345789 25908192ef feat(schema-registry): enhance schema management with migration support and improved loading mechanisms
- 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.
2026-01-07 12:08:24 +00:00

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"
}
}