Skip to content

Commit 56a3f57

Browse files
committed
Add dojo-dev to dojo scripts
1 parent 77bf50c commit 56a3f57

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

apps/dojo/scripts/prep-dojo-everything.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ const ALL_TARGETS = {
117117
name: "Dojo",
118118
cwd: gitRoot,
119119
},
120+
"dojo-dev": {
121+
command: "pnpm install --no-frozen-lockfile && pnpm build --filter=demo-viewer^...",
122+
name: "Dojo (dev)",
123+
cwd: gitRoot,
124+
},
120125
"microsoft-agent-framework-python": {
121126
command: "uv sync",
122127
name: "Microsoft Agent Framework (Python)",
@@ -149,6 +154,10 @@ async function main() {
149154
selectedKeys = selectedKeys.filter((k) => !excludeList.includes(k));
150155
}
151156

157+
if (selectedKeys.includes("dojo") && selectedKeys.includes("dojo-dev")) {
158+
selectedKeys= selectedKeys.filter(x => x != "dojo-dev");
159+
}
160+
152161
// Build procs list, warning on unknown keys
153162
const procs = [];
154163
for (const key of selectedKeys) {

apps/dojo/scripts/run-dojo-everything.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,31 @@ const ALL_SERVICES = {
184184
NEXT_PUBLIC_CUSTOM_DOMAIN_TITLE: 'cpkdojo.local___CopilotKit Feature Viewer',
185185
},
186186
}],
187+
'dojo-dev': [{
188+
command: 'pnpm run dev --filter=demo-viewer...',
189+
name: 'Dojo (dev)',
190+
cwd: gitRoot,
191+
env: {
192+
PORT: 9999,
193+
SERVER_STARTER_URL: 'http://localhost:8000',
194+
SERVER_STARTER_ALL_FEATURES_URL: 'http://localhost:8001',
195+
AGNO_URL: 'http://localhost:8002',
196+
CREW_AI_URL: 'http://localhost:8003',
197+
LANGGRAPH_FAST_API_URL: 'http://localhost:8004',
198+
LANGGRAPH_PYTHON_URL: 'http://localhost:8005',
199+
LANGGRAPH_TYPESCRIPT_URL: 'http://localhost:8006',
200+
LLAMA_INDEX_URL: 'http://localhost:8007',
201+
MASTRA_URL: 'http://localhost:8008',
202+
PYDANTIC_AI_URL: 'http://localhost:8009',
203+
ADK_MIDDLEWARE_URL: 'http://localhost:8010',
204+
A2A_MIDDLEWARE_BUILDINGS_MANAGEMENT_URL: 'http://localhost:8011',
205+
A2A_MIDDLEWARE_FINANCE_URL: 'http://localhost:8012',
206+
A2A_MIDDLEWARE_IT_URL: 'http://localhost:8013',
207+
A2A_MIDDLEWARE_ORCHESTRATOR_URL: 'http://localhost:8014',
208+
AWS_STRANDS_URL: 'http://localhost:8017',
209+
NEXT_PUBLIC_CUSTOM_DOMAIN_TITLE: 'cpkdojo.local___CopilotKit Feature Viewer',
210+
},
211+
}],
187212
};
188213

189214
function printDryRunServices(procs) {
@@ -214,6 +239,10 @@ async function main() {
214239
selectedKeys = selectedKeys.filter((k) => !excludeList.includes(k));
215240
}
216241

242+
if (selectedKeys.includes("dojo") && selectedKeys.includes("dojo-dev")) {
243+
selectedKeys= selectedKeys.filter(x => x != "dojo-dev");
244+
}
245+
217246
// Build processes, warn for unknown keys
218247
const procs = [];
219248
for (const key of selectedKeys) {

0 commit comments

Comments
 (0)