From d9e6a6b99633bec7c423d7553e7b875663bbc73c Mon Sep 17 00:00:00 2001 From: Pixel998 Date: Wed, 7 Jan 2026 04:33:22 +0300 Subject: [PATCH 1/2] chore: add `src/types.ts` to knip entry configuration --- knip.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/knip.json b/knip.json index 8b84e6971..ee6bddbeb 100644 --- a/knip.json +++ b/knip.json @@ -9,11 +9,15 @@ "project": ["src/**/*.{cts,js,ts}", "tests/*.{cts,js,ts}"] }, "packages/config-array": { - "entry": ["tests/**/*.{cts,js,ts}", "rollup.std__path-config.js"], + "entry": [ + "tests/**/*.{cts,js,ts}", + "src/types.ts", + "rollup.std__path-config.js" + ], "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] }, "packages/config-helpers": { - "entry": ["tests/**/*.{cts,js,ts}"], + "entry": ["tests/**/*.{cts,js,ts}", "src/types.ts"], "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] }, "packages/core": { "project": ["src/**/*.{cts,js,ts}"] }, @@ -23,7 +27,11 @@ "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] }, "packages/migrate-config": { - "entry": ["src/migrate-config.js", "tests/**/*.{cts,js,ts}"], + "entry": [ + "src/migrate-config.js", + "src/types.ts", + "tests/**/*.{cts,js,ts}" + ], "project": ["src/**/*.{cts,js,ts}", "tests/*.{cts,js,ts}"] }, "packages/object-schema": { @@ -31,7 +39,7 @@ "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] }, "packages/plugin-kit": { - "entry": ["tests/**/*.{cts,js,ts}"], + "entry": ["tests/**/*.{cts,js,ts}", "src/types.ts"], "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] } } From 3d41b2057f30e5889c41f518626a15c5133ccaa8 Mon Sep 17 00:00:00 2001 From: Pixel998 Date: Tue, 13 Jan 2026 19:28:27 +0300 Subject: [PATCH 2/2] remove `src/types.ts` from knip entry configuration --- knip.json | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/knip.json b/knip.json index ee6bddbeb..fb248cb6d 100644 --- a/knip.json +++ b/knip.json @@ -9,15 +9,11 @@ "project": ["src/**/*.{cts,js,ts}", "tests/*.{cts,js,ts}"] }, "packages/config-array": { - "entry": [ - "tests/**/*.{cts,js,ts}", - "src/types.ts", - "rollup.std__path-config.js" - ], + "entry": ["tests/**/*.{cts,js,ts}", "rollup.std__path-config.js"], "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] }, "packages/config-helpers": { - "entry": ["tests/**/*.{cts,js,ts}", "src/types.ts"], + "entry": ["tests/**/*.{cts,js,ts}"], "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] }, "packages/core": { "project": ["src/**/*.{cts,js,ts}"] }, @@ -27,19 +23,15 @@ "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] }, "packages/migrate-config": { - "entry": [ - "src/migrate-config.js", - "src/types.ts", - "tests/**/*.{cts,js,ts}" - ], + "entry": ["src/migrate-config.js", "tests/**/*.{cts,js,ts}"], "project": ["src/**/*.{cts,js,ts}", "tests/*.{cts,js,ts}"] }, "packages/object-schema": { - "entry": ["tests/**/*.{cts,js,ts}", "src/types.ts"], + "entry": ["tests/**/*.{cts,js,ts}"], "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] }, "packages/plugin-kit": { - "entry": ["tests/**/*.{cts,js,ts}", "src/types.ts"], + "entry": ["tests/**/*.{cts,js,ts}"], "project": ["src/**/*.{cts,js,ts}", "tests/**/*.{cts,js,ts}"] } }