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

Function writeGeneratedModule

packages/create/scripts/generate-manifest.mjs:460–466  ·  view source on GitHub ↗
(file, source)

Source from the content-addressed store, hash-verified

458}
459
460function writeGeneratedModule(file, source) {
461 mkdirSync(dirname(file), { recursive: true })
462 writeFileSync(
463 file,
464 `// Generated by scripts/generate-manifest.mjs. Do not edit by hand.\n${source}`,
465 )
466}
467
468function writeWorkerManifest(manifest) {
469 rmSync(workerOutputDir, { recursive: true, force: true })

Callers 1

writeWorkerManifestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected