MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / aliasConfigFields

Function aliasConfigFields

src/resolution/path-aliases.ts:252–257  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

250 * moves the alias map from one that doesn't, like a `strict` flag (#2977).
251 */
252export function aliasConfigFields(filePath: string): string | null {
253 const raw = readTsconfigLike(path.resolve(filePath));
254 if (!raw) return null;
255 const co = raw.compilerOptions ?? {};
256 return JSON.stringify([raw.extends ?? null, co.baseUrl ?? null, co.paths ?? null]);
257}
258
259function splitWildcard(pattern: string): {
260 prefix: string;

Callers 1

moduleConfigDigestFunction · 0.90

Calls 2

readTsconfigLikeFunction · 0.85
resolveMethod · 0.65

Tested by

no test coverage detected