repo-tools: update knip to detect dependencies in new dev pattern

Signed-off-by: Hope Hadfield <hhadfiel@redhat.com>
This commit is contained in:
Hope Hadfield
2025-10-15 15:12:44 -04:00
parent b436f73803
commit 8f56eae0f5
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/repo-tools': patch
---
Updated knip-reports to detect dependencies in dev/alpha pattern
@@ -58,7 +58,7 @@ async function generateKnipConfig({ knipConfigPath }: KnipConfigOptions) {
workspaces: {
'.': {},
'{packages,plugins}/*': {
entry: ['dev/index.{ts,tsx}', 'src/index.{ts,tsx}'],
entry: ['dev/**/*.{ts,tsx}', 'src/index.{ts,tsx}'],
ignore: [
'.eslintrc.js',
'config.d.ts',