Update dependencies

This commit is contained in:
Josh Stewart 2024-05-16 14:17:49 +10:00
parent fe6cd5c338
commit 2f402ef2e3
4 changed files with 600 additions and 303 deletions

View File

@ -28,7 +28,7 @@ jobs:
node-version: '19.x'
- name: Install Electron and build
run: |
npm install electron-rebuild -g
npm install @electron/rebuild -g
npm install electron-builder -g
npm install
npm run package-linux-workflow
@ -53,7 +53,7 @@ jobs:
- name: Install Electron and build
run: |
python3 -m pip install setuptools
npm install electron-rebuild -g
npm install @electron/rebuild -g
npm install electron-builder -g
npm install
npm run package-mac-workflow
@ -63,7 +63,9 @@ jobs:
name: Ardu-Stim Mac-x86_64
path: UI/dist/*.dmg
# This build does NOT work. macos-14 arm64 makes code signing mandatory and applications built on it without signing will report as 'damaged'. See: https://github.com/electron-userland/electron-builder/issues/7602
Build-for-mac-arm64:
if: false #Disables this job. See note above.
name: Run npm on arm64 macos
runs-on: macos-14 #As of Apr 2024 macos-13 will give an intel host and macos-14 will be aarm64
defaults:
@ -78,7 +80,7 @@ jobs:
- name: Install Electron and build
run: |
brew install python-setuptools
npm install electron-rebuild -g
npm install @electron/rebuild -g
npm install electron-builder -g
npm install
npm run package-mac-workflow
@ -102,7 +104,7 @@ jobs:
node-version: '19.x'
- name: Install Electron and build
run: |
npm install electron-rebuild -g
npm install @electron/rebuild -g
npm install electron-builder -g
npm install
npm run package-win

View File

@ -18,7 +18,7 @@ jobs:
working-directory: 'UI' # Here the path to the folder where package-lock.json is located.
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
@ -33,5 +33,5 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm install electron-rebuild -g
- run: npm install @electron/rebuild -g
- run: npm install

885
UI/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -29,10 +29,10 @@
},
"homepage": "https://github.com/speeduino/Ardu-Stim",
"devDependencies": {
"@electron/packager": "^18.3.2",
"@electron/rebuild": "^3.6.0",
"electron": "^22.3.25",
"electron-builder": "^24.13.3",
"electron-packager": "^17.1.2"
"electron-builder": "^24.13.3"
},
"dependencies": {
"semver": "^7.3.5",