Skip to content

Commit

Permalink
fix: simplify crates/package.json setup (gitbutlerapp#4986)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 authored Sep 28, 2024
1 parent d10bbcf commit 216fca1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/gitbutler-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"build": {
"beforeDevCommand": "cd ../ && pnpm dev:internal-tauri",
"beforeBuildCommand": "[ $CI = true ] || cd ../ && pnpm build:desktop -- --mode development",
"beforeDevCommand": "pnpm dev:internal-tauri",
"beforeBuildCommand": "[ $CI = true ] || pnpm build:desktop -- --mode development",
"devPath": "http://localhost:1420",
"distDir": "../../apps/desktop/build",
"withGlobalTauri": false
Expand Down
9 changes: 7 additions & 2 deletions crates/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"name": "crates",
"description": "Required for Vercel / pnpm-workspace CI"
"name": "@gitbutler/crates",
"description": "Required for Vercel / pnpm-workspace CI",
"scripts": {
"build:desktop": "pnpm --workspace-root build:desktop",
"dev:internal-tauri": "pnpm --workspace-root dev:internal-tauri"
},
"packageManager": "pnpm@9.5.0"
}

0 comments on commit 216fca1

Please sign in to comment.