Refactor API and worker applications to use NestJS framework. Update package versions and scripts for improved functionality. Enhance TypeScript configurations and add new dependencies for better development support. Remove deprecated main.ts file from worker application.

This commit is contained in:
smueller
2026-06-26 10:51:27 +02:00
parent 8d659317b9
commit fdf8392d42
23 changed files with 4383 additions and 81 deletions

View File

@@ -1,17 +1,39 @@
{
"name": "@hexahost/api",
"version": "0.1.0",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "tsc",
"build": "nest build",
"dev": "nest start --watch",
"start": "node dist/main.js",
"start:prod": "node dist/main.js",
"lint": "node -e \"process.exit(0)\"",
"typecheck": "tsc --noEmit",
"test": "node --test test/**/*.test.js",
"start": "node dist/main.js",
"dev": "tsc && node dist/main.js"
"test": "node --test test/**/*.test.js"
},
"dependencies": {
"@fastify/static": "^8.0.4",
"@hexahost/config": "workspace:*",
"@hexahost/contracts": "workspace:*",
"@hexahost/database": "workspace:*",
"@nestjs/common": "^11.0.7",
"@nestjs/core": "^11.0.7",
"@nestjs/platform-fastify": "^11.0.7",
"@nestjs/swagger": "^11.0.3",
"@nestjs/throttler": "^6.4.0",
"fastify": "^5.2.1",
"nestjs-pino": "^4.3.0",
"pino": "^9.6.0",
"pino-http": "^10.4.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@types/node": "^22.10.2",
"typescript": "^5.7.2"
"@hexahost/typescript-config": "workspace:*",
"@nestjs/cli": "^11.0.2",
"@nestjs/schematics": "^11.0.0",
"@types/node": "^22.10.7",
"pino-pretty": "^13.0.0",
"typescript": "^5.7.3"
}
}