mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +03:00
chore: update build scripts to include separate build commands for nightly and development modes
This commit is contained in:
parent
3b6aafc705
commit
80f43ffe32
@ -5,6 +5,8 @@
|
||||
"dev": "pnpm --filter @gitbutler/ui run dev",
|
||||
"test": "pnpm --filter @gitbutler/ui run test",
|
||||
"build": "pnpm --filter @gitbutler/ui run build",
|
||||
"build:nightly": "pnpm --filter @gitbutler/ui run build:nightly",
|
||||
"build:development": "pnpm --filter @gitbutler/ui run build:development",
|
||||
"check": "pnpm --filter @gitbutler/ui run check",
|
||||
"lint": "pnpm --filter @gitbutler/ui run lint",
|
||||
"format": "pnpm --filter @gitbutler/ui run format",
|
||||
|
@ -48,7 +48,7 @@ sha2 = "0.10.6"
|
||||
similar = { version = "2.2.1", features = ["unicode"] }
|
||||
ssh-key = { version = "0.6.1", features = [ "alloc", "ed25519" ] }
|
||||
tantivy = "0.20.2"
|
||||
tauri = { version = "1.4", features = [ "window-maximize", "window-unmaximize", "process-relaunch", "dialog-open", "fs-read-file", "path-all", "protocol-asset", "shell-open", "system-tray", "window-start-dragging"] }
|
||||
tauri = { version = "1.4", features = [ "updater", "window-maximize", "window-unmaximize", "process-relaunch", "dialog-open", "fs-read-file", "path-all", "protocol-asset", "shell-open", "system-tray", "window-start-dragging"] }
|
||||
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
|
||||
tempfile = "3.8"
|
||||
thiserror = "1.0.44"
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"beforeDevCommand": "pnpm dev",
|
||||
"beforeBuildCommand": "pnpm build",
|
||||
"beforeBuildCommand": "pnpm build:development",
|
||||
"devPath": "http://localhost:1420",
|
||||
"distDir": "../ui/build",
|
||||
"withGlobalTauri": false
|
||||
|
@ -1,4 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"beforeBuildCommand": "pnpm build:nightly"
|
||||
},
|
||||
"package": {
|
||||
"productName": "GitButler Nightly"
|
||||
},
|
||||
|
@ -1,4 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"beforeBuildCommand": "pnpm build"
|
||||
},
|
||||
"package": {
|
||||
"productName": "GitButler"
|
||||
},
|
||||
|
@ -6,6 +6,8 @@
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"test": "vitest run --mode development",
|
||||
"build:development": "vite build --mode development",
|
||||
"build:nightly": "vite build --mode nightly",
|
||||
"build": "vite build",
|
||||
"check": "svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "pnpm check --watch",
|
||||
|
Loading…
Reference in New Issue
Block a user