@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 03:37 UTC

main
mjs 14 lines 428 Bytes
Raw
1 /* oxlint-disable no-undef */
2 import * as Fs from "fs/promises"
3
4 const jsBundle = await fetch(
5 "https://cdn.jsdelivr.net/npm/@scalar/api-reference@latest/dist/browser/standalone.min.js"
6 ).then((res) => res.text())
7
8 const source = `/* oxlint-disable no-undef */
9
10 /** @internal */
11 export const javascript = ${JSON.stringify(`${jsBundle}`)}
12 `
13
14 await Fs.writeFile("packages/effect/src/http-api/internal/httpApiScalar.ts", source)