add http-server part 6.5
All checks were successful
ci / build (push) Successful in 1m5s

This commit is contained in:
Christopher Hase 2025-04-10 15:57:16 +02:00
parent c5801c4e7a
commit 86c5e96aef
3 changed files with 31 additions and 16 deletions

View file

@ -1,5 +1,6 @@
import express from 'express';
import { executeCommand } from './broker.ts';
import { executeCommand } from './broker.js';
//import { executeCommand } from './broker';
const app = express();

19
old.tsconfig.backend.json Normal file
View file

@ -0,0 +1,19 @@
{
"extends": "./tsconfig.json", // Falls du eine allgemeine tsconfig hast
"compilerOptions": {
"outDir": "./dist/backend", // Zielordner für die kompilierte Backend-Dateien
"rootDir": "./backend",
"module": "NodeNext", // Setze das Modul auf NodeNext
"moduleResolution": "NodeNext", // NodeNext für die Modulauflösung
"target": "ES2020", // Moderne JavaScript-Syntax verwenden
"esModuleInterop": true, // Interoperabilität mit CommonJS- und ES-Modulen
"allowSyntheticDefaultImports": true, // Synthetische Default-Imports erlauben
"allowImportingTsExtensions": true,
"skipLibCheck": true, // Bibliotheken werden nicht überprüft (Optional)
"emitDeclarationOnly": true,
"composite": true
},
"include": [
"backend/**/*.ts" // Nur Dateien im backend-Ordner kompilieren
]
}

View file

@ -1,19 +1,14 @@
{
"extends": "./tsconfig.json", // Falls du eine allgemeine tsconfig hast
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./dist/backend", // Zielordner für die kompilierte Backend-Dateien
"outDir": "./dist/backend",
"rootDir": "./backend",
"module": "NodeNext", // Setze das Modul auf NodeNext
"moduleResolution": "NodeNext", // NodeNext für die Modulauflösung
"target": "ES2020", // Moderne JavaScript-Syntax verwenden
"esModuleInterop": true, // Interoperabilität mit CommonJS- und ES-Modulen
"allowSyntheticDefaultImports": true, // Synthetische Default-Imports erlauben
"allowImportingTsExtensions": true,
"skipLibCheck": true, // Bibliotheken werden nicht überprüft (Optional)
"emitDeclarationOnly": true,
"composite": true
"target": "ES2020",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true
},
"include": [
"backend/**/*.ts" // Nur Dateien im backend-Ordner kompilieren
]
"include": ["backend/**/*.ts"]
}