Compare commits

..

No commits in common. "8a4642980f99fffc50fc71baa7d64c8be91391c8" and "e1616c7bdc6995f7553e14623a11126ce22d0c3f" have entirely different histories.

10 changed files with 686 additions and 2223 deletions

6
.gitignore vendored
View file

@ -1,9 +1,5 @@
node_modules
.turbo
#Ignore vscode AI rules
.github/instructions/codacy.instructions.md
packages/db/dist
opencode.json

View file

@ -8,24 +8,21 @@
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest build && node dist/main.js",
"dev": "nest start --watch",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main.js",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:cov": "vitest run --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "vitest run --config ./vitest.config.e2e.ts",
"check-types": "tsc --noEmit"
"test:e2e": "vitest run --config ./vitest.config.e2e.ts"
},
"dependencies": {
"@nestjs/common": "^11.0.1",
"@nestjs/core": "^11.0.1",
"@nestjs/platform-express": "^11.0.1",
"@proj/db": "workspace:*",
"drizzle-orm": "^0.45.1",
"postgres": "^3.4.8",
"reflect-metadata": "^0.2.2",

View file

@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["node_modules", "test", "dist", "vitest.config.ts", "vitest.config.e2e.ts", "**/*spec.ts"]
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
}

View file

@ -12,14 +12,18 @@
"allowSyntheticDefaultImports": true,
"target": "ES2023",
"sourceMap": true,
"rootDir": "src",
"rootDir": "../..",
"outDir": "./dist",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": false,
"strictBindCallApply": false,
"noFallthroughCasesInSwitch": false
},
"include": ["src/**/*.ts"]
"noFallthroughCasesInSwitch": false,
"paths": {
"@proj/db": ["../../packages/db/index.ts"],
"@proj/db/*": ["../../packages/db/*"]
}
}
}

View file

@ -19,8 +19,7 @@
"test:unit": "vitest --project unit",
"test:nuxt": "vitest --project nuxt",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"check-types": "tsc --noEmit"
"test:e2e:ui": "playwright test --ui"
},
"dependencies": {
"@iconify-json/lucide": "^1.2.87",

View file

@ -9,7 +9,6 @@
"clean": "turbo clean && rm -rf node_modules"
},
"devDependencies": {
"@ai-sdk/openai-compatible": "^2.0.48",
"turbo": "^2.9.16"
"turbo": "latest"
}
}

View file

@ -1,10 +1,9 @@
{
"name": "@proj/db",
"version": "0.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./index.ts",
"types": "./index.ts",
"scripts": {
"build": "tsc -p tsconfig.json",
"db:generate": "drizzle-kit generate:pg",
"db:push": "drizzle-kit push:pg"
},
@ -13,8 +12,6 @@
"postgres": "latest"
},
"devDependencies": {
"@types/node": "^22.0.0",
"drizzle-kit": "latest",
"typescript": "^5.7.0"
"drizzle-kit": "latest"
}
}

View file

@ -1,18 +0,0 @@
{
"compilerOptions": {
"target": "ES2023",
"module": "nodenext",
"moduleResolution": "nodenext",
"outDir": "./dist",
"rootDir": ".",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"include": ["*.ts"],
"exclude": ["dist"]
}

File diff suppressed because it is too large Load diff

View file

@ -1,16 +0,0 @@
{
"$schema": "https://turborepo.dev/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"check-types": {
"dependsOn": ["^check-types"]
},
"dev": {
"persistent": true,
"cache": false
}
}
}