Bump/electron-25 (#6081)

* bump

* lockfiles

* upgrade doc
This commit is contained in:
Jack Kavanagh 2023-07-04 22:55:47 +02:00 committed by GitHub
parent 6aa7cf1697
commit c0e25d0490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 2086 additions and 1249 deletions

2
.nvmrc
View File

@ -1 +1 @@
18.12.0
18.15.0

View File

@ -72,3 +72,15 @@ This is just a brief summary of Insomnia's current technical debt.
- Bundling `libcurl` (native module) has caused many weeks of headaches trying to get builds working across Windows, Mac, and Linux. More expertise here is definitely needed.
- All input fields that support features like templating or code completion are actually [CodeMirror](https://codemirror.net/6/) instances. This isn't really debt, but may affect things going forward.
- Use of `libcurl` means Insomnia can't run in a web browser and can't support bidirectional socket communication.
## Electron upgrade
<https://releases.electronjs.org/>
bump the following node and electron versions
- `.npmrc`
- `.nvmrc`
- `packages/insomnia/package.json` electron and node-libcurl
- `packages/insomnia-send-request/package.json` node-libcurl
- `shell.nix`

2
package-lock.json generated
View File

@ -38,7 +38,7 @@
"typescript": "^4.5.5"
},
"engines": {
"node": ">=18.12 <20",
"node": ">=18.15 <20",
"npm": ">=8.19.0"
}
},

View File

@ -11,7 +11,7 @@
},
"homepage": "https://github.com/kong/insomnia#readme",
"engines": {
"node": ">=18.12 <20",
"node": ">=18.15 <20",
"npm": ">=8.19.0"
},
"scripts": {

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
"main": "dist/index.js",
"types": "dist/send-request/index.d.ts",
"dependencies": {
"@getinsomnia/node-libcurl": "2.3.5-9",
"@getinsomnia/node-libcurl": "2.3.6-18",
"@stoplight/spectral-core": "^1.12.2",
"@stoplight/spectral-formats": "^1.2.0",
"@stoplight/spectral-rulesets": "^1.9.0",

View File

@ -1,3 +1,3 @@
runtime = electron
target = 23.0.0
target = 25.2.0
disturl = https://electronjs.org/headers

File diff suppressed because it is too large Load Diff

View File

@ -45,7 +45,7 @@
"dependencies": {
"@apideck/better-ajv-errors": "^0.2.6",
"@apidevtools/swagger-parser": "10.1.0",
"@getinsomnia/node-libcurl": "2.3.5-9",
"@getinsomnia/node-libcurl": "2.3.6-18",
"@grpc/grpc-js": "^1.8.0",
"@grpc/proto-loader": "^0.7.4",
"@jest/globals": "^28.1.0",
@ -169,7 +169,7 @@
"cross-env": "^7.0.3",
"date-fns": "^2.28.0",
"deep-equal": "^1.0.1",
"electron": "23.3.9",
"electron": "25.2.0",
"electron-builder": "24.4.0",
"electron-builder-squirrel-windows": "24.4.0",
"electron-devtools-installer": "^3.2.0",

View File

@ -3,9 +3,9 @@ with import <nixpkgs> { };
mkShell {
nativeBuildInputs = [
nodejs-18_x
electron_23
electron_25
stdenv.cc.cc.lib
];
LD_LIBRARY_PATH = "${stdenv.cc.cc.lib}/lib64:$LD_LIBRARY_PATH";
ELECTRON_OVERRIDE_DIST_PATH = "${electron_23}/bin/";
ELECTRON_OVERRIDE_DIST_PATH = "${electron_25}/bin/";
}