Update package versions
This commit is contained in:
parent
6d5ba447dc
commit
7e97edbe48
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
run: npm install
|
||||
- name: Setup extra environment
|
||||
if: startsWith(matrix.os, 'self')
|
||||
run: brew install fakeroot && brew install dpkg && npm install
|
||||
run: brew install dpkg && npm install
|
||||
- name: Build MacOS and Linux executables
|
||||
if: startsWith(matrix.os, 'self')
|
||||
run: npm run make -- --platform=darwin && npm run make -- --platform=linux
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
run: npm install
|
||||
- name: Setup extra environment
|
||||
if: startsWith(matrix.os, 'self')
|
||||
run: brew install fakeroot && brew install dpkg
|
||||
run: brew install dpkg
|
||||
- name: Publish release for Windows
|
||||
if: startsWith(matrix.os, 'windows')
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ build-mac:
|
|||
policy: pull
|
||||
script:
|
||||
- brew update
|
||||
- brew install dpkg && brew install rpm && brew install fakeroot
|
||||
- brew install dpkg && brew install rpm
|
||||
- npm run make -- --platform=darwin
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
const fetch = require('node-fetch');
|
||||
const { JSDOM } = require('jsdom');
|
||||
const https = require('https');
|
||||
const fs = require('fs');
|
||||
const { store } = require('./store');
|
||||
|
||||
// eslint-disable-next-line no-shadow
|
||||
const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));
|
||||
const { DOMParser } = new JSDOM().window;
|
||||
|
||||
const serializeAndEscapeOptions = (options) => {
|
||||
|
|
|
|||
3
myApp.js
3
myApp.js
|
|
@ -1,7 +1,6 @@
|
|||
/* eslint-env es2021 */
|
||||
const { menubar } = require('menubar');
|
||||
const { Menu, Notification, shell, ipcMain, dialog, app } = require('electron');
|
||||
const fetch = require('node-fetch');
|
||||
const { URL } = require('url');
|
||||
const ua = require('universal-analytics');
|
||||
const jsdom = require('jsdom');
|
||||
|
|
@ -54,6 +53,8 @@ const processInfo = require('./lib/process-info');
|
|||
const { version } = require('./package.json').version;
|
||||
const CommandPalette = require('./src/command-palette');
|
||||
|
||||
// eslint-disable-next-line no-shadow
|
||||
const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));
|
||||
const { JSDOM } = jsdom;
|
||||
let commandPalette;
|
||||
global.DOMParser = new JSDOM().window.DOMParser;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
34
package.json
34
package.json
|
|
@ -25,34 +25,34 @@
|
|||
],
|
||||
"author": "Marcel van Remmerden",
|
||||
"devDependencies": {
|
||||
"@electron-forge/cli": "^6.0.0-beta.59",
|
||||
"@electron-forge/maker-deb": "^6.0.0-beta.59",
|
||||
"@electron-forge/maker-dmg": "^6.0.0-beta.59",
|
||||
"@electron-forge/maker-rpm": "^6.0.0-beta.59",
|
||||
"@electron-forge/maker-squirrel": "^6.0.0-beta.59",
|
||||
"@electron-forge/maker-zip": "^6.0.0-beta.59",
|
||||
"@electron-forge/publisher-github": "^6.0.0-beta.59",
|
||||
"@electron-forge/cli": "^6.0.0-beta.63",
|
||||
"@electron-forge/maker-deb": "^6.0.0-beta.63",
|
||||
"@electron-forge/maker-dmg": "^6.0.0-beta.63",
|
||||
"@electron-forge/maker-rpm": "^6.0.0-beta.63",
|
||||
"@electron-forge/maker-squirrel": "^6.0.0-beta.63",
|
||||
"@electron-forge/maker-zip": "^6.0.0-beta.63",
|
||||
"@electron-forge/publisher-github": "^6.0.0-beta.63",
|
||||
"electron": "^16.0.4",
|
||||
"eslint": "^8.9.0",
|
||||
"eslint": "^8.12.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-formatter-gitlab": "^3.0.0",
|
||||
"eslint-plugin-import": "^2.25.3",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"mocha": "^9.1.2",
|
||||
"mocha": "^9.2.2",
|
||||
"mocha-junit-reporter": "^2.0.2",
|
||||
"mocha-multi-reporters": "^1.5.1",
|
||||
"prettier": "^2.4.1"
|
||||
"prettier": "^2.6.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"electron-squirrel-startup": "^1.0.0",
|
||||
"electron-store": "^8.0.0",
|
||||
"jsdom": "^17.0.0",
|
||||
"electron-store": "^8.0.1",
|
||||
"jsdom": "^19.0.0",
|
||||
"menubar": "^9.1.1",
|
||||
"node-browser-history": "^2.4.6",
|
||||
"node-fetch": "^2.6.1",
|
||||
"playwright": "^1.17.1",
|
||||
"universal-analytics": "^0.4.23",
|
||||
"node-fetch": "^3.2.3",
|
||||
"playwright": "^1.20.1",
|
||||
"universal-analytics": "^0.5.3",
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
"config": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue