Skip to content

Commit 599cce4

Browse files
authored
get arm CI building again by forking archived packages (#1190)
* use forked fs-admin package with prebuilds for armv7l and other platforms * doot * attempt the second * do we see anything different on node-gyp@11 * rename import to point to new package name * bump to newer version * also fix prebuilds for keytar to actually work
1 parent 4ec9488 commit 599cce4

File tree

6 files changed

+284
-70
lines changed

6 files changed

+284
-70
lines changed

app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"electron-window-state": "^5.0.3",
3838
"event-kit": "^2.0.0",
3939
"focus-trap-react": "^8.1.0",
40-
"fs-admin": "^0.19.0",
40+
"fs-admin-forked": "^0.23.0",
4141
"fuzzaldrin-plus": "^0.6.0",
42-
"keytar": "^7.8.0",
42+
"keytar-forked": "^7.10.0",
4343
"lodash": "^4.17.21",
4444
"marked": "^4.0.10",
4545
"mem": "^4.3.0",

app/src/lib/stores/token-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as keytar from 'keytar'
1+
import * as keytar from 'keytar-forked'
22

33
function setItem(key: string, login: string, value: string) {
44
return keytar.setPassword(key, login, value)

app/src/ui/lib/install-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as Path from 'path'
22

3-
import * as fsAdmin from 'fs-admin'
3+
import * as fsAdmin from 'fs-admin-forked'
44
import { mkdir, readlink, symlink, unlink } from 'fs/promises'
55

66
/** The path for the installed command line tool. */

app/yarn.lock

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -477,13 +477,13 @@ focus-trap@^6.1.0:
477477
dependencies:
478478
tabbable "^5.1.0"
479479

480-
fs-admin@^0.19.0:
481-
version "0.19.0"
482-
resolved "https://registry.yarnpkg.com/fs-admin/-/fs-admin-0.19.0.tgz#c2b077b21607ca1982bf9bc8c3fc096be7a1186e"
483-
integrity sha512-GtJUlSqX95Daw1zlH9PtqMIpr+yQqUnCRKxupuwdlPGy4ds+ICNT3apyQlnT1yXiXvAdnTK06ag/4jMS/jzhXQ==
480+
fs-admin-forked@^0.23.0:
481+
version "0.23.0"
482+
resolved "https://registry.yarnpkg.com/fs-admin-forked/-/fs-admin-forked-0.23.0.tgz#4fcdf64a2d7758a52c67bbc87b1ff7a592ff6803"
483+
integrity sha512-1sFLqKsArQPtzEcMys8vsxDod0hVi5Q2Vsev2h+UZ7vXTQz++mUe01uHkS+r9Yj0zjLT0Dwefv3c5a1dCAW7xg==
484484
dependencies:
485-
node-addon-api "^3.1.0"
486-
prebuild-install "^6.0.0"
485+
node-addon-api "^8.3.0"
486+
prebuild-install "^7.1.3"
487487

488488
fs-constants@^1.0.0:
489489
version "1.0.0"
@@ -650,13 +650,13 @@ jszip@^3.1.0:
650650
readable-stream "~2.3.6"
651651
setimmediate "^1.0.5"
652652

653-
keytar@^7.8.0:
654-
version "7.8.0"
655-
resolved "https://registry.yarnpkg.com/keytar/-/keytar-7.8.0.tgz#28cf5ceeb1275350888870022869b8b4fe6a87f9"
656-
integrity sha512-mR+BqtAOIW8j+T5FtLVyckCbvROWQD+4FzPeFMuk5njEZkXLpVPCGF26Y3mTyxMAAL1XCfswR7S6kIf+THSRFA==
653+
keytar-forked@^7.10.0:
654+
version "7.10.0"
655+
resolved "https://registry.yarnpkg.com/keytar-forked/-/keytar-forked-7.10.0.tgz#dbb78e16b18a40fc61df58124228855a7e8c912d"
656+
integrity sha512-MrH3Id3Bjf4av3zGihBK62NucgBOVbTzchnSRPtA14sWRj9xu7roFa9NddlxC6Nt98EdrQpu04MZXnuusV+b5w==
657657
dependencies:
658-
node-addon-api "^4.3.0"
659-
prebuild-install "^7.0.1"
658+
node-addon-api "^8.3.0"
659+
prebuild-install "^7.1.3"
660660

661661
kuler@^2.0.0:
662662
version "2.0.0"
@@ -787,6 +787,11 @@ napi-build-utils@^1.0.1:
787787
resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.1.tgz#1381a0f92c39d66bf19852e7873432fc2123e508"
788788
integrity sha512-boQj1WFgQH3v4clhu3mTNfP+vOBxorDlE8EKiMjUlLG3C4qAESnn9AxIOkFgTR2c9LtzNjPrjS60cT27ZKBhaA==
789789

790+
napi-build-utils@^2.0.0:
791+
version "2.0.0"
792+
resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-2.0.0.tgz#13c22c0187fcfccce1461844136372a47ddc027e"
793+
integrity sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==
794+
790795
nice-try@^1.0.4:
791796
version "1.0.5"
792797
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
@@ -821,6 +826,11 @@ node-addon-api@^5.0.0:
821826
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-5.0.0.tgz#7d7e6f9ef89043befdb20c1989c905ebde18c501"
822827
integrity sha512-CvkDw2OEnme7ybCykJpVcKH+uAOLV2qLqiyla128dN9TkEWfrYmxG6C2boDe5KcNQqZF3orkqzGgOMvZ/JNekA==
823828

829+
node-addon-api@^8.3.0:
830+
version "8.3.0"
831+
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-8.3.0.tgz#ec3763f18befc1cdf66d11e157ce44d5eddc0603"
832+
integrity sha512-8VOpLHFrOQlAH+qA0ZzuGRlALRA6/LVh8QJldbrC4DY0hXoMP0l4Acq8TzFC018HztWiRqyCEj2aTWY2UvnJUg==
833+
824834
noop-logger@^0.1.1:
825835
version "0.1.1"
826836
resolved "https://registry.yarnpkg.com/noop-logger/-/noop-logger-0.1.1.tgz#94a2b1633c4f1317553007d8966fd0e841b6a4c2"
@@ -935,31 +945,29 @@ prebuild-install@^5.3.5:
935945
tunnel-agent "^0.6.0"
936946
which-pm-runs "^1.0.0"
937947

938-
prebuild-install@^6.0.0:
939-
version "6.0.0"
940-
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.0.0.tgz#669022bcde57c710a869e39c5ca6bf9cd207f316"
941-
integrity sha512-h2ZJ1PXHKWZpp1caLw0oX9sagVpL2YTk+ZwInQbQ3QqNd4J03O6MpFNmMTJlkfgPENWqe5kP0WjQLqz5OjLfsw==
948+
prebuild-install@^7.0.1:
949+
version "7.0.1"
950+
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.0.1.tgz#c10075727c318efe72412f333e0ef625beaf3870"
951+
integrity sha512-QBSab31WqkyxpnMWQxubYAHR5S9B2+r81ucocew34Fkl98FhvKIF50jIJnNOBmAZfyNV7vE5T6gd3hTVWgY6tg==
942952
dependencies:
943-
detect-libc "^1.0.3"
953+
detect-libc "^2.0.0"
944954
expand-template "^2.0.3"
945955
github-from-package "0.0.0"
946956
minimist "^1.2.3"
947957
mkdirp-classic "^0.5.3"
948958
napi-build-utils "^1.0.1"
949-
node-abi "^2.7.0"
950-
noop-logger "^0.1.1"
959+
node-abi "^3.3.0"
951960
npmlog "^4.0.1"
952961
pump "^3.0.0"
953962
rc "^1.2.7"
954-
simple-get "^3.0.3"
963+
simple-get "^4.0.0"
955964
tar-fs "^2.0.0"
956965
tunnel-agent "^0.6.0"
957-
which-pm-runs "^1.0.0"
958966

959-
prebuild-install@^7.0.1:
960-
version "7.0.1"
961-
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.0.1.tgz#c10075727c318efe72412f333e0ef625beaf3870"
962-
integrity sha512-QBSab31WqkyxpnMWQxubYAHR5S9B2+r81ucocew34Fkl98FhvKIF50jIJnNOBmAZfyNV7vE5T6gd3hTVWgY6tg==
967+
prebuild-install@^7.1.2:
968+
version "7.1.2"
969+
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.1.2.tgz#a5fd9986f5a6251fbc47e1e5c65de71e68c0a056"
970+
integrity sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==
963971
dependencies:
964972
detect-libc "^2.0.0"
965973
expand-template "^2.0.3"
@@ -968,24 +976,23 @@ prebuild-install@^7.0.1:
968976
mkdirp-classic "^0.5.3"
969977
napi-build-utils "^1.0.1"
970978
node-abi "^3.3.0"
971-
npmlog "^4.0.1"
972979
pump "^3.0.0"
973980
rc "^1.2.7"
974981
simple-get "^4.0.0"
975982
tar-fs "^2.0.0"
976983
tunnel-agent "^0.6.0"
977984

978-
prebuild-install@^7.1.2:
979-
version "7.1.2"
980-
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.1.2.tgz#a5fd9986f5a6251fbc47e1e5c65de71e68c0a056"
981-
integrity sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==
985+
prebuild-install@^7.1.3:
986+
version "7.1.3"
987+
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.1.3.tgz#d630abad2b147443f20a212917beae68b8092eec"
988+
integrity sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==
982989
dependencies:
983990
detect-libc "^2.0.0"
984991
expand-template "^2.0.3"
985992
github-from-package "0.0.0"
986993
minimist "^1.2.3"
987994
mkdirp-classic "^0.5.3"
988-
napi-build-utils "^1.0.1"
995+
napi-build-utils "^2.0.0"
989996
node-abi "^3.3.0"
990997
pump "^3.0.0"
991998
rc "^1.2.7"

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"klaw-sync": "^3.0.0",
8383
"legal-eagle": "0.16.0",
8484
"mini-css-extract-plugin": "^2.9.1",
85+
"node-gyp": "^11.0.0",
8586
"parallel-webpack": "^2.6.0",
8687
"parse-dds": "^1.2.1",
8788
"prettier": "^2.6.0",
@@ -170,5 +171,6 @@
170171
"electron-installer-debian": "3.2.0",
171172
"electron-installer-redhat": "3.4.0",
172173
"electron-winstaller": "^5.0.0"
173-
}
174+
},
175+
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
174176
}

0 commit comments

Comments
 (0)