MCPcopy Create free account
hub / github.com/TanStack/cli / writeConfigFileToEnvironment

Function writeConfigFileToEnvironment

packages/create/src/edge-config-file.ts:27–35  ·  view source on GitHub ↗
(
  environment: Environment,
  options: Options,
)

Source from the content-addressed store, hash-verified

25}
26
27export async function writeConfigFileToEnvironment(
28 environment: Environment,
29 options: Options,
30) {
31 await environment.writeFile(
32 joinPaths(options.targetDir, CONFIG_FILE),
33 JSON.stringify(createPersistedOptions(options), null, 2),
34 )
35}

Callers

nothing calls this directly

Calls 2

joinPathsFunction · 0.85
createPersistedOptionsFunction · 0.70

Tested by

no test coverage detected