MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / resolveTargets

Function resolveTargets

dev/local/services.ts:683–700  ·  view source on GitHub ↗
(targets: string[])

Source from the content-addressed store, hash-verified

681 const repoRoot = REPO_ROOT;
682 const defs: ServiceDef[] = [];
683
684 for (const [name, meta] of Object.entries(serviceMeta)) {
685 const dir = meta.dir ?? name;
686
687 if (name === 'nextjs') {
688 defs.push({
689 name,
690 type: 'nextjs',
691 dir: 'apps/web',
692 port: nextjsTargetPort,
693 dependsOn: meta.dependsOn,
694 command: [
695 'env',
696 `AI_GATEWAY_URL=http://localhost:${aiGatewayPort()}`,
697 'pnpm',
698 'run',
699 'dev',
700 ],
701 group: meta.group,
702 });
703 continue;

Callers 2

cmdUpFunction · 0.90
resolveServiceFilterFunction · 0.90

Calls 8

resolveGroupsFunction · 0.85
topologicalSortFunction · 0.85
resolveTransitiveDepsFunction · 0.85
pushMethod · 0.80
hasMethod · 0.80
joinMethod · 0.80
getServiceFunction · 0.70

Tested by

no test coverage detected