feat: add initial project configuration and smoke tests
- Created pnpm workspace configuration to manage packages. - Added a placeholder .gitkeep file in the scripts directory. - Implemented a smoke test script to validate core API and web endpoints. - Established TypeScript base configuration for consistent compilation settings. - Introduced Turbo configuration for task management and build processes.
This commit is contained in:
51
package.json
Normal file
51
package.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"name": "davinci-platform",
|
||||
"version": "0.1.0-alpha.0",
|
||||
"private": true,
|
||||
"description": "Davinci Platform — unified monorepo (mothership + community server)",
|
||||
"author": "Galaxis",
|
||||
"license": "UNLICENSED",
|
||||
"packageManager": "pnpm@10.32.0",
|
||||
"scripts": {
|
||||
"dev": "turbo run dev",
|
||||
"build": "turbo run build",
|
||||
"test": "turbo run test",
|
||||
"test:unit": "turbo run test:unit",
|
||||
"test:e2e": "turbo run test:e2e",
|
||||
"test:cov": "turbo run test:cov",
|
||||
"lint": "turbo run lint",
|
||||
"format": "prettier --write \"packages/*/src/**/*.{ts,tsx}\"",
|
||||
"format:check": "prettier --check \"packages/*/src/**/*.{ts,tsx}\"",
|
||||
"prisma:generate": "pnpm --filter @davinci/api prisma:generate",
|
||||
"prisma:migrate": "pnpm --filter @davinci/api prisma:migrate",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.15.0",
|
||||
"eslint": "^9.15.0",
|
||||
"eslint-config-prettier": "^10.0.0",
|
||||
"typescript-eslint": "^8.15.0",
|
||||
"prettier": "^3.4.0",
|
||||
"turbo": "^2.4.0",
|
||||
"husky": "^9.1.0",
|
||||
"lint-staged": "^15.4.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx}": [
|
||||
"eslint --fix",
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"@nestjs/core",
|
||||
"@parcel/watcher",
|
||||
"@prisma/client",
|
||||
"@prisma/engines",
|
||||
"@swc/core",
|
||||
"esbuild",
|
||||
"prisma",
|
||||
"sharp"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user