@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, 04:45 UTC

main
ts 22 lines 769 Bytes
Raw
1 import { build, copy, exec, typescript, named } from "../../../scripts/package-build.ts";
2
3 build(import.meta.dirname, {
4 thirdPartyLicenses: true,
5 stamp: "dist",
6 steps: [
7 // tsdown resolves distilled from its compiled `lib/`.
8 named(
9 "build distilled (aws, cloudflare)",
10 typescript(
11 "-b",
12 "../../submodules/distilled/packages/aws/tsconfig.json",
13 "../../submodules/distilled/packages/cloudflare/tsconfig.json",
14 ),
15 ),
16 exec("tsdown"),
17 // tsdown cleans dist/, deleting the declarations while their
18 // tsbuildinfo in .cache/ still reports them up to date.
19 named("emit declarations", typescript("-b", "--force", "tsconfig.json")),
20 copy("src/nextjs/runner.mjs", "dist/nextjs/runner.mjs"),
21 ],
22 });