Skip to content

Commit 2d7361b

Browse files
committed
fix: app including node_modules
1 parent 629c8d5 commit 2d7361b

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/electron-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ run-name: ${{ startsWith(github.ref, 'refs/tags/') && format('Release {0}', gith
44
on:
55
push:
66
tags:
7-
- 'v*' # full build + release
7+
- v* # full build + release
88
branches:
99
- main # cache warming only — no packaging
1010
workflow_dispatch:
@@ -33,13 +33,13 @@ jobs:
3333
include:
3434
# - os: windows-latest
3535
# platform: win
36-
# artifact: dist/*.exe
36+
# artifact: .exe
3737
- os: macos-latest
3838
platform: mac
39-
artifact: dist/*.dmg
39+
artifact: .dmg
4040
# - os: ubuntu-latest
4141
# platform: linux
42-
# artifact: dist/*.AppImage
42+
# artifact: .AppImage
4343

4444
runs-on: ${{ matrix.os }}
4545

@@ -110,7 +110,7 @@ jobs:
110110
uses: actions/upload-artifact@v4
111111
with:
112112
name: LoCode-${{ matrix.os }}
113-
path: ${{ matrix.artifact }}
113+
path: dist/*${{ matrix.artifact }}
114114
if-no-files-found: error
115115

116116

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,18 @@
1616
"electron:build:win": "nuxt build && electron-builder --win --publish never",
1717
"electron:build": "nuxt build && electron-builder --mac --win --publish never"
1818
},
19-
"dependencies": {
19+
"devDependencies": {
20+
"@nuxt/devtools": "^2.6.3",
2021
"@nuxt/fonts": "^0.11.4",
2122
"@nuxt/ui": "^3.3.3",
2223
"@nuxt/ui-pro": "^3.3.3",
2324
"@xterm/addon-fit": "^0.11.0",
2425
"@xterm/addon-web-links": "^0.12.0",
2526
"@xterm/xterm": "^6.0.0",
27+
"baseline-browser-mapping": "^2.9.19",
2628
"deno": "^2.4.4",
29+
"electron": "^36.0.0",
30+
"electron-builder": "^26.8.1",
2731
"monaco-editor": "^0.53.0",
2832
"node-pty": "^1.1.0",
2933
"nuxt": "^4.1.0",
@@ -33,12 +37,6 @@
3337
"vue": "^3.5.20",
3438
"vue-router": "^4.5.1"
3539
},
36-
"devDependencies": {
37-
"@nuxt/devtools": "^2.6.3",
38-
"baseline-browser-mapping": "^2.9.19",
39-
"electron": "^36.0.0",
40-
"electron-builder": "^26.8.1"
41-
},
4240
"overrides": {
4341
"minimatch": ">=10.2.1"
4442
},

0 commit comments

Comments
 (0)