chore: upgrade to node 24 and read app version from workspace root

- base the docker image on node:24-slim and require node >=24 via
  engines in the root package.json
- read app name and version from the workspace root package.json for
  config, swagger, startup log and mcp server info; drop the server
  workspace version
- bind test http servers to 127.0.0.1 so tests pass in containers
  without ipv6 loopback
- bump version to 1.19.1
This commit is contained in:
ars9 committed 2026-09-30 20:57:33 +03:00
1 parent a4bfa3117f
commit 68415f805b
13 files changed
+105 -20

No files matched your search

+3 -2
View File
@@ -16,7 +16,7 @@ import { E2eExportService } from "../scenario/e2e-export.service";
import { SnippetService } from "../snippet/snippet.service";
import { ImportService } from "../import/import.service";
import pkg from "../../package.json";
import { appPackage } from "../common/app-package";
@Injectable()
export class McpService {
@@ -34,7 +34,8 @@ export class McpService {
) {}
private createServer(): McpServer {
const server = new McpServer({ name: pkg.name, version: pkg.version });
const { name, version } = appPackage();
const server = new McpServer({ name, version });
this.registerTools(server);
return server;
}