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
239 changes: 120 additions & 119 deletions apps/api/package.json
Original file line number Diff line number Diff line change
@@ -1,120 +1,121 @@
{
"name": "api",
"version": "0.0.1",
"type": "module",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build",
"docker:build": "docker build -t nexiom-api:latest -f Dockerfile ../..",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"dev": "nest start --watch",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"db:drop": "tsx src/db/cli/main.ts db:drop",
"db:seed": "tsx src/db/cli/main.ts db:seed",
"db:fresh": "tsx src/db/cli/main.ts db:fresh",
"db:reset": "tsx src/db/cli/main.ts db:reset",
"db:migrate": "tsx src/db/cli/main.ts db:migrate",
"db:provision": "tsx src/db/cli/main.ts db:provision",
"db:debug": "tsx src/db/cli/main.ts db:debug",
"db:provision:local": "tsx src/db/cli/main.ts db:provision:local",
"db:provision:gateway": "tsx src/db/cli/main.ts db:provision:gateway",
"db:migrate:schemas": "tsx src/db/cli/main.ts db:migrate:schemas",
"db:check-role": "tsx src/db/cli/main.ts db:check-role",
"test:watch": "vitest",
"test:cov": "tsc --noEmit && vitest run --coverage",
"test:debug": "vitest --inspect-brk --inspect --logHeapUsage --pool=forks",
"test:e2e": "vitest run --config ./test/vitest-e2e.config.mts"
},
"dependencies": {
"@ai-sdk/google": "^3.0.58",
"@bufbuild/protobuf": "^2.10.2",
"@nestjs/common": "^11.1.11",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "^11.0.1",
"@nestjs/event-emitter": "^3.1.0",
"@nestjs/platform-express": "^11.0.1",
"@nestjs/schedule": "^6.1.1",
"@soopa/ai-engine": "workspace:*",
"@soopa/auth": "workspace:*",
"@soopa/cache": "workspace:*",
"@soopa/credentials": "workspace:*",
"@soopa/database": "workspace:*",
"@soopa/dbmanager": "workspace:*",
"@soopa/engine": "workspace:*",
"@soopa/identity": "workspace:*",
"@soopa/piece-framework": "workspace:*",
"@soopa/piece-quickbooks": "workspace:*",
"@soopa/piece-registry": "workspace:*",
"@soopa/piece-salesforce": "workspace:*",
"@soopa/queue": "workspace:*",
"ai": "^6.0.146",
"bcryptjs": "^3.0.3",
"better-auth": "^1.4.10",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.3",
"cookie-parser": "^1.4.7",
"dotenv": "^17.3.1",
"drizzle-orm": "^0.45.1",
"fast-json-stable-stringify": "^2.1.0",
"jsonwebtoken": "^9.0.3",
"nest-commander": "^3.20.1",
"nestjs-pino": "^4.6.1",
"nestjs-zod": "^5.0.1",
"nodemailer": "^7.0.12",
"opossum": "^9.0.0",
"pg": "^8.16.3",
"pg-format": "^1.0.4",
"pino-http": "^11.0.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"uuid": "^13.0.0",
"zod": "^4.3.5"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.39.1",
"@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.1.11",
"@nx/webpack": "^22.4.5",
"@swc/core": "^1.15.11",
"@types/bcryptjs": "^3.0.0",
"@types/cookie-parser": "^1.4.10",
"@types/express": "^5.0.0",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^20.14.9",
"@types/nodemailer": "^7.0.4",
"@types/opossum": "^8.1.9",
"@types/pg": "^8.16.0",
"@types/pg-format": "^1.0.5",
"@types/supertest": "^6.0.2",
"@types/uuid": "^11.0.0",
"@vitest/coverage-v8": "^4.0.18",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"globals": "^16.5.0",
"pino-pretty": "^13.1.3",
"prettier": "^3.7.4",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.21.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.46.4",
"unplugin-swc": "^1.5.9",
"vitest": "^4.0.18",
"webpack-node-externals": "^3.0.0"
}
}
"name": "api",
"version": "0.0.1",
"type": "module",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build",
"docker:build": "docker build -t nexiom-api:latest -f Dockerfile ../..",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"dev": "nest start --watch",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"db:drop": "tsx src/db/cli/main.ts db:drop",
"db:seed": "tsx src/db/cli/main.ts db:seed",
"db:fresh": "tsx src/db/cli/main.ts db:fresh",
"db:reset": "tsx src/db/cli/main.ts db:reset",
"db:migrate": "tsx src/db/cli/main.ts db:migrate",
"db:provision": "tsx src/db/cli/main.ts db:provision",
"db:debug": "tsx src/db/cli/main.ts db:debug",
"db:provision:local": "tsx src/db/cli/main.ts db:provision:local",
"db:provision:gateway": "tsx src/db/cli/main.ts db:provision:gateway",
"db:migrate:schemas": "tsx src/db/cli/main.ts db:migrate:schemas",
"db:check-role": "tsx src/db/cli/main.ts db:check-role",
"test:watch": "vitest",
"test:cov": "tsc --noEmit && vitest run --coverage",
"test:debug": "vitest --inspect-brk --inspect --logHeapUsage --pool=forks",
"test:e2e": "vitest run --config ./test/vitest-e2e.config.mts"
},
"dependencies": {
"@ai-sdk/google": "^3.0.58",
"@bufbuild/protobuf": "^2.10.2",
"@nestjs/common": "^11.1.11",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "^11.0.1",
"@nestjs/event-emitter": "^3.1.0",
"@nestjs/platform-express": "^11.0.1",
"@nestjs/schedule": "^6.1.1",
"@soopa/ai": "workspace:*",
"@soopa/auth": "workspace:*",
"@soopa/cache": "workspace:*",
"@soopa/credentials": "workspace:*",
"@soopa/database": "workspace:*",
"@soopa/dbmanager": "workspace:*",
"@soopa/pipeline": "workspace:*",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"@soopa/identity": "workspace:*",
"@soopa/piece-framework": "workspace:*",
"@soopa/piece-quickbooks": "workspace:*",
"@soopa/piece-registry": "workspace:*",
"@soopa/piece-salesforce": "workspace:*",
"@soopa/queue": "workspace:*",
"ai": "^6.0.146",
"bcryptjs": "^3.0.3",
"better-auth": "^1.4.10",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.3",
"cookie-parser": "^1.4.7",
"dotenv": "^17.3.1",
"drizzle-orm": "^0.45.1",
"fast-json-stable-stringify": "^2.1.0",
"jsonwebtoken": "^9.0.3",
"nest-commander": "^3.20.1",
"nestjs-pino": "^4.6.1",
"nestjs-zod": "^5.0.1",
"nodemailer": "^7.0.12",
"opossum": "^9.0.0",
"pg": "^8.16.3",
"pg-format": "^1.0.4",
"pino-http": "^11.0.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"uuid": "^13.0.0",
"zod": "^4.3.5",
"@soopa/observability": "workspace:*"
},
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.39.1",
"@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.1.11",
"@nx/webpack": "^22.4.5",
"@swc/core": "^1.15.11",
"@types/bcryptjs": "^3.0.0",
"@types/cookie-parser": "^1.4.10",
"@types/express": "^5.0.0",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^20.14.9",
"@types/nodemailer": "^7.0.4",
"@types/opossum": "^8.1.9",
"@types/pg": "^8.16.0",
"@types/pg-format": "^1.0.5",
"@types/supertest": "^6.0.2",
"@types/uuid": "^11.0.0",
"@vitest/coverage-v8": "^4.0.18",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"globals": "^16.5.0",
"pino-pretty": "^13.1.3",
"prettier": "^3.7.4",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.21.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.46.4",
"unplugin-swc": "^1.5.9",
"vitest": "^4.0.18",
"webpack-node-externals": "^3.0.0"
}
}
10 changes: 5 additions & 5 deletions apps/api/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { UsersModule } from '../modules/identity/users/users.module.js';
import { TenantsModule } from '../modules/identity/tenants/tenants.module.js';
import { AuthModule } from '@soopa/auth';
import { IdentityAuthModule } from '../modules/identity/auth/auth.module.js';
import { DbModule } from '../db/db.module.js';
import { DatabaseModule } from '@soopa/database';
import { InvitationsModule } from '../modules/identity/invitations/invitations.module.js';
import { SystemAdminModule } from '../modules/identity/system-admin/system-admin.module.js';
import { RolesModule } from '../modules/identity/roles/roles.module.js';
Expand All @@ -19,7 +19,7 @@ import { DATABASE_CONNECTION, type DrizzleDb } from '@soopa/database';
import { ConnectionsModule } from '../modules/connections/connections.module.js';
import { TriggerModule } from '../modules/trigger/trigger.module.js';
import { EmailModule } from '../modules/email/email.module.js';
import { StorageResolverModule } from '@soopa/engine';
import { StorageResolverModule } from '@soopa/pipeline';
import { PiecesModule } from '@soopa/piece-registry';
import { CacheModule } from '@soopa/cache';
import { QueueModule, createQueueModuleOptions } from '@soopa/queue';
Expand Down Expand Up @@ -61,10 +61,10 @@ import { PluginsModule } from '../modules/plugins/plugins.module.js';
IdentityModule.registerAsync({
imports: [
ConfigModule,
DbModule,
DatabaseModule,
forwardRef(() => AuthModule),
EmailModule,
], // Ensure DbModule and EmailModule are here
], // Ensure DatabaseModule and EmailModule are here
inject: [ConfigService, DATABASE_CONNECTION, EmailService],
useFactory: (
configService: ConfigService,
Expand Down Expand Up @@ -98,7 +98,7 @@ import { PluginsModule } from '../modules/plugins/plugins.module.js';
UsersModule,
TenantsModule,
InvitationsModule,
DbModule,
DatabaseModule,
PiecesModule.forRoot(),
...(process.env.ENABLE_PLUGIN_MIGRATIONS === 'true'
? [PiecesModule.withMigrations()]
Expand Down
39 changes: 0 additions & 39 deletions apps/api/src/db/cli/cli.module.ts

This file was deleted.

77 changes: 0 additions & 77 deletions apps/api/src/db/cli/commands/db-debug.command.ts

This file was deleted.

Loading
Loading