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

Function getFrameworkById

packages/create/src/worker.ts:261–265  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

259 }
260
261 async function getFrameworkById(id: string) {
262 const frameworks = await getFrameworks()
263 const frameworkId = id === 'react-cra' ? 'react' : id
264 return frameworks.find((framework) => framework.id === frameworkId)
265 }
266
267 async function getFrameworkByName(name: string) {
268 const frameworks = await getFrameworks()

Callers 8

rebuildMethod · 0.90
promptForCreateOptionsFunction · 0.90
promptForAddOnsFunction · 0.90
normalizeOptionsFunction · 0.90
createOptionsFunction · 0.70
frameworks.test.tsFile · 0.50

Calls 1

getFrameworksFunction · 0.70

Tested by

no test coverage detected