MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / writeRegistryConfig

Function writeRegistryConfig

packages/cli/src/commands/add.test.ts:183–196  ·  view source on GitHub ↗
(
  dir: string,
  paths: typeof DEFAULT_TEST_PATHS = DEFAULT_TEST_PATHS,
)

Source from the content-addressed store, hash-verified

181};
182
183function writeRegistryConfig(
184 dir: string,
185 paths: typeof DEFAULT_TEST_PATHS = DEFAULT_TEST_PATHS,
186): void {
187 writeFileSync(
188 join(dir, "hyperframes.json"),
189 JSON.stringify({
190 $schema: "https://hyperframes.heygen.com/schema/hyperframes.json",
191 registry: uniqueBase(),
192 paths,
193 }),
194 "utf-8",
195 );
196}
197
198// ── Tests ───────────────────────────────────────────────────────────────────
199

Callers 1

add.test.tsFile · 0.85

Calls 1

uniqueBaseFunction · 0.85

Tested by

no test coverage detected