@itera-web/cli 1.1.57 → 1.1.59
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/dist/public/public.js
CHANGED
|
@@ -376,7 +376,7 @@ function onCheckIteraCliVersion() {
|
|
|
376
376
|
switch (_a.label) {
|
|
377
377
|
case 0:
|
|
378
378
|
_a.trys.push([0, 3, , 4]);
|
|
379
|
-
return [4, (0, node_fetch_1.default)("https://registry.npmjs.org/".concat(encodeURIComponent('@
|
|
379
|
+
return [4, (0, node_fetch_1.default)("https://registry.npmjs.org/".concat(encodeURIComponent('@itera-web/cli'), "/latest"))];
|
|
380
380
|
case 1:
|
|
381
381
|
response = _a.sent();
|
|
382
382
|
if (!response.ok)
|
|
@@ -387,7 +387,7 @@ function onCheckIteraCliVersion() {
|
|
|
387
387
|
latestVersion = data.version;
|
|
388
388
|
log_1.Console.cyan("\n\u6B22\u8FCE\u4F7F\u7528 itera-cli \u811A\u624B\u67B6\n\u5F53\u524D\u7248\u672C\uFF1A".concat(store_1.mainData.pkg.version, "\n\u6700\u65B0\u7248\u672C\uFF1A").concat(latestVersion, "\n"));
|
|
389
389
|
if (store_1.mainData.pkg.version !== latestVersion) {
|
|
390
|
-
log_1.Console.warn("\u68C0\u6D4B\u5230\u65B0\u7248\u672C ".concat(latestVersion, "\uFF0C\u8BF7\u4F7F\u7528 npm install -g itera-cli \u66F4\u65B0"));
|
|
390
|
+
log_1.Console.warn("\u68C0\u6D4B\u5230\u65B0\u7248\u672C ".concat(latestVersion, "\uFF0C\u8BF7\u4F7F\u7528 npm install -g @itera-web/cli \u66F4\u65B0"));
|
|
391
391
|
}
|
|
392
392
|
return [3, 4];
|
|
393
393
|
case 3:
|