@iola_adm/iola-cli 0.2.20 → 0.2.21

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.
@@ -35,15 +35,15 @@ const canAnimate = process.stdout.isTTY && process.env.CI !== "true";
35
35
  const setupStarted = process.hrtime.bigint();
36
36
 
37
37
  console.log("");
38
- console.log("IOLA CLI: настройка после установки npm-пакета");
39
- console.log("Время ниже считает только настройку CLI, без скачивания и распаковки npm-пакета.");
38
+ console.log("IOLA CLI: настройка после скачивания npm-пакета");
39
+ console.log("Важно: это не полное время npm install. Скачивание, распаковку и служебные действия npm этот скрипт измерить не может.");
40
40
 
41
41
  for (let index = 0; index < steps.length; index += 1) {
42
42
  const step = steps[index];
43
43
  await runStep(step, index + 1, steps.length);
44
44
  }
45
45
 
46
- console.log(`IOLA CLI готова за ${formatDuration(elapsedMs(setupStarted))}. Запуск: iola`);
46
+ console.log(`Настройка CLI после скачивания заняла ${formatDuration(elapsedMs(setupStarted))}. Запуск: iola`);
47
47
 
48
48
  async function runStep(step, current, total) {
49
49
  const started = process.hrtime.bigint();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iola_adm/iola-cli",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "description": "CLI и AI-агент городского округа Йошкар-Ола.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/adm-iola/iola-cli#readme",
@@ -81,8 +81,8 @@ if (!packageJson.files.includes("docs/assets/iola-oauth-icon.png")) {
81
81
  throw new Error("package files should include the Yandex OAuth icon");
82
82
  }
83
83
  assertIncludes(postinstallSource, "process.hrtime.bigint()", "postinstall should use a monotonic timer");
84
- assertIncludes(postinstallSource, "без скачивания и распаковки npm-пакета", "postinstall timing should not imply full npm install time");
85
- assertIncludes(postinstallSource, "IOLA CLI готова за", "postinstall should print total setup duration");
84
+ assertIncludes(postinstallSource, "это не полное время npm install", "postinstall timing should not imply full npm install time");
85
+ assertIncludes(postinstallSource, "Настройка CLI после скачивания заняла", "postinstall should print setup-only duration");
86
86
 
87
87
  const commands = await runCli(["commands"]);
88
88
  assertIncludes(commands, "iola browser status|install|open|text|html|screenshot|pdf|click|type|eval", "commands");