Files
metabuilder/frontends/nextjs/package.json
johndoe6345789 fa765e493a feat: Set up npm workspace structure for DBAL integration
Workspace Setup Complete:
- Added dbal/development to root package.json workspaces
- Added @metabuilder/dbal dependency to frontends/nextjs (file reference)
- Updated TypeScript paths in frontend to resolve via node_modules
- Installed workspace dependencies successfully

Structure Now In Place:
 dbal/development is registered as workspace
 @metabuilder/dbal dependency declared in frontend
 Path aliases configured for @/dbal resolution
 npm install works with all dependencies

Pre-existing DBAL Build Issues Found:
⚠️ src/core/foundation/types/types.generated missing
⚠️ CodeGen script (tsx ../shared/tools/codegen/gen_types.ts) failing
⚠️ exactOptionalPropertyTypes causing TypeScript errors in KV operations

These are pre-existing issues in DBAL code, not related to workspace setup.
Will need separate DBAL build fix task.

For now, workspace structure is ready for when DBAL build is fixed.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-15 01:26:32 +00:00

69 lines
2.5 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": "prisma generate --schema=../../prisma/schema.prisma",
"db:push": "prisma db push --schema=../../prisma/schema.prisma",
"db:migrate": "prisma migrate deploy --schema=../../prisma/schema.prisma"
},
"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"
}
}