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

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Julius MarmingeandJulius Marminge authored and GitHub committed 2026-06-03 19:15:06 -07:00
1 parent 4956415f7f
commit e4643eccc7
4 files changed
+14 -2

No files matched your search

-1
View File
@@ -5,7 +5,6 @@
"type": "module",
"main": "dist-electron/main.cjs",
"scripts": {
"build": "vp pack",
"ensure:electron": "node scripts/ensure-electron-runtime.mjs",
"start": "node scripts/start-electron.mjs",
"typecheck": "tsgo --noEmit",
+5
View File
@@ -5,6 +5,11 @@ const shouldLaunchElectronAfterPack = process.env.T3CODE_DESKTOP_DEV === "1";
export default defineConfig({
run: {
tasks: {
build: {
command: "vp pack",
dependsOn: ["t3#build"],
cache: false,
},
dev: {
command: "cross-env T3CODE_DESKTOP_DEV=1 vp pack --watch",
dependsOn: ["t3#build"],
-1
View File
@@ -16,7 +16,6 @@
"type": "module",
"scripts": {
"dev": "node --watch src/bin.ts",
"build": "node scripts/cli.ts build",
"build:bundle": "vp pack",
"start": "node dist/bin.mjs",
"typecheck": "tsgo --noEmit",
+9
View File
@@ -8,6 +8,15 @@ const internalPackagePrefixes = ["@t3tools/", "effect-acp", "effect-codex-app-se
export default mergeConfig(
baseConfig,
defineConfig({
run: {
tasks: {
build: {
command: "node scripts/cli.ts build",
dependsOn: ["@t3tools/web#build"],
cache: false,
},
},
},
pack: {
entry: ["src/bin.ts"],
outDir: "dist",