mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-08-16 15:50:37 +03:00
Use turbo for production builds
This commit is contained in:
parent
e8f5808589
commit
44e56ac370
6
.github/actions/init-env-node/action.yaml
vendored
6
.github/actions/init-env-node/action.yaml
vendored
@ -32,8 +32,4 @@ runs:
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: pnpm install
|
||||
|
||||
- name: Build @gitbutler/ui
|
||||
shell: bash
|
||||
run: cd packages/ui && pnpm package
|
||||
run: pnpm install
|
@ -14,8 +14,6 @@
|
||||
"test:e2e": "playwright test -c ./playwright.config.ts",
|
||||
"test:e2e:watch": "playwright test -c ./playwright.config.ts --ui",
|
||||
"test:e2e:run": "vite dev --mode testing",
|
||||
"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",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"beforeDevCommand": "pnpm dev",
|
||||
"beforeBuildCommand": "pnpm build:app:development",
|
||||
"beforeBuildCommand": "pnpm build -- --mode development",
|
||||
"devPath": "http://localhost:1420",
|
||||
"distDir": "../../app/build",
|
||||
"withGlobalTauri": false
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"build": {
|
||||
"beforeBuildCommand": "pnpm build:app:nightly && cargo build --release -p gitbutler-git && bash ./gitbutler-tauri/inject-git-binaries.sh"
|
||||
"beforeBuildCommand": "pnpm build -- --mode nightly && cargo build --release -p gitbutler-git && bash ./gitbutler-tauri/inject-git-binaries.sh"
|
||||
},
|
||||
"package": {
|
||||
"productName": "GitButler Nightly"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"build": {
|
||||
"beforeBuildCommand": "pnpm build:app && cargo build --release -p gitbutler-git && bash ./gitbutler-tauri/inject-git-binaries.sh"
|
||||
"beforeBuildCommand": "pnpm build -- --mode production && cargo build --release -p gitbutler-git && bash ./gitbutler-tauri/inject-git-binaries.sh"
|
||||
},
|
||||
"package": {
|
||||
"productName": "GitButler"
|
||||
|
@ -13,11 +13,8 @@
|
||||
"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 package",
|
||||
"build:app": "pnpm --filter @gitbutler/app run build",
|
||||
"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",
|
||||
"build": "turbo run build",
|
||||
"check": "turbo run check",
|
||||
"tauri": "tauri",
|
||||
"lint": "turbo run lint",
|
||||
"format": "prettier --write .",
|
||||
|
@ -4,12 +4,21 @@
|
||||
"package": {
|
||||
"cache": false
|
||||
},
|
||||
"build": {
|
||||
"dependsOn": ["^package"],
|
||||
"cache": false
|
||||
},
|
||||
"dev": {
|
||||
"dependsOn": ["@gitbutler/ui#package"],
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
},
|
||||
"lint": {
|
||||
"dependsOn": ["@gitbutler/ui#package"],
|
||||
"cache": true
|
||||
},
|
||||
"check": {
|
||||
"dependsOn": ["@gitbutler/ui#package"],
|
||||
"cache": true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user