fix: cleanup build npm scripts

This commit is contained in:
ndom91 2024-06-28 11:34:44 +02:00
parent 7b073c536b
commit d8a7f2bbdc
No known key found for this signature in database
3 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{
"build": {
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build:development",
"beforeBuildCommand": "pnpm build:app:development",
"devPath": "http://localhost:1420",
"distDir": "../../app/build",
"withGlobalTauri": false

View File

@ -1,6 +1,6 @@
{
"build": {
"beforeBuildCommand": "pnpm build:nightly && cargo build --release -p gitbutler-git && bash ./gitbutler-tauri/inject-git-binaries.sh"
"beforeBuildCommand": "pnpm build:app:nightly && cargo build --release -p gitbutler-git && bash ./gitbutler-tauri/inject-git-binaries.sh"
},
"package": {
"productName": "GitButler Nightly"

View File

@ -8,14 +8,14 @@
"packageManager": "pnpm@9.2.0",
"scripts": {
"dev": "pnpm --filter @gitbutler/app run dev",
"dev:ui": "pnpm --filter @gitbutler/ui dev",
"dev:tauri": "pnpm tauri dev",
"dev:ui": "pnpm --filter @gitbutler/ui dev",
"dev:tauri": "pnpm tauri dev",
"test": "pnpm --filter @gitbutler/app run test",
"test:watch": "pnpm --filter @gitbutler/app run test:watch",
"build:ui": "pnpm --filter @gitbutler/ui run build",
"build:ui": "pnpm --filter @gitbutler/ui run package",
"build:app": "pnpm --filter @gitbutler/app run build",
"build:nightly": "pnpm --filter @gitbutler/app run build:nightly",
"build:development": "pnpm --filter @gitbutler/app run build:development",
"build:app:nightly": "pnpm --filter @gitbutler/app run build:nightly",
"build:app:development": "pnpm --filter @gitbutler/app run build:development",
"check": "pnpm --filter @gitbutler/app run check",
"lint": "pnpm --filter @gitbutler/app run lint",
"format": "pnpm --filter @gitbutler/app run format",