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

Function createApp

packages/create/src/worker.ts:283–298  ·  view source on GitHub ↗
(environment: Environment, options: Options)

Source from the content-addressed store, hash-verified

281 }
282
283 async function createApp(environment: Environment, options: Options) {
284 await loadFrameworkChunk(options.framework.id)
285 registerTemplateRenderer(
286 options.framework,
287 getRenderer(options.framework.id),
288 )
289
290 const chosenAddOns = await Promise.all(
291 options.chosenAddOns.map(materializeAddOn),
292 )
293
294 await createEdgeApp(environment, {
295 ...options,
296 chosenAddOns,
297 })
298 }
299
300 return {
301 getFrameworks,

Callers 7

rebuildMethod · 0.90
startDevWatchModeFunction · 0.90
handleCreateFunction · 0.90
runCreateAppFunction · 0.70
runCreateAppFunction · 0.50
create-app.test.tsFile · 0.50

Calls 3

loadFrameworkChunkFunction · 0.85
registerTemplateRendererFunction · 0.85
getRendererFunction · 0.85

Tested by

no test coverage detected