fix: restore runtime dependencies incorrectly demoted to devDependencies

PR #33936 removed duplicate dependency entries, but in two cases moved
deps from dependencies to devDependencies that are still re-exported in
the published API reports:

- @backstage/catalog-client: @backstage/plugin-catalog-common
  (AnalyzeLocationRequest/AnalyzeLocationResponse types)
- @backstage/frontend-plugin-api: @backstage/config (Config type)

These need to be runtime dependencies so consumers can resolve the
types at build time.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-05-27 14:51:28 +02:00
parent 73ac7983a6
commit 378784ebf0
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/catalog-client': patch
'@backstage/frontend-plugin-api': patch
---
Moved dependencies that are re-exported in the public API from `devDependencies` to `dependencies`. These were incorrectly demoted in #33936 because the source code only uses type imports, but the types still appear in the published API surface and need to be resolvable by consumers at build time.
+1 -1
View File
@@ -51,13 +51,13 @@
"@backstage/catalog-model": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/filter-predicates": "workspace:^",
"@backstage/plugin-catalog-common": "workspace:^",
"cross-fetch": "^4.0.0",
"lodash": "^4.17.21",
"uri-template": "^2.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@backstage/plugin-catalog-common": "workspace:^",
"@types/lodash": "^4.14.151",
"msw": "^1.0.0"
}
+1 -1
View File
@@ -44,6 +44,7 @@
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/filter-predicates": "workspace:^",
"@backstage/types": "workspace:^",
@@ -54,7 +55,6 @@
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/frontend-app-api": "workspace:^",
"@backstage/frontend-test-utils": "workspace:^",
"@backstage/test-utils": "workspace:^",