Skip to content

Commit 58f394d

Browse files
committed
feat: update build commands to use cross-env for environment variable management
1 parent 4f0b016 commit 58f394d

4 files changed

Lines changed: 35 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ jobs:
7676
run: npm ci
7777

7878
- name: Build static frontend
79-
run: NUXT_CLI_WRAPPER=false npx nuxt generate
80-
shell: bash
79+
run: npx cross-env NUXT_CLI_WRAPPER=false npx nuxt generate
8180

8281
- name: Build Tauri app
8382
uses: tauri-apps/tauri-action@v0

package-lock.json

Lines changed: 30 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@
2222
"pinia": "^3.0.4",
2323
"vue": "^3.5.28",
2424
"vue-router": "^4.6.4"
25+
},
26+
"devDependencies": {
27+
"cross-env": "^10.1.0"
2528
}
2629
}

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": {
77
"frontendDist": "../.output/public",
88
"beforeDevCommand": "",
9-
"beforeBuildCommand": "NUXT_CLI_WRAPPER=false npx nuxt generate"
9+
"beforeBuildCommand": "npx cross-env NUXT_CLI_WRAPPER=false npx nuxt generate"
1010
},
1111
"app": {
1212
"macOSPrivateApi": true,

0 commit comments

Comments
 (0)