@delta-infra/cli 1.0.29 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.txt +5 -5
- package/package.json +1 -1
- package/scripts/install-wizard.js +19 -11
package/checksums.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
619dded6dd11db1c6890b3cc37ce103f4644502861a3171fc594fcfd5447f10e delta-cli-darwin-amd64.tar.gz
|
|
2
|
+
c67b7bb962b33a84e3e8a8674d74ae44c3a1a9943ff5fa1510a4bfe9248a7d25 delta-cli-darwin-arm64.tar.gz
|
|
3
|
+
c438cb04b7600a19746fcdfb3d1b8a6a14dfb7944f21090476df7c809dfe2af7 delta-cli-linux-amd64.tar.gz
|
|
4
|
+
514bce5681f3838549296323c6f8f4f8dd7f7a4ccafcbe49d67393d8829001df delta-cli-linux-arm64.tar.gz
|
|
5
|
+
a232f0249968601038e655ff57316eeeb7b95e6ed37367fd2efd01775115878f delta-cli-windows-amd64.zip
|
package/package.json
CHANGED
|
@@ -233,18 +233,26 @@ async function stepInstallSkills(msg) {
|
|
|
233
233
|
s.stop(msg.step2Skip);
|
|
234
234
|
return;
|
|
235
235
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
236
|
+
const GH_PROXY = "https://gh-proxy.com/https://github.com";
|
|
237
|
+
const urls = [
|
|
238
|
+
`${GH_PROXY}/${SKILLS_REPO}`,
|
|
239
|
+
SKILLS_REPO,
|
|
240
|
+
`https://github.com/${SKILLS_REPO}`,
|
|
241
|
+
];
|
|
242
|
+
let lastErr;
|
|
243
|
+
for (const url of urls) {
|
|
244
|
+
try {
|
|
245
|
+
await runSilentAsync("npx", ["-y", "skills", "add", url, "-y", "-g"], {
|
|
246
|
+
timeout: 120000,
|
|
247
|
+
env: { ...process.env, GIT_TERMINAL_PROMPT: "0" },
|
|
248
|
+
});
|
|
249
|
+
s.stop(msg.step2Done);
|
|
250
|
+
return;
|
|
251
|
+
} catch (e) {
|
|
252
|
+
lastErr = e;
|
|
253
|
+
}
|
|
246
254
|
}
|
|
247
|
-
|
|
255
|
+
throw lastErr;
|
|
248
256
|
} catch {
|
|
249
257
|
s.stop(fmt(msg.step2Fail, SKILLS_REPO));
|
|
250
258
|
process.exit(1);
|