Merge pull request #34416 from backstage/freben/fix-missing-runtime-deps

fix: restore runtime dependencies incorrectly demoted to devDependencies
This commit is contained in:
Fredrik Adelöw
2026-05-27 15:30:53 +02:00
committed by GitHub
4 changed files with 9 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
View File
@@ -0,0 +1 @@
Restore runtime dependencies incorrectly demoted to devDependencies
+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:^",