feat: validate backend runtime configuration

This commit is contained in:
Bastian Wagner
2026-08-17 13:26:38 +02:00
parent a08eecd4e3
commit ceaef3028f
13 changed files with 83 additions and 18 deletions

View File

@@ -13,8 +13,8 @@
"start": "nest start api",
"start:dev": "nest start api --watch",
"start:debug": "nest start api --debug --watch",
"start:api": "node dist/apps/api/main.js",
"start:worker": "node dist/apps/worker/main.js",
"start:api": "node dist/apps/api/src/main.js",
"start:worker": "node dist/apps/worker/src/main.js",
"lint": "eslint \"{apps,libs}/**/*.ts\" --fix",
"test": "jest --runInBand",
"test:watch": "jest --watch",
@@ -63,13 +63,10 @@
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"testPathIgnorePatterns": ["<rootDir>/node_modules/", "<rootDir>/dist/"],
"setupFiles": ["<rootDir>/test/setup-env.ts"],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"moduleNameMapper": {
"^@travel/configuration$": "<rootDir>/libs/configuration/src",
"^@travel/infrastructure$": "<rootDir>/libs/infrastructure/src"
},
"collectCoverageFrom": [
"apps/**/*.(t|j)s",
"libs/**/*.(t|j)s"