MCPcopy Create free account
hub / github.com/vercel/vercel / writePackageJson

Function writePackageJson

packages/cli-exec/tests/index.test.ts:68–74  ·  view source on GitHub ↗
(root: string)

Source from the content-addressed store, hash-verified

66}
67
68function writePackageJson(root: string) {
69 mkdirSync(root, { recursive: true });
70 writeFileSync(
71 path.join(root, 'package.json'),
72 JSON.stringify({ private: true })
73 );
74}
75
76function writeLocalVercelPackage(
77 root: string,

Callers 1

index.test.tsFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected