From ea38a4d498bdede370e1ceb4097083952812e3f1 Mon Sep 17 00:00:00 2001 From: shadowusr Date: Mon, 19 Aug 2024 17:57:19 +0300 Subject: [PATCH] docs: advise to install latest 4 version instead of 4.0.0 --- docs/migrations/how-to-upgrade-hermione-to-4.mdx | 4 ++-- .../current/migrations/how-to-upgrade-hermione-to-4.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/migrations/how-to-upgrade-hermione-to-4.mdx b/docs/migrations/how-to-upgrade-hermione-to-4.mdx index 47f5447..013ccc2 100644 --- a/docs/migrations/how-to-upgrade-hermione-to-4.mdx +++ b/docs/migrations/how-to-upgrade-hermione-to-4.mdx @@ -306,14 +306,14 @@ module.exports = { А именно: -- обновите версию hermione до hermione@4.0.0; +- обновите версию hermione до hermione@4; - установите плагин [hermione-wdio-migrator][hermione-wdio-migrator] для плавной миграции команд; - установите пакет [hermione-codemod][hermione-codemod] для конвертации существующих тестов в новый синтаксис; Всё это вы можете сделать одной командой: ```shell -npm install -D hermione@4.0.0 hermione-wdio-migrator hermione-codemod --save-exact +npm install -D hermione@4 hermione-wdio-migrator hermione-codemod --save-exact ``` Версии всех плагинов hermione (например, [html-reporter][html-reporter]) также необходимо обновить до последних версий, т. к. часть из них может работать неправильно с новой версией hermione. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/migrations/how-to-upgrade-hermione-to-4.mdx b/i18n/en/docusaurus-plugin-content-docs/current/migrations/how-to-upgrade-hermione-to-4.mdx index 7cd9236..d4f9357 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/migrations/how-to-upgrade-hermione-to-4.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/migrations/how-to-upgrade-hermione-to-4.mdx @@ -306,14 +306,14 @@ We upgraded _webdriverio_ by three major versions at once, so simply updating th Specifically: -- Update hermione to hermione@4.0.0. +- Update hermione to hermione@4. - Install the [hermione-wdio-migrator][hermione-wdio-migrator] plugin for smooth command migration. - Install the [hermione-codemod][hermione-codemod] package to convert existing tests to the new syntax. You can do all this with one command: ```shell -npm install -D hermione@4.0.0 hermione-wdio-migrator hermione-codemod --save-exact +npm install -D hermione@4 hermione-wdio-migrator hermione-codemod --save-exact ``` The versions of all hermione plugins (e.g., [html-reporter][html-reporter]) also need to be updated to the latest versions, as some may not work correctly with the new hermione version.