MCPcopy Create free account
hub / github.com/EvoMap/evolver / writeStrongEvolverMarkers

Function writeStrongEvolverMarkers

test/forceUpdateFailureCodes.test.js:52–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52function writeStrongEvolverMarkers() {
53 fs.mkdirSync(path.join(installRoot, 'src', 'gep'), { recursive: true });
54 fs.writeFileSync(
55 path.join(installRoot, 'src', 'forceUpdate.js'),
56 'function executeForceUpdate() {}\nconst FORCE_UPDATE_FAIL_CODES = {};\n',
57 'utf8',
58 );
59 fs.writeFileSync(
60 path.join(installRoot, 'src', 'gep', 'paths.js'),
61 'function getRepoRoot() {}\nfunction getEvolverInstallRoot() {}\n',
62 'utf8',
63 );
64 fs.writeFileSync(
65 path.join(installRoot, 'src', 'gep', 'a2aProtocol.js'),
66 '// GEP A2A Protocol\nfunction reportForceUpdateOutcome() {}\n',
67 'utf8',
68 );
69 fs.writeFileSync(
70 path.join(installRoot, 'index.js'),
71 "const evolve = require('./src/evolve');\n// proxy-token\n",
72 'utf8',
73 );
74}
75
76// Fake degit that "downloads" a package.json (+ a code file) of the given
77// version into TMP_TARGET (the last positional arg degit receives).

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected