MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / getProjectFilePath

Function getProjectFilePath

packages/vite/helpers/project.ts:36–38  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

34 * @param filePath path to get
35 */
36export function getProjectFilePath(filePath: string): string {
37 return resolve(getProjectRootPath(), filePath);
38}
39
40export function getProjectTSConfigPath(): string | undefined {
41 return [getProjectFilePath('tsconfig.app.json'), getProjectFilePath('tsconfig.json')].find((path) => existsSync(path));

Callers 9

main-entry.tsFile · 0.70
getTsConfigDataFunction · 0.70
readPackageJsonFunction · 0.70
writePackageJsonFunction · 0.70
nsConfigToJsonFunction · 0.70
getPackageJsonFunction · 0.70
getProjectTSConfigPathFunction · 0.70
configureServerFunction · 0.50

Calls 2

resolveFunction · 0.70
getProjectRootPathFunction · 0.70

Tested by

no test coverage detected