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

Function createApp

packages/create/src/create-app.ts:468–479  ·  view source on GitHub ↗
(environment: Environment, options: Options)

Source from the content-addressed store, hash-verified

466}
467
468export async function createApp(environment: Environment, options: Options) {
469 const effectiveOptions = stripExamplesFromOptions(options)
470
471 environment.startRun()
472 await writeFiles(environment, effectiveOptions)
473 await seedEnvValues(environment, effectiveOptions)
474 await writeEnvExample(environment, effectiveOptions)
475 await runCommandsAndInstallDependencies(environment, effectiveOptions)
476 environment.finishRun()
477
478 report(environment, effectiveOptions)
479}

Callers

nothing calls this directly

Calls 6

stripExamplesFromOptionsFunction · 0.70
writeFilesFunction · 0.70
seedEnvValuesFunction · 0.70
writeEnvExampleFunction · 0.70
reportFunction · 0.70

Tested by

no test coverage detected