@devries-cameron20 / t3code Mirror · read-only / commits / e4643eccc7
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 25, 05:00 UTC

fix: build web before desktop release packaging (#2934)

Co-authored-by: Julius Marminge <julius@mac.lan>

Julius Marminge committed Jun 3, 2026 at 19:15 UTC e4643eccc7efa07a0129b7ed9765883cfc758c53
4 files changed +14 -2
apps/desktop/package.json
-1
@@ -5,7 +5,6 @@
5 "type": "module",
6 "main": "dist-electron/main.cjs",
7 "scripts": {
8 - "build": "vp pack",
8 "ensure:electron": "node scripts/ensure-electron-runtime.mjs",
9 "start": "node scripts/start-electron.mjs",
10 "typecheck": "tsgo --noEmit",
apps/desktop/vite.config.ts
+5
@@ -5,6 +5,11 @@ const shouldLaunchElectronAfterPack = process.env.T3CODE_DESKTOP_DEV === "1";
5 export default defineConfig({
6 run: {
7 tasks: {
8 + build: {
9 + command: "vp pack",
10 + dependsOn: ["t3#build"],
11 + cache: false,
12 + },
13 dev: {
14 command: "cross-env T3CODE_DESKTOP_DEV=1 vp pack --watch",
15 dependsOn: ["t3#build"],
apps/server/package.json
-1
@@ -16,7 +16,6 @@
16 "type": "module",
17 "scripts": {
18 "dev": "node --watch src/bin.ts",
19 - "build": "node scripts/cli.ts build",
19 "build:bundle": "vp pack",
20 "start": "node dist/bin.mjs",
21 "typecheck": "tsgo --noEmit",
apps/server/vite.config.ts
+9
@@ -8,6 +8,15 @@ const internalPackagePrefixes = ["@t3tools/", "effect-acp", "effect-codex-app-se
8 export default mergeConfig(
9 baseConfig,
10 defineConfig({
11 + run: {
12 + tasks: {
13 + build: {
14 + command: "node scripts/cli.ts build",
15 + dependsOn: ["@t3tools/web#build"],
16 + cache: false,
17 + },
18 + },
19 + },
20 pack: {
21 entry: ["src/bin.ts"],
22 outDir: "dist",