@alchemy/cli 0.5.0 → 0.5.2
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/README.md +22 -71
- package/dist/{auth-E26YCAJV.js → auth-76PDHQ3U.js} +1 -1
- package/dist/{auth-7E33EMAI.js → auth-PYH5WEC3.js} +6 -3
- package/dist/{chunk-IGD4NIK7.js → chunk-5ZAK2VSS.js} +2 -2
- package/dist/chunk-BAAQ7ELR.js +143 -0
- package/dist/{chunk-LYUW7O6X.js → chunk-DBTRDS35.js} +30 -12
- package/dist/{chunk-5X6YRTPU.js → chunk-FM7GQX6U.js} +4 -2
- package/dist/chunk-KDMIWPZH.js +27 -0
- package/dist/chunk-NBDWF4ZQ.js +554 -0
- package/dist/chunk-NM25MEJZ.js +724 -0
- package/dist/{chunk-DUQFOLLZ.js → chunk-NSG4ZKZI.js} +3 -3
- package/dist/index.js +699 -30
- package/dist/{interactive-K7XOS6U6.js → interactive-CGEVIPC2.js} +9 -5
- package/dist/onboarding-DNEXVUUH.js +64 -0
- package/dist/resolve-CLDYJ27A.js +30 -0
- package/package.json +1 -1
- package/scripts/postinstall.cjs +17 -1
- package/dist/chunk-44OGGLN4.js +0 -681
- package/dist/chunk-T2XSNZE3.js +0 -1398
- package/dist/onboarding-F5PZMFZU.js +0 -227
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
if(process.argv.includes("--no-color"))process.env.NO_COLOR="1";
|
|
3
3
|
import {
|
|
4
4
|
configPath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BAAQ7ELR.js";
|
|
6
6
|
import {
|
|
7
7
|
esc
|
|
8
8
|
} from "./chunk-56ZVYB4G.js";
|
|
@@ -12,7 +12,7 @@ import { execFileSync } from "child_process";
|
|
|
12
12
|
import { readFileSync, writeFileSync, mkdirSync } from "fs";
|
|
13
13
|
import { dirname } from "path";
|
|
14
14
|
var CACHE_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
15
|
-
var UPDATE_INSTALL_COMMAND = "npm i -g @alchemy/cli";
|
|
15
|
+
var UPDATE_INSTALL_COMMAND = "npm i -g @alchemy/cli@latest";
|
|
16
16
|
function cachePath() {
|
|
17
17
|
return configPath().replace(/config\.json$/, ".update-check");
|
|
18
18
|
}
|
|
@@ -53,7 +53,7 @@ function semverLT(a, b) {
|
|
|
53
53
|
return false;
|
|
54
54
|
}
|
|
55
55
|
function currentVersion() {
|
|
56
|
-
return true ? "0.5.
|
|
56
|
+
return true ? "0.5.2" : "0.0.0";
|
|
57
57
|
}
|
|
58
58
|
function toUpdateStatus(latestVersion, checkedAt) {
|
|
59
59
|
const current = currentVersion();
|