Merge pull request #31439 from hopehadfield/update-knip-ext

repo-tools: update knip to detect dependencies in new dev pattern
This commit is contained in:
Fredrik Adelöw
2025-11-04 12:57:36 +01:00
committed by GitHub
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',