repo-tools: update knip to detect dependencies in new dev pattern
Signed-off-by: Hope Hadfield <hhadfiel@redhat.com>
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user