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 node_modules
.turbo
#Ignore vscode AI rules #Ignore vscode AI rules
.github/instructions/codacy.instructions.md .github/instructions/codacy.instructions.md
packages/db/dist
opencode.json

View file

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

View file

@ -1,4 +1,4 @@
{ {
"extends": "./tsconfig.json", "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, "allowSyntheticDefaultImports": true,
"target": "ES2023", "target": "ES2023",
"sourceMap": true, "sourceMap": true,
"rootDir": "src", "rootDir": "../..",
"outDir": "./dist", "outDir": "./dist",
"incremental": true,
"skipLibCheck": true, "skipLibCheck": true,
"strictNullChecks": true, "strictNullChecks": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"noImplicitAny": false, "noImplicitAny": false,
"strictBindCallApply": false, "strictBindCallApply": false,
"noFallthroughCasesInSwitch": false "noFallthroughCasesInSwitch": false,
}, "paths": {
"include": ["src/**/*.ts"] "@proj/db": ["../../packages/db/index.ts"],
"@proj/db/*": ["../../packages/db/*"]
}
}
} }

View file

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

View file

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

View file

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

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