()
| 50 | } |
| 51 | |
| 52 | function 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). |
no outgoing calls
no test coverage detected