From 4870210ce91f3ba74c15800a8724186dbd75ab89 Mon Sep 17 00:00:00 2001 From: John-Paul Drawneek <163003532+jpd4emis@users.noreply.github.com> Date: Fri, 6 Sep 2024 09:20:34 +0100 Subject: [PATCH] fix: Bump @backstage/backend-test-utils to work with backstage v1.30.x --- package.json | 2 +- yarn.lock | 316 ++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 275 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 611ed95..f136569 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "yn": "^4.0.0" }, "devDependencies": { - "@backstage/backend-test-utils": "^0.4.4", + "@backstage/backend-test-utils": "^0.5.1", "@backstage/cli": "^0.26.11", "@types/node": "^20.9.2", "@types/node-fetch": "2.6.11", diff --git a/yarn.lock b/yarn.lock index 692c12f..2731e9c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2464,24 +2464,21 @@ __metadata: languageName: node linkType: hard -"@backstage/backend-app-api@npm:^0.8.0": - version: 0.8.0 - resolution: "@backstage/backend-app-api@npm:0.8.0" +"@backstage/backend-app-api@npm:^0.9.3": + version: 0.9.3 + resolution: "@backstage/backend-app-api@npm:0.9.3" dependencies: - "@backstage/backend-common": ^0.23.3 - "@backstage/backend-plugin-api": ^0.7.0 - "@backstage/backend-tasks": ^0.5.27 + "@backstage/backend-common": ^0.24.1 + "@backstage/backend-plugin-api": ^0.8.1 "@backstage/cli-common": ^0.1.14 "@backstage/cli-node": ^0.2.7 "@backstage/config": ^1.2.0 - "@backstage/config-loader": ^1.8.1 + "@backstage/config-loader": ^1.9.0 "@backstage/errors": ^1.2.4 - "@backstage/plugin-auth-node": ^0.4.17 - "@backstage/plugin-permission-node": ^0.8.0 + "@backstage/plugin-auth-node": ^0.5.1 + "@backstage/plugin-permission-node": ^0.8.2 "@backstage/types": ^1.1.1 "@manypkg/get-packages": ^1.1.3 - "@types/cors": ^2.8.6 - "@types/express": ^4.17.6 compression: ^1.7.4 cookie: ^0.6.0 cors: ^2.8.5 @@ -2497,7 +2494,7 @@ __metadata: minimatch: ^9.0.0 minimist: ^1.2.5 morgan: ^1.10.0 - node-fetch: ^2.6.7 + node-fetch: ^2.7.0 node-forge: ^1.3.1 path-to-regexp: ^6.2.1 selfsigned: ^2.0.0 @@ -2506,7 +2503,7 @@ __metadata: uuid: ^9.0.0 winston: ^3.2.1 winston-transport: ^4.5.0 - checksum: 663b0517e7d4c948d005c2120a83f7720ea02e68ad9600b5e5a3b22441a23b70523ebaf725b0598c7a1916c6a36261367d8316cfa1686a09955bdfdf457497d6 + checksum: 42c41bf9c71bcd5a34675e9116879949693f388d74147a6f1c8ad4b483799ee03be999b5d431547f0ab3f3e24cc9a7a813315fc627b2ba4af961f99b237e9dd5 languageName: node linkType: hard @@ -2586,28 +2583,105 @@ __metadata: languageName: node linkType: hard -"@backstage/backend-defaults@npm:^0.4.0, @backstage/backend-defaults@npm:^0.4.1": - version: 0.4.1 - resolution: "@backstage/backend-defaults@npm:0.4.1" +"@backstage/backend-common@npm:^0.24.1": + version: 0.24.1 + resolution: "@backstage/backend-common@npm:0.24.1" dependencies: "@aws-sdk/abort-controller": ^3.347.0 "@aws-sdk/client-codecommit": ^3.350.0 "@aws-sdk/client-s3": ^3.350.0 "@aws-sdk/credential-providers": ^3.350.0 "@aws-sdk/types": ^3.347.0 - "@backstage/backend-app-api": ^0.8.0 - "@backstage/backend-common": ^0.23.3 - "@backstage/backend-dev-utils": ^0.1.4 - "@backstage/backend-plugin-api": ^0.7.0 + "@backstage/backend-dev-utils": ^0.1.5 + "@backstage/backend-plugin-api": ^0.8.1 "@backstage/cli-common": ^0.1.14 "@backstage/config": ^1.2.0 - "@backstage/config-loader": ^1.8.1 + "@backstage/config-loader": ^1.9.0 "@backstage/errors": ^1.2.4 - "@backstage/integration": ^1.13.0 + "@backstage/integration": ^1.14.0 "@backstage/integration-aws-node": ^0.1.12 - "@backstage/plugin-auth-node": ^0.4.17 - "@backstage/plugin-events-node": ^0.3.8 - "@backstage/plugin-permission-node": ^0.8.0 + "@backstage/plugin-auth-node": ^0.5.1 + "@backstage/types": ^1.1.1 + "@google-cloud/storage": ^7.0.0 + "@keyv/memcache": ^1.3.5 + "@keyv/redis": ^2.5.3 + "@kubernetes/client-node": 0.20.0 + "@manypkg/get-packages": ^1.1.3 + "@octokit/rest": ^19.0.3 + "@types/cors": ^2.8.6 + "@types/dockerode": ^3.3.0 + "@types/express": ^4.17.6 + "@types/luxon": ^3.0.0 + "@types/webpack-env": ^1.15.2 + archiver: ^6.0.0 + base64-stream: ^1.0.0 + compression: ^1.7.4 + concat-stream: ^2.0.0 + cors: ^2.8.5 + dockerode: ^4.0.0 + express: ^4.17.1 + express-promise-router: ^4.1.0 + fs-extra: ^11.2.0 + git-url-parse: ^14.0.0 + helmet: ^6.0.0 + isomorphic-git: ^1.23.0 + jose: ^5.0.0 + keyv: ^4.5.2 + knex: ^3.0.0 + lodash: ^4.17.21 + 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.7.0 + node-forge: ^1.3.1 + p-limit: ^3.1.0 + path-to-regexp: ^6.2.1 + pg: ^8.11.3 + pg-format: ^1.0.4 + 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 + yauzl: ^3.0.0 + yn: ^4.0.0 + peerDependencies: + pg-connection-string: ^2.3.0 + peerDependenciesMeta: + pg-connection-string: + optional: true + checksum: 5a326dec02d1d43a819e5b1d4a0be87ee00be23013e4a74c7c700f996d3b486d359ba2866c20a25788a9eef6a97d2f99b5ccbb140bcac3180d703eee6ad82c04 + languageName: node + linkType: hard + +"@backstage/backend-defaults@npm:^0.4.1, @backstage/backend-defaults@npm:^0.4.4": + version: 0.4.4 + resolution: "@backstage/backend-defaults@npm:0.4.4" + dependencies: + "@aws-sdk/abort-controller": ^3.347.0 + "@aws-sdk/client-codecommit": ^3.350.0 + "@aws-sdk/client-s3": ^3.350.0 + "@aws-sdk/credential-providers": ^3.350.0 + "@aws-sdk/types": ^3.347.0 + "@backstage/backend-app-api": ^0.9.3 + "@backstage/backend-common": ^0.24.1 + "@backstage/backend-dev-utils": ^0.1.5 + "@backstage/backend-plugin-api": ^0.8.1 + "@backstage/cli-common": ^0.1.14 + "@backstage/config": ^1.2.0 + "@backstage/config-loader": ^1.9.0 + "@backstage/errors": ^1.2.4 + "@backstage/integration": ^1.14.0 + "@backstage/integration-aws-node": ^0.1.12 + "@backstage/plugin-auth-node": ^0.5.1 + "@backstage/plugin-events-node": ^0.3.10 + "@backstage/plugin-permission-node": ^0.8.2 "@backstage/types": ^1.1.1 "@google-cloud/storage": ^7.0.0 "@keyv/memcache": ^1.3.5 @@ -2641,12 +2715,13 @@ __metadata: minimist: ^1.2.5 morgan: ^1.10.0 mysql2: ^3.0.0 - node-fetch: ^2.6.7 + node-fetch: ^2.7.0 node-forge: ^1.3.1 p-limit: ^3.1.0 path-to-regexp: ^6.2.1 pg: ^8.11.3 pg-connection-string: ^2.3.0 + pg-format: ^1.0.4 raw-body: ^2.4.1 selfsigned: ^2.0.0 stoppable: ^1.1.0 @@ -2658,7 +2733,7 @@ __metadata: yauzl: ^3.0.0 yn: ^4.0.0 zod: ^3.22.4 - checksum: b99620bbbadc12ea24e4597ec5cce88b8e171ff12cf0b550108337336f677f909a184883925d3792dfe1ded7ba34f891ce7cdd4b9844a00ae404b18edad0f8bc + checksum: 07f02b0eed51b5741b8e32f3026b8a2a29c8598a60bd20c4c4ae98dcdf849321f55672266ae50de9f28fb6f1e9c65409d8a76760ca405af175739eb00a01be21 languageName: node linkType: hard @@ -2669,6 +2744,13 @@ __metadata: languageName: node linkType: hard +"@backstage/backend-dev-utils@npm:^0.1.5": + version: 0.1.5 + resolution: "@backstage/backend-dev-utils@npm:0.1.5" + checksum: 7c7eced8cc6fe88b6b54d7b9f04953dbfd07846772368a0b269d4e75da30133b61e4fe29782c0dc0aa547234d75ff60a985f378f92911680a9172fa8f2820e5b + languageName: node + linkType: hard + "@backstage/backend-plugin-api@npm:^0.7.0": version: 0.7.0 resolution: "@backstage/backend-plugin-api@npm:0.7.0" @@ -2688,6 +2770,25 @@ __metadata: languageName: node linkType: hard +"@backstage/backend-plugin-api@npm:^0.8.1": + version: 0.8.1 + resolution: "@backstage/backend-plugin-api@npm:0.8.1" + dependencies: + "@backstage/cli-common": ^0.1.14 + "@backstage/config": ^1.2.0 + "@backstage/errors": ^1.2.4 + "@backstage/plugin-auth-node": ^0.5.1 + "@backstage/plugin-permission-common": ^0.8.1 + "@backstage/types": ^1.1.1 + "@types/express": ^4.17.6 + "@types/luxon": ^3.0.0 + express: ^4.17.1 + knex: ^3.0.0 + luxon: ^3.0.0 + checksum: 4a6614ceec13ff5ace3e04e8a1bad40567ce6a66afc19c02935161d12bdd7edbf4863d1d0203539e8a353dd78184078eb873fd14da6cbd093d1d9e4ced44c0fb + languageName: node + linkType: hard + "@backstage/backend-tasks@npm:^0.5.27": version: 0.5.27 resolution: "@backstage/backend-tasks@npm:0.5.27" @@ -2709,17 +2810,17 @@ __metadata: languageName: node linkType: hard -"@backstage/backend-test-utils@npm:^0.4.4": - version: 0.4.4 - resolution: "@backstage/backend-test-utils@npm:0.4.4" +"@backstage/backend-test-utils@npm:^0.5.1": + version: 0.5.1 + resolution: "@backstage/backend-test-utils@npm:0.5.1" dependencies: - "@backstage/backend-app-api": ^0.8.0 - "@backstage/backend-defaults": ^0.4.0 - "@backstage/backend-plugin-api": ^0.7.0 + "@backstage/backend-app-api": ^0.9.3 + "@backstage/backend-defaults": ^0.4.4 + "@backstage/backend-plugin-api": ^0.8.1 "@backstage/config": ^1.2.0 "@backstage/errors": ^1.2.4 - "@backstage/plugin-auth-node": ^0.4.17 - "@backstage/plugin-events-node": ^0.3.8 + "@backstage/plugin-auth-node": ^0.5.1 + "@backstage/plugin-events-node": ^0.3.10 "@backstage/types": ^1.1.1 "@keyv/memcache": ^1.3.5 "@keyv/redis": ^2.5.3 @@ -2740,7 +2841,7 @@ __metadata: yn: ^4.0.0 peerDependencies: "@types/jest": "*" - checksum: 89b551093b4dc90b169646c0238b885bd31f4c2cafaf251aa6b4c2f6c4783e52b00068e43c5e6fcd0ac648a76b8502d43b0b133a1f36bbe7f4e3c1e1db17d417 + checksum: e583423ccac137ca403dbb473cc8a1be081cd71f45082a55ad096b4e6177fae1f953d829051524319ab342065dbebda9bcb5b5a69f35d82185c496f7eff12606 languageName: node linkType: hard @@ -2756,6 +2857,18 @@ __metadata: languageName: node linkType: hard +"@backstage/catalog-client@npm:^1.6.6": + version: 1.6.6 + resolution: "@backstage/catalog-client@npm:1.6.6" + dependencies: + "@backstage/catalog-model": ^1.6.0 + "@backstage/errors": ^1.2.4 + cross-fetch: ^4.0.0 + uri-template: ^2.0.0 + checksum: 10a859979a6ec3d9bcca519ace01ca371517e56bd54a90e0d667b4ef90bee54b09495238974b4040d7dc75f8cacf0d212900b40fe6738d484ff57a739e3eec4b + languageName: node + linkType: hard + "@backstage/catalog-model@npm:^1.5.0": version: 1.5.0 resolution: "@backstage/catalog-model@npm:1.5.0" @@ -2768,6 +2881,18 @@ __metadata: languageName: node linkType: hard +"@backstage/catalog-model@npm:^1.6.0": + version: 1.6.0 + resolution: "@backstage/catalog-model@npm:1.6.0" + dependencies: + "@backstage/errors": ^1.2.4 + "@backstage/types": ^1.1.1 + ajv: ^8.10.0 + lodash: ^4.17.21 + checksum: b3bac3578a43b4d3f9e2fcd90396b5043f8c1e46f5308c5204b7973c79e76e465b3804edc985355cb4b3f669d065e1522b25bc6ee38567b5c74341b2d115ecf0 + languageName: node + linkType: hard + "@backstage/cli-common@npm:^0.1.14": version: 0.1.14 resolution: "@backstage/cli-common@npm:0.1.14" @@ -2951,6 +3076,30 @@ __metadata: languageName: node linkType: hard +"@backstage/config-loader@npm:^1.9.0": + version: 1.9.0 + resolution: "@backstage/config-loader@npm:1.9.0" + dependencies: + "@backstage/cli-common": ^0.1.14 + "@backstage/config": ^1.2.0 + "@backstage/errors": ^1.2.4 + "@backstage/types": ^1.1.1 + "@types/json-schema": ^7.0.6 + ajv: ^8.10.0 + chokidar: ^3.5.2 + fs-extra: ^11.2.0 + json-schema: ^0.4.0 + json-schema-merge-allof: ^0.8.1 + json-schema-traverse: ^1.0.0 + lodash: ^4.17.21 + minimist: ^1.2.5 + node-fetch: ^2.7.0 + typescript-json-schema: ^0.63.0 + yaml: ^2.0.0 + checksum: a7881957eed96b2fd707415914800fc72de8e0a067259d0e25ae9d89008abc405c8c9bece528a07e1c33ac18efd919f4bf10d7624b0a454c8a491785a539bc7f + languageName: node + linkType: hard + "@backstage/config@npm:^1.2.0": version: 1.2.0 resolution: "@backstage/config@npm:1.2.0" @@ -3031,6 +3180,23 @@ __metadata: languageName: node linkType: hard +"@backstage/integration@npm:^1.14.0": + version: 1.14.0 + resolution: "@backstage/integration@npm:1.14.0" + dependencies: + "@azure/identity": ^4.0.0 + "@backstage/config": ^1.2.0 + "@backstage/errors": ^1.2.4 + "@octokit/auth-app": ^4.0.0 + "@octokit/rest": ^19.0.3 + cross-fetch: ^4.0.0 + git-url-parse: ^14.0.0 + lodash: ^4.17.21 + luxon: ^3.0.0 + checksum: 3dc2272eda0205e880469aa2a68f390ba9f7a36b5ca41bc2bcb693c46fa7f99e057748c9aab1f88637dda3d8e2dec6b82ffab2aea6d3f12781c563502f0ed4d1 + languageName: node + linkType: hard + "@backstage/plugin-auth-node@npm:^0.4.17": version: 0.4.17 resolution: "@backstage/plugin-auth-node@npm:0.4.17" @@ -3056,6 +3222,31 @@ __metadata: languageName: node linkType: hard +"@backstage/plugin-auth-node@npm:^0.5.1": + version: 0.5.1 + resolution: "@backstage/plugin-auth-node@npm:0.5.1" + dependencies: + "@backstage/backend-common": ^0.24.1 + "@backstage/backend-plugin-api": ^0.8.1 + "@backstage/catalog-client": ^1.6.6 + "@backstage/catalog-model": ^1.6.0 + "@backstage/config": ^1.2.0 + "@backstage/errors": ^1.2.4 + "@backstage/types": ^1.1.1 + "@types/express": "*" + "@types/passport": ^1.0.3 + express: ^4.17.1 + jose: ^5.0.0 + lodash: ^4.17.21 + node-fetch: ^2.7.0 + passport: ^0.7.0 + winston: ^3.2.1 + zod: ^3.22.4 + zod-to-json-schema: ^3.21.4 + checksum: 42b991b81569dd0258eeac949abf887e63202da0d2374e161d5fb9de96cf4a482fb0db64fd612d401e0088e73360a23a1023923805fd1b18cddfd9ab3ff801e8 + languageName: node + linkType: hard + "@backstage/plugin-catalog-common@npm:^1.0.25": version: 1.0.25 resolution: "@backstage/plugin-catalog-common@npm:1.0.25" @@ -3083,12 +3274,12 @@ __metadata: languageName: node linkType: hard -"@backstage/plugin-events-node@npm:^0.3.8": - version: 0.3.8 - resolution: "@backstage/plugin-events-node@npm:0.3.8" +"@backstage/plugin-events-node@npm:^0.3.10": + version: 0.3.10 + resolution: "@backstage/plugin-events-node@npm:0.3.10" dependencies: - "@backstage/backend-plugin-api": ^0.7.0 - checksum: 0f35a3503f4efd0a19a3021066895ce0d73f857c473972d13e9a66c6d560e6a0791b9edc2e5cdd4b2dd5dbcd01337ef1044aede85c06384ee5cb1e5e92f913a7 + "@backstage/backend-plugin-api": ^0.8.1 + checksum: 19a6cb5541e08e905d6015c92c3e3f3c8707b0ec31a9638832106b55b0e9999156ff7a4360c424f12b105f4d1b710fa14f1435fb58812a64601e4890d575287b languageName: node linkType: hard @@ -3106,6 +3297,21 @@ __metadata: languageName: node linkType: hard +"@backstage/plugin-permission-common@npm:^0.8.1": + version: 0.8.1 + resolution: "@backstage/plugin-permission-common@npm:0.8.1" + dependencies: + "@backstage/config": ^1.2.0 + "@backstage/errors": ^1.2.4 + "@backstage/types": ^1.1.1 + cross-fetch: ^4.0.0 + uuid: ^9.0.0 + zod: ^3.22.4 + zod-to-json-schema: ^3.20.4 + checksum: 00f71b998aecefcf413b335ef67897be2210f9cecb1f58bb28e466f68acd04276e3105f2e99ad242792dfd2902e4ae7ea023efb8cda92447aef92a10b83d87e5 + languageName: node + linkType: hard + "@backstage/plugin-permission-node@npm:^0.8.0": version: 0.8.0 resolution: "@backstage/plugin-permission-node@npm:0.8.0" @@ -3125,6 +3331,25 @@ __metadata: languageName: node linkType: hard +"@backstage/plugin-permission-node@npm:^0.8.2": + version: 0.8.2 + resolution: "@backstage/plugin-permission-node@npm:0.8.2" + dependencies: + "@backstage/backend-common": ^0.24.1 + "@backstage/backend-plugin-api": ^0.8.1 + "@backstage/config": ^1.2.0 + "@backstage/errors": ^1.2.4 + "@backstage/plugin-auth-node": ^0.5.1 + "@backstage/plugin-permission-common": ^0.8.1 + "@types/express": ^4.17.6 + express: ^4.17.1 + express-promise-router: ^4.1.0 + zod: ^3.22.4 + zod-to-json-schema: ^3.20.4 + checksum: 3af9ea151e6fa2bcbe4c48a1062191118fa8efd31bf1f40c45165e48b165facc0308abd63365d32e1908cd91632c8a97bd5ed844e322da8bd534adde7c50779b + languageName: node + linkType: hard + "@backstage/plugin-scaffolder-common@npm:^1.5.4": version: 1.5.4 resolution: "@backstage/plugin-scaffolder-common@npm:1.5.4" @@ -4742,7 +4967,7 @@ __metadata: "@backstage/backend-defaults": ^0.4.1 "@backstage/backend-plugin-api": ^0.7.0 "@backstage/backend-tasks": ^0.5.27 - "@backstage/backend-test-utils": ^0.4.4 + "@backstage/backend-test-utils": ^0.5.1 "@backstage/catalog-client": ^1.6.5 "@backstage/catalog-model": ^1.5.0 "@backstage/cli": ^0.26.11 @@ -16338,6 +16563,13 @@ __metadata: languageName: node linkType: hard +"pg-format@npm:^1.0.4": + version: 1.0.4 + resolution: "pg-format@npm:1.0.4" + checksum: 159b43ad57d2f963f1072def86080dd2a6dd42c1a86046e388d47b491e00afe795139520eb01c8dffc43ac0243c77b3c4c5882d0ec5f488bb3281f17458b1b3d + languageName: node + linkType: hard + "pg-int8@npm:1.0.1": version: 1.0.1 resolution: "pg-int8@npm:1.0.1"