Skip to content

Commit 97c463a

Browse files
committed
feat: align dependencies with RHDH 1.9
From the RHDH 1.9 container: ``` sh-5.1$ grep -B1 -A3 "\"@backstage/plugin-permission-backend@" /opt/app-root/src/yarn.lock "@backstage/plugin-permission-backend@npm:0.7.3": version: 0.7.3 resolution: "@backstage/plugin-permission-backend@npm:0.7.3" dependencies: "@backstage/backend-plugin-api": ^1.4.2 "@backstage/config": ^1.3.3 sh-5.1$ grep -B1 -A3 "\"@backstage/plugin-scaffolder@" /opt/app-root/src/yarn.lock "@backstage/plugin-scaffolder@npm:1.34.3": version: 1.34.3 resolution: "@backstage/plugin-scaffolder@npm:1.34.3" dependencies: "@backstage/catalog-client": ^1.12.1 "@backstage/catalog-model": ^1.7.6 sh-5.1$ grep -B1 -A3 "\"@backstage/plugin-scaffolder-react@" /opt/app-root/src/yarn.lock "@backstage/plugin-scaffolder-react@npm:1.19.3, @backstage/plugin-scaffolder-react@npm:^1.19.3": version: 1.19.3 resolution: "@backstage/plugin-scaffolder-react@npm:1.19.3" dependencies: "@backstage/catalog-client": ^1.12.1 "@backstage/catalog-model": ^1.7.6 sh-5.1$ grep -B1 -A3 "\"@backstage/integration-react@" /opt/app-root/src/yarn.lock "@backstage/integration-react@npm:1.2.12, @backstage/integration-react@npm:^1.2.12": version: 1.2.12 resolution: "@backstage/integration-react@npm:1.2.12" dependencies: "@backstage/config": ^1.3.6 "@backstage/core-plugin-api": ^1.12.0 sh-5.1$ grep -B1 -A3 "\"@backstage/core-plugin-api@" /opt/app-root/src/yarn.lock "@backstage/core-plugin-api@npm:1.12.0": version: 1.12.0 resolution: "@backstage/core-plugin-api@npm:1.12.0" dependencies: "@backstage/config": ^1.3.6 "@backstage/errors": ^1.2.7 -- "@backstage/core-plugin-api@npm:^1.12.0, @backstage/core-plugin-api@npm:^1.12.1": version: 1.12.1 resolution: "@backstage/core-plugin-api@npm:1.12.1" dependencies: "@backstage/config": ^1.3.6 "@backstage/errors": ^1.2.7 ``` Now versions are aligned correctly. Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>
1 parent 2c2b817 commit 97c463a

File tree

5 files changed

+541
-2268
lines changed

5 files changed

+541
-2268
lines changed

workspaces/x2a/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@
6060
"@backstage/backend-plugin-api": "1.5.0",
6161
"@backstage/backend-defaults": "0.13.2",
6262
"@backstage/plugin-auth-node": "0.6.10",
63-
"@backstage/plugin-permission-backend": "0.7.3"
63+
"@backstage/plugin-permission-backend": "0.7.3",
64+
"@backstage/plugin-scaffolder": "1.34.3",
65+
"@backstage/plugin-scaffolder-react": "1.19.3",
66+
"@backstage/integration-react": "1.2.12",
67+
"@backstage/core-plugin-api": "1.12.0"
6468
},
6569
"prettier": "@backstage/cli/config/prettier",
6670
"lint-staged": {

workspaces/x2a/packages/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
},
6060
"devDependencies": {
6161
"@backstage/test-utils": "^1.7.13",
62+
"@react-stately/layout": "^4.6.0",
6263
"@testing-library/dom": "^9.0.0",
6364
"@testing-library/jest-dom": "^6.0.0",
6465
"@testing-library/react": "^14.0.0",

workspaces/x2a/plugins/x2a/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"@backstage/dev-utils": "^1.1.17",
6666
"@backstage/frontend-plugin-api": "^0.14.1",
6767
"@backstage/test-utils": "^1.7.13",
68+
"@react-stately/layout": "^4.6.0",
6869
"@testing-library/jest-dom": "^6.0.0",
6970
"@testing-library/react": "^16.0.0",
7071
"@testing-library/user-event": "^14.0.0",

workspaces/x2a/plugins/x2a/src/scaffolder/RepoAuthentication.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const mockSetSecrets = jest.fn();
1818
const mockAuthenticate = jest.fn();
1919

2020
jest.mock('@backstage/plugin-scaffolder-react', () => ({
21-
...jest.requireActual('@backstage/plugin-scaffolder-react'),
2221
useTemplateSecrets: () => ({
2322
secrets: {},
2423
setSecrets: mockSetSecrets,

0 commit comments

Comments
 (0)