The best way to control Claude Code, Codex and more from any computer or phone

main
mjs 11 lines 363 Bytes
Raw
1 import * as Fs from "node:fs"
2
3 const path = new URL("../tsconfig.base.json", import.meta.url)
4 const contents = Fs.readFileSync(path, "utf8")
5 const updated = contents.replace('"stripInternal": false', '"stripInternal": true')
6
7 if (contents === updated) {
8 throw new Error("Could not enable stripInternal in tsconfig.base.json")
9 }
10
11 Fs.writeFileSync(path, updated)