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

Function pnpm

__tests__/workspace-nested-globs.test.ts:43–43  ·  view source on GitHub ↗
(...globs: string[])

Source from the content-addressed store, hash-verified

41
42const pkg = (name: string) => JSON.stringify({ name });
43const pnpm = (...globs: string[]) => `packages:\n${globs.map((g) => ` - '${g}'`).join('\n')}\n`;
44
45/** The loader's member map, as sorted `name -> dir` lines. */
46function members(root: string): string[] {

Callers 1

Calls 2

mapMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected