cli: stop warning about duplicate plugin libraries
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
The `versions:*` commands no longer warns about duplicate plugin libraries, such as `@backstage/plugin-catalog-common`.
|
||||
@@ -36,7 +36,11 @@ const FORBID_DUPLICATES = [
|
||||
// above.
|
||||
const ALLOW_DUPLICATES = [
|
||||
/^@backstage\/core-plugin-api$/,
|
||||
/^@backstage\/plugin-catalog-react$/,
|
||||
// Duplicates of libraries are OK
|
||||
// TODO(Rugvip): Check this using package role instead
|
||||
/^@backstage\/plugin-.*-react$/,
|
||||
/^@backstage\/plugin-.*-node$/,
|
||||
/^@backstage\/plugin-.*-common$/,
|
||||
];
|
||||
|
||||
export const forbiddenDuplicatesFilter = (name: string) =>
|
||||
|
||||
Reference in New Issue
Block a user