Skip to content

Commit

Permalink
docs: advise to install latest 4 version instead of 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowusr committed Aug 19, 2024
1 parent 64bc132 commit ea38a4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/migrations/how-to-upgrade-hermione-to-4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ea38a4d

Please sign in to comment.