hopefully unbreak backend-common dependencies

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-06-18 22:41:26 +02:00
parent 383e447f8b
commit c964a3d03c
7 changed files with 34 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': patch
---
Add dependencies that are needed by cross-imports from backend-defaults
+5
View File
@@ -0,0 +1,5 @@
---
'@techdocs/cli': patch
---
Import discovery from backend-defaults instead of backend-common
+10
View File
@@ -99,12 +99,19 @@
"logform": "^2.3.2",
"luxon": "^3.0.0",
"minimatch": "^9.0.0",
"minimist": "^1.2.5",
"morgan": "^1.10.0",
"mysql2": "^3.0.0",
"node-fetch": "^2.6.7",
"node-forge": "^1.3.1",
"p-limit": "^3.1.0",
"path-to-regexp": "^6.2.1",
"pg": "^8.11.3",
"raw-body": "^2.4.1",
"selfsigned": "^2.0.0",
"stoppable": "^1.1.0",
"tar": "^6.1.12",
"triple-beam": "^1.4.1",
"uuid": "^9.0.0",
"winston": "^3.2.1",
"winston-transport": "^4.5.0",
@@ -121,7 +128,10 @@
"@types/concat-stream": "^2.0.0",
"@types/fs-extra": "^11.0.0",
"@types/http-errors": "^2.0.0",
"@types/morgan": "^1.9.0",
"@types/node-forge": "^1.3.0",
"@types/pg": "^8.6.6",
"@types/stoppable": "^1.1.0",
"@types/supertest": "^2.0.8",
"@types/tar": "^6.1.1",
"@types/webpack-env": "^1.15.2",
+1 -1
View File
@@ -56,7 +56,7 @@
"ext": "ts"
},
"dependencies": {
"@backstage/backend-common": "workspace:^",
"@backstage/backend-defaults": "workspace:^",
"@backstage/catalog-model": "workspace:^",
"@backstage/cli-common": "workspace:^",
"@backstage/config": "workspace:^",
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { HostDiscovery } from '@backstage/backend-common';
import { HostDiscovery } from '@backstage/backend-defaults/discovery';
import { Publisher } from '@backstage/plugin-techdocs-node';
import { OptionValues } from 'commander';
import { createLogger } from '../../lib/utility';
@@ -17,7 +17,7 @@
import { resolve } from 'path';
import { OptionValues } from 'commander';
import { createLogger } from '../../lib/utility';
import { HostDiscovery } from '@backstage/backend-common';
import { HostDiscovery } from '@backstage/backend-defaults/discovery';
import { Publisher } from '@backstage/plugin-techdocs-node';
import { Entity } from '@backstage/catalog-model';
import { PublisherConfig } from '../../lib/PublisherConfig';
+11 -1
View File
@@ -3548,7 +3548,10 @@ __metadata:
"@types/fs-extra": ^11.0.0
"@types/http-errors": ^2.0.0
"@types/luxon": ^3.0.0
"@types/morgan": ^1.9.0
"@types/node-forge": ^1.3.0
"@types/pg": ^8.6.6
"@types/stoppable": ^1.1.0
"@types/supertest": ^2.0.8
"@types/tar": ^6.1.1
"@types/webpack-env": ^1.15.2
@@ -3575,14 +3578,21 @@ __metadata:
logform: ^2.3.2
luxon: ^3.0.0
minimatch: ^9.0.0
minimist: ^1.2.5
morgan: ^1.10.0
msw: ^1.0.0
mysql2: ^3.0.0
node-fetch: ^2.6.7
node-forge: ^1.3.1
p-limit: ^3.1.0
path-to-regexp: ^6.2.1
pg: ^8.11.3
raw-body: ^2.4.1
selfsigned: ^2.0.0
stoppable: ^1.1.0
supertest: ^6.1.3
tar: ^6.1.12
triple-beam: ^1.4.1
uuid: ^9.0.0
winston: ^3.2.1
winston-transport: ^4.5.0
@@ -16405,7 +16415,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@techdocs/cli@workspace:packages/techdocs-cli"
dependencies:
"@backstage/backend-common": "workspace:^"
"@backstage/backend-defaults": "workspace:^"
"@backstage/catalog-model": "workspace:^"
"@backstage/cli": "workspace:^"
"@backstage/cli-common": "workspace:^"