mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-27 23:34:56 +00:00
MOVED: - /seed/ → /dbal/shared/seeds/ - database/ (installed_packages.yaml, package_permissions.yaml) - config/ (bootstrap.yaml, package-repo.yaml) - packages/ (core-packages.yaml) - /prisma/schema.prisma → /dbal/development/prisma/schema.prisma UPDATED: - Root package.json: db:* scripts delegate to dbal/development - Frontend package.json: db:* scripts delegate to dbal/development - DBAL package.json: Added db:migrate and db:seed scripts - /dbal/development/src/seeds/index.ts: Updated paths to new seed location - /dbal/shared/tools/codegen/gen_prisma_schema.js: Output to new schema location - /config/package.json: Updated schema path references DELETED: - /seed/ folder (moved to DBAL) - /prisma/ folder (moved to DBAL) BENEFITS: - DBAL is now self-contained and independently deployable - Single source of truth for seeds and schema - Clear separation: database logic in DBAL, frontend in /frontends/ - All db:* commands now go through DBAL, not duplicated in frontend This restructure is MANDATORY FIRST STEP before CODEBASE_RECOVERY_PLAN execution. Architecture must be fixed before code cleanup happens. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
70 lines
2.6 KiB
JSON
70 lines
2.6 KiB
JSON
{
|
|
"name": "metabuilder",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:unit": "vitest run",
|
|
"test:e2e": "playwright test --config=../../playwright.config.ts",
|
|
"test:e2e:ui": "playwright test --config=../../playwright.config.ts --ui",
|
|
"test:e2e:headed": "playwright test --config=../../playwright.config.ts --headed",
|
|
"test:e2e:debug": "playwright test --config=../../playwright.config.ts --debug",
|
|
"test:e2e:report": "playwright show-report",
|
|
"test:e2e:dbal-daemon": "playwright test --config=../../e2e/playwright.dbal-daemon.config.ts",
|
|
"db:generate": "npm --prefix ../../dbal/development run db:generate",
|
|
"db:push": "npm --prefix ../../dbal/development run db:push",
|
|
"db:migrate": "npm --prefix ../../dbal/development run db:migrate",
|
|
"db:seed": "npm --prefix ../../dbal/development run db:seed"
|
|
},
|
|
"dependencies": {
|
|
"@metabuilder/dbal": "file:../../dbal/development",
|
|
"@monaco-editor/react": "^4.7.0",
|
|
"@octokit/core": "^7.0.6",
|
|
"@prisma/adapter-better-sqlite3": "^7.2.0",
|
|
"@prisma/client": "^7.2.0",
|
|
"better-sqlite3": "^12.5.0",
|
|
"clsx": "^2.1.1",
|
|
"esbuild": "^0.27.2",
|
|
"jsdom": "^27.4.0",
|
|
"next": "16.1.1",
|
|
"octokit": "^5.0.5",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"server-only": "^0.0.1",
|
|
"uuid": "^13.0.0",
|
|
"zod": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.2",
|
|
"@tanstack/react-query": "^5.90.16",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/react": "^16.3.1",
|
|
"@types/better-sqlite3": "^7.6.12",
|
|
"@types/node": "^25.0.3",
|
|
"@types/react": "^19.2.8",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
"@vitest/coverage-v8": "^4.0.16",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"prettier": "^3.4.2",
|
|
"prisma": "^7.2.0",
|
|
"sass": "^1.97.1",
|
|
"typescript": "~5.9.3",
|
|
"typescript-eslint": "^8.50.1",
|
|
"vitest": "^4.0.16"
|
|
}
|
|
}
|