MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getBaseTsConfigFile

Function getBaseTsConfigFile

npm_modules/cli/src/commands/projectsync.ts:294–296  ·  view source on GitHub ↗
(valdiBaseAbsoluteFilePaths: string[])

Source from the content-addressed store, hash-verified

292}
293
294function getBaseTsConfigFile(valdiBaseAbsoluteFilePaths: string[]): string | undefined {
295 return valdiBaseAbsoluteFilePaths.find(p => path.basename(p) === 'base.tsconfig.json');
296}
297
298function updateTsConfigFile(file: JSONCFile<any>, path: JSONPath, value: any): JSONCFile<any> {
299 return file.updating(path, value, {

Callers 1

runProjectSyncFunction · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected