fix: simplify crates/package.json setup (#4986)

This commit is contained in:
Nico Domino 2024-09-28 17:29:48 +02:00 committed by GitHub
parent d10bbcf515
commit 216fca1cec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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"
}