Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions apps/api/.eslintrc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.json',
},
extends: [
'plugin:@darraghor/nestjs-typed/recommended',
],
plugins: [
'@darraghor/nestjs-typed',
],
rules: {
},
ignorePatterns: ['dist/', 'node_modules/', '*.spec.ts'],
};
8 changes: 5 additions & 3 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"lint": "echo 'No JavaScript files to lint'",
"type-check": "tsc --noEmit"
"type-check": "tsc --noEmit",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix"
},
"dependencies": {
"@elevenlabs/elevenlabs-js": "^2.21.0",
Expand All @@ -31,7 +32,7 @@
"@repo/validation": "workspace:*",
"@supabase/supabase-js": "^2.53.0",
"@tabler/icons-react": "^3.34.1",
"bullmq": "^5.62.2",
"bullmq": "catalog:",
"clsx": "^2.1.1",
"jsonrepair": "^3.13.0",
"motion": "^12.23.12",
Expand All @@ -43,6 +44,7 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@darraghor/eslint-plugin-nestjs-typed": "^7.1.5",
"@jest/globals": "^29.7.0",
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
Expand Down
23 changes: 0 additions & 23 deletions apps/api/src/app.controller.spec.ts

This file was deleted.

5 changes: 0 additions & 5 deletions apps/api/src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ import { SupabaseAuthGuard } from './guards/auth.guard';
export class AppController {
constructor(private readonly appService: AppService, private readonly supabaseService: SupabaseService) { }

@Get()
getTrainAI() {
return { message: 'Protected train-ai endpoint' };
}

@Get('test-db')
async testDb(@Req() req) {
const { data, error } = await this.supabaseService.getClient().from('profiles').select('*').limit(1);
Expand Down
18 changes: 0 additions & 18 deletions apps/api/src/train-ai/train-ai.controller.spec.ts

This file was deleted.

4 changes: 0 additions & 4 deletions apps/api/tsconfig.build.json

This file was deleted.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\""
},
"devDependencies": {
"@elevenlabs/elevenlabs-js": "^2.21.0",
"@eslint/js": "^9.0.0",
"@google/genai": "^1.13.0",
"@repo/config": "workspace:*",
"@repo/email-templates": "workspace:*",
"@repo/supabase": "workspace:*",
"@repo/train-ai-worker": "workspace:*",
"@repo/typescript-config": "workspace:*",
Expand All @@ -32,15 +35,13 @@
"globals": "^15.0.0",
"prettier": "^3.6.2",
"supabase": "^2.48.3",
"turbo": "^2.5.6"
"turbo": "^2.7.2"
},
"packageManager": "pnpm@9.12.3",
"engines": {
"node": ">=18"
},
"dependencies": {
"@elevenlabs/elevenlabs-js": "^2.21.0",
"@google/genai": "^1.13.0",
"@types/node": "^24.9.2",
"axios": "^1.11.0",
"bullmq": "^5.62.2",
Expand Down
Loading
Loading