Skip to content

Commit

Permalink
build(deps): Electron Forge 7.6 (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao authored Dec 18, 2024
1 parent 2b832fc commit 5d51311
Show file tree
Hide file tree
Showing 3 changed files with 376 additions and 421 deletions.
2 changes: 0 additions & 2 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ const options: ForgeConfig = {
postMake: async () => {
server.close();
console.log(`server closing`);
// FIXME: we should be able to just void return the postMake hook upstream?
return undefined;
},
},
packagerConfig: {
Expand Down
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"scripts": {
"tsc": "tsc -p tsconfig.json --noEmit",
"lint": "npm run tsc && eslint . --ignore-path .gitignore && prettier --check .",
"package": "electron-forge package",
"make": "electron-forge make",
"package": "cross-env DISABLE_V8_COMPILE_CACHE=1 electron-forge package",
"make": "cross-env DISABLE_V8_COMPILE_CACHE=1 electron-forge make",
"parcel:build": "node ./tools/parcel-build.js",
"parcel:watch": "node ./tools/parcel-watch.js",
"publish": "electron-forge publish",
"start": "rimraf ./dist && electron-forge start",
"publish": "cross-env DISABLE_V8_COMPILE_CACHE=1 electron-forge publish",
"start": "rimraf ./dist && cross-env DISABLE_V8_COMPILE_CACHE=1 electron-forge start",
"test": "jest --config=jest.json --coverage --runInBand",
"update-snapshots": "jest --config=jest.json --updateSnapshot",
"catapult:update": "git submodule foreach git pull origin master",
Expand Down Expand Up @@ -57,13 +57,13 @@
"yauzl": "2.10.0"
},
"devDependencies": {
"@electron-forge/cli": "7.2.0",
"@electron-forge/maker-deb": "7.2.0",
"@electron-forge/maker-rpm": "7.2.0",
"@electron-forge/maker-squirrel": "7.2.0",
"@electron-forge/maker-zip": "7.2.0",
"@electron-forge/plugin-auto-unpack-natives": "7.2.0",
"@electron-forge/publisher-github": "7.2.0",
"@electron-forge/cli": "7.6.0",
"@electron-forge/maker-deb": "7.6.0",
"@electron-forge/maker-rpm": "7.6.0",
"@electron-forge/maker-squirrel": "7.6.0",
"@electron-forge/maker-zip": "7.6.0",
"@electron-forge/plugin-auto-unpack-natives": "7.6.0",
"@electron-forge/publisher-github": "7.6.0",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@types/classnames": "^2.2.11",
Expand All @@ -87,6 +87,7 @@
"@typescript-eslint/parser": "^5.60.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"cross-env": "^7.0.3",
"devtools-frontend-prebuilt": "1.2.0-beta2",
"electron": "31.1.0",
"eslint": "^8.43.0",
Expand All @@ -111,7 +112,7 @@
"resolutions": {
"@types/react": "16.14.43",
"mobx-react-lite": "2.2.0",
"node-abi": "^3.45.0"
"@electron/rebuild": "3.6.2"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
Expand Down
Loading

0 comments on commit 5d51311

Please sign in to comment.