From 140cc5088dd4732edb9d97b60c68395d335ab902 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Thu, 17 Oct 2024 15:07:23 +0200 Subject: [PATCH] fix(janus-idp/cli): fixes issue with missing configSchema.json (#2368) This was affecting packages in @backstage-community --- .changeset/sixty-gifts-buy.md | 5 +++++ packages/cli/src/lib/schema/collect.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/sixty-gifts-buy.md diff --git a/.changeset/sixty-gifts-buy.md b/.changeset/sixty-gifts-buy.md new file mode 100644 index 0000000000..ed64403657 --- /dev/null +++ b/.changeset/sixty-gifts-buy.md @@ -0,0 +1,5 @@ +--- +"@janus-idp/cli": patch +--- + +Fixed issue with missing configSchema.json that was affecting packages in @backstage-community diff --git a/packages/cli/src/lib/schema/collect.ts b/packages/cli/src/lib/schema/collect.ts index 6c7f380993..2b69f6ccf0 100644 --- a/packages/cli/src/lib/schema/collect.ts +++ b/packages/cli/src/lib/schema/collect.ts @@ -36,7 +36,7 @@ type Item = { */ const filterPackages = (depName: string) => { // reject all core dependencies - if (depName.startsWith('@backstage')) { + if (depName.startsWith('@backstage/')) { // make an exception for Backstage core plugins (used in plugin wrappers) unless they are common to all Backstage instances if (depName.startsWith('@backstage/plugin-')) { if (