summaryrefslogtreecommitdiffhomepage
path: root/packages/tauri/package.json
diff options
context:
space:
mode:
authorBrendan Allan <[email protected]>2025-12-09 19:13:51 +0800
committerBrendan Allan <[email protected]>2025-12-09 19:13:51 +0800
commit0a47a3cea0256642bb4cb38112669cdace7732e5 (patch)
treeee7a9e73568a6708a5b7e0d2d0ac62dd8937e3d4 /packages/tauri/package.json
parent306d57fcde02b34cb486a3d539421b6877f04167 (diff)
downloadopencode-0a47a3cea0256642bb4cb38112669cdace7732e5.tar.gz
opencode-0a47a3cea0256642bb4cb38112669cdace7732e5.zip
fix: use ts project references for desktop and tauri
Diffstat (limited to 'packages/tauri/package.json')
-rw-r--r--packages/tauri/package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/tauri/package.json b/packages/tauri/package.json
index 1300aaf93..70b9e7cc8 100644
--- a/packages/tauri/package.json
+++ b/packages/tauri/package.json
@@ -4,9 +4,10 @@
"version": "1.0.137",
"type": "module",
"scripts": {
+ "typecheck": "tsgo -b",
"predev": "bun ./scripts/predev.ts",
"dev": "vite",
- "build": "tsc && vite build",
+ "build": "bun run typecheck && vite build",
"preview": "vite preview",
"tauri": "tauri"
},
@@ -24,6 +25,7 @@
"@actions/artifact": "4.0.0",
"@tauri-apps/cli": "^2",
"@types/bun": "catalog:",
+ "@typescript/native-preview": "catalog:",
"typescript": "~5.6.2",
"vite": "catalog:"
}