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

Function convertDotFilesAndPaths

packages/create/src/edge-template-file.ts:19–24  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

17} from './types.js'
18
19function convertDotFilesAndPaths(path: string) {
20 return path
21 .split('/')
22 .map((segment) => segment.replace(/^_dot_/, '.'))
23 .join('/')
24}
25
26function normalizeSourceExtension(target: string, typescript: boolean) {
27 if (!typescript) {

Callers 1

createTemplateFileFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected