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

Function getDisplayPath

scripts/check-outdated-packages.js:202–206  ·  view source on GitHub ↗

* Get relative path for display

(filePath, frameworksDir)

Source from the content-addressed store, hash-verified

200 * Get relative path for display
201 */
202function getDisplayPath(filePath, frameworksDir) {
203 const relativePath = relative(frameworksDir, filePath)
204 // Remove the package.json part
205 return relativePath.replace('/package.json', '')
206}
207
208/**
209 * Check dependencies in a package.json file

Callers 1

mainFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected