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

Function convertDotFilesAndPaths

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

Source from the content-addressed store, hash-verified

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

Callers 1

createTemplateFileFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected