MCPcopy Index your code
hub / github.com/EvoMap/evolver / writeInstallPkg

Function writeInstallPkg

test/forceUpdateFailureCodes.test.js:44–50  ·  view source on GitHub ↗
(version, name)

Source from the content-addressed store, hash-verified

42// Write the install-root package.json. name defaults to the real package name
43// so the install-guard passes; override it to exercise the guard.
44function writeInstallPkg(version, name) {
45 fs.writeFileSync(
46 path.join(installRoot, 'package.json'),
47 JSON.stringify({ name: name || '@evomap/evolver', version }),
48 'utf8',
49 );
50}
51
52function writeStrongEvolverMarkers() {
53 fs.mkdirSync(path.join(installRoot, 'src', 'gep'), { recursive: true });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected