@yuu1111/quality-check 0.5.1 → 0.6.0

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.
package/README.ja.md CHANGED
@@ -72,7 +72,7 @@ engineは `biome` → `typecheck` → `knip` → `comment-check` → `document-s
72
72
  | engine | 起動するcommand | 受け取る条件 |
73
73
  |--------|-----------------|--------------|
74
74
  | `biome` | `biome check` | `targets`、`args` 除外pathは `biome.json` が持つ |
75
- | `typecheck` | `tsc --noEmit` | `args` 設定は `tsconfig.json` が持つ |
75
+ | `typecheck` | `tsc --noEmit` | `args`、`projects` 設定は `tsconfig.json` が持つ |
76
76
  | `knip` | `knip` | `args` 設定は `knip.ts` が持つ |
77
77
  | `comment-check` | `comment-check --json` | `ignore`、`targets`、`args` |
78
78
  | `document-style-check` | `document-style-check lint --json` | `ignore`、`targets`、`args` |
@@ -113,8 +113,5 @@ engineのbinaryは利用Projectの `node_modules/.bin` から実行時に解決
113
113
 
114
114
  `comment-check` はbaseline差分を無効化する未作成のpathを渡して起動する 新規と解消済みの判定はengineごとではなく統合CLIが1つのbaseline fileで行うため、既存の `comment-baseline.json` がある場合は `--update-baseline` で移す
115
115
 
116
- `typecheck` は `tsc --noEmit` を回すだけなので、tsconfigを複数持つProjectは対象のtsconfigごとに起動する必要がある
116
+ `typecheck` は `projects` に並べたtsconfigごとに `tsc --noEmit -p <path>` を起動する 省略時はカレントの `tsconfig.json` を1回だけ読み、`args` はすべての起動へ足す
117
117
 
118
- ## License
119
-
120
- MIT
package/README.md CHANGED
@@ -78,7 +78,7 @@ engine in `config`. Each engine runs:
78
78
  | Engine | Command | Conditions |
79
79
  |--------|---------|------------|
80
80
  | `biome` | `biome check` | `targets`, `args`; `biome.json` holds the excluded paths |
81
- | `typecheck` | `tsc --noEmit` | `args`; `tsconfig.json` holds the settings |
81
+ | `typecheck` | `tsc --noEmit` | `args`, `projects`; `tsconfig.json` holds the settings |
82
82
  | `knip` | `knip` | `args`; `knip.ts` holds the settings |
83
83
  | `comment-check` | `comment-check --json` | `ignore`, `targets`, `args` |
84
84
  | `document-style-check` | `document-style-check lint --json` | `ignore`, `targets`, `args` |
@@ -132,9 +132,6 @@ finding. The new-and-resolved diff is done by this CLI from a single baseline
132
132
  file, so an existing `comment-baseline.json` is moved over with
133
133
  `--update-baseline`.
134
134
 
135
- `typecheck` only runs `tsc --noEmit`, so a project with more than one tsconfig
136
- has to start it once per target.
137
-
138
- ## License
139
-
140
- MIT
135
+ `typecheck` starts `tsc --noEmit -p <path>` once per path in `projects`. Without
136
+ it the current `tsconfig.json` is read once, and `args` are added to every
137
+ start.