cli: exclude vore packages from package dependency diff

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-06-02 12:59:54 +02:00
parent 3aeccc94ba
commit 7e7c714175
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Exclude core packages from package dependency diff.
+5
View File
@@ -172,6 +172,11 @@ class PackageJsonHandler {
if (this.variant === 'app' && key.startsWith('plugin-')) {
continue;
}
// Skip checking of the core packages, since we're migrating over
if (key.startsWith('@backstage/core')) {
continue;
}
await this.syncField(key, pkgDeps, targetDeps, fieldName);
}
}