@yuu1111/quality-check 0.5.0 → 0.5.1
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 +2 -0
- package/README.md +5 -0
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -109,6 +109,8 @@ biome: ignore skipped (biome.json holds its settings)
|
|
|
109
109
|
|
|
110
110
|
Biome、型検査、Knipの設定は `biome.json`、`tsconfig.json`、`knip.ts` が持つ このCLIは同じfileからengineの起動と結果の集約だけを行う
|
|
111
111
|
|
|
112
|
+
engineのbinaryは利用Projectの `node_modules/.bin` から実行時に解決する engineを自分のscriptから呼ばないProjectではKnipが `@yuu1111/comment-check` などを未使用依存として報告するため `knip.ts` の `ignoreDependencies` で理由付きに宣言する
|
|
113
|
+
|
|
112
114
|
`comment-check` はbaseline差分を無効化する未作成のpathを渡して起動する 新規と解消済みの判定はengineごとではなく統合CLIが1つのbaseline fileで行うため、既存の `comment-baseline.json` がある場合は `--update-baseline` で移す
|
|
113
115
|
|
|
114
116
|
`typecheck` は `tsc --noEmit` を回すだけなので、tsconfigを複数持つProjectは対象のtsconfigごとに起動する必要がある
|
package/README.md
CHANGED
|
@@ -122,6 +122,11 @@ Biome, the type checker, and Knip keep their settings in `biome.json`,
|
|
|
122
122
|
`tsconfig.json`, and `knip.ts`. This CLI starts the engines from one file and
|
|
123
123
|
aggregates the results.
|
|
124
124
|
|
|
125
|
+
An engine binary is resolved at run time from the `node_modules/.bin` of the
|
|
126
|
+
project. A project that never calls an engine from its own scripts therefore
|
|
127
|
+
sees Knip report `@yuu1111/comment-check` and its siblings as unused
|
|
128
|
+
dependencies, so it declares them in `ignoreDependencies` with the reason.
|
|
129
|
+
|
|
125
130
|
`comment-check` runs with an unwritten baseline path so that it reports every
|
|
126
131
|
finding. The new-and-resolved diff is done by this CLI from a single baseline
|
|
127
132
|
file, so an existing `comment-baseline.json` is moved over with
|