@tramvai/tools-check-versions 0.3.14 → 0.3.18

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.
Files changed (2) hide show
  1. package/README.md +11 -12
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,37 +1,36 @@
1
- # Инструмент для проверки версий модулей в tramvai-приложении
1
+ # Tool for checking module versions in the tramvai application
2
2
 
3
- При несовпадении версий трамвай зависимостей могут возникать различные конфликты несовместимости, поэтому существует эта тулза.
3
+ Various conflicts and compatibility errors may rise when using _mismatched_ versions of the tramvai dependencies. That's way this tool exists.
4
4
 
5
- Тулза проверяет что в хостовом приложении все версии трамвай модулей в package.json совпадают.
5
+ The tool checks that all of the tramvai dependencies are consistent in `package.json` for the app. That includes checks for mismatched versions between different dependencies and checks for mismatched versions in `package.json` and real versions that are resolved in dependency tree.
6
6
 
7
- Анализируется package.json в хостовом приложении и реальные версии зависимостей, и при несовпадении версий выбрасывается ошибка со списком устаревших пакетов.
8
-
9
- Пример невалидного списка зависимостей:
7
+ Example of the wrong dependencies:
10
8
 
11
9
  ```json
12
10
  "dependencies": {
13
- "@tramvai/core": "0.5.0", // самая свежая версия, ошибка предложит обновить остальные зависимости
11
+ "@tramvai/core": "0.5.0", // the most fresh version. The error will be thrown with the suggestion to update other dependencies
14
12
  "@tramvai/module-common": "0.4.2",
15
13
  "@tramvai/module-router": "0.4.2",
16
14
  "@tramvai/state": "0.4.2",
17
15
  }
18
16
  ```
19
17
 
20
- ## Prerelease версии
18
+ ## Prerelease versions
21
19
 
22
- Инструмент позволяет устанавливать prerelease версии tramvai зависимостей для тестирования нового функционала,
23
- пример валидного списка зависимостей:
20
+ Prerelease versions often used for the testing. The tool will recognize prerelease versions for the tramvai dependencies and won't count this as mismatched in case all of the prerelease versions are higher than other stable versions.
24
21
 
25
22
  ```json
26
23
  "dependencies": {
27
- "@tramvai/core": "0.5.0-rc.2", // release candidate версия, выше по SemVer чем остальные зависимости, ошибок не будет
24
+ "@tramvai/core": "0.5.0-rc.2", // release candidate version. The version is higher than other dependencies, so no error will be generated
28
25
  "@tramvai/module-common": "0.4.2",
29
26
  "@tramvai/module-router": "0.4.2",
30
27
  "@tramvai/state": "0.4.2",
31
28
  }
32
29
  ```
33
30
 
34
- ## Паттерны связанных зависимостей
31
+ ## Patterns for the related dependencies
32
+
33
+ Packages with the name that matches the following patterns are considered related and for these packages the `@tramvai/tools-check-versions` will execute checks
35
34
 
36
35
  - `/^@tramvai\/core$/`
37
36
  - `/^@tramvai\/module-/`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tools-check-versions",
3
- "version": "0.3.14",
3
+ "version": "0.3.18",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -12,7 +12,7 @@
12
12
  "author": "",
13
13
  "license": "Apache-2.0",
14
14
  "dependencies": {
15
- "@tinkoff/logger": "0.10.11",
15
+ "@tinkoff/logger": "0.10.14",
16
16
  "@tinkoff/utils": "^2.1.2",
17
17
  "fs-extra": "^9.0.0",
18
18
  "p-map": "^4.0.0",