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

Function writeConfigFileToEnvironment

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

Source from the content-addressed store, hash-verified

29}
30
31export async function writeConfigFileToEnvironment(
32 environment: Environment,
33 options: Options,
34) {
35 await environment.writeFile(
36 resolve(options.targetDir, CONFIG_FILE),
37 JSON.stringify(createPersistedOptions(options), null, 2),
38 )
39}
40
41export async function readConfigFileFromEnvironment(
42 environment: Environment,

Callers 4

writeFilesFunction · 0.70
addToAppFunction · 0.70
writeFilesFunction · 0.70

Calls 1

createPersistedOptionsFunction · 0.70

Tested by

no test coverage detected