Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 25b69c6

Browse files
authored
Fix packing for agent sample (#1292)
1 parent 989cdd1 commit 25b69c6

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

scripts/pack.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ const originCwd = cwd();
4141
const osScript = path.join(rootDir, 'scripts/detectOS.sh');
4242
const osType = execSync(`bash ${osScript}`).toString().toLowerCase();
4343

44-
const experimentalTargets = ['quic-agent', 'media-bridge', 'event-bridge', 'cascading-control'];
44+
const experimentalTargets = [
45+
'quic-agent',
46+
'media-bridge', 'event-bridge', 'cascading-control',
47+
'sample-agent',
48+
];
4549

4650
var allTargets = [];
4751

source/agent/sample/dist.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"files": [
77
"sample.js",
88
"callSample.js",
9+
"log4js_configuration.json",
910
"../agent.toml",
1011
"../nodeManager.js",
1112
"../workingNode.js",
@@ -17,6 +18,7 @@
1718
"../../common/loadCollector.js",
1819
"../../common/logger.js",
1920
"../../common/rpcChannel.js",
21+
"../../common/makeRPC.js",
2022
"../../common/cipher.js",
2123
"../../../scripts/release/initauth.js"
2224
]

source/agent/sample/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "OWT-Server-Sample-Agent",
2+
"name": "owt-server-sample-agent",
33
"version":"5.0.0",
44
"dependencies": {
55
"amqplib": "^0.7.0",

0 commit comments

Comments
 (0)