@tinkoff-monorepo/fix-ts-references 1.8.11 → 1.8.12

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 +9 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @tinkoff-monorepo/fix-ts-references
2
2
 
3
- Все зависимости от слинкованных модулей монорепы должны быть зеркально отражены в `tsconfig.references`, чтобы позволить `tsc` собрать модули и зависимые от них модули в правильном порядке и за один вызов компилятора.
3
+ All of the dependencies for linked packages in monorepo should be specified in `tsconfig.references` file in order to let `tsc` to build packages and their dependencies in the right order within single compilation pass.
4
4
 
5
5
  ## Install
6
6
 
@@ -14,14 +14,14 @@ yarn add fix-ts-references
14
14
  npx fix-ts-references --fix
15
15
  ```
16
16
 
17
- Соответственно скрипт выполняет:
17
+ Script will do next:
18
18
 
19
- С флагом `--fix`:
19
+ With flag `--fix`:
20
20
 
21
- 1. Удаление ссылки из references модуля если зависимость убрана из `package.json`
22
- 1. Добавление ссылки в references модуля если зависимость добавлена в `package.json`
23
- 1. Простановка `tsconfig.compilerOptions.rootDir=./src` если не поставлена
24
- 1. Удаление ссылки из reference solution проекта если модуль удален из репозитория
25
- 1. Добавление ссылки в reference solution проекта если модуль добавлен в репозиторий
21
+ 1. Remove references from references list for package if dependency has been removed from `package.json`
22
+ 2. Add new references to references list for package if dependency has been added to `package.json`
23
+ 3. Setting `tsconfig.compilerOptions.rootDir=./src` if it is not set
24
+ 4. Remove reference from project reference solution if package has been removed from repository
25
+ 5. Add reference to project reference solution if package has been added to the repository
26
26
 
27
- Без флага `--fix` выводит список неисправленных ошибок
27
+ Without flag `--fix` will just show list of errors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinkoff-monorepo/fix-ts-references",
3
- "version": "1.8.11",
3
+ "version": "1.8.12",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "author": "",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@tinkoff-monorepo/pkgs-collector-workspaces": "1.8.11",
20
+ "@tinkoff-monorepo/pkgs-collector-workspaces": "1.8.12",
21
21
  "signale": "^1.4.0",
22
22
  "tslib": "^2.0.3"
23
23
  }