fix(docker): expose QA harness exports for package Telegram

This commit is contained in:
Peter Steinberger
2026-04-27 08:06:30 +01:00
parent 5333b1e2cc
commit ec9b20263c
2 changed files with 3 additions and 0 deletions

View File

@@ -230,6 +230,8 @@ ln -sfnT "$openclaw_package_dir" /app/node_modules/openclaw
rm -rf /app/dist
ln -sfnT "$openclaw_package_dir/dist" /app/dist
cp "$openclaw_package_dir/package.json" /app/package.json
rm -rf "$openclaw_package_dir/extensions"
ln -sfnT /app/extensions "$openclaw_package_dir/extensions"
node --input-type=module <<'NODE'
import fs from "node:fs";

View File

@@ -60,6 +60,7 @@ describe("package Telegram live Docker E2E", () => {
expect(script).toContain('ln -sfnT "$openclaw_package_dir/dist" /app/dist');
expect(script).toContain('cp "$openclaw_package_dir/package.json" /app/package.json');
expect(script).toContain('ln -sfnT /app/extensions "$openclaw_package_dir/extensions"');
expect(script).toContain('"/app/node_modules/openclaw/package.json"');
expect(script).toContain('pkg.exports["./plugin-sdk/qa-channel"]');
expect(script).toContain('"./extensions/qa-channel/api.ts"');