Skip to content

Commit c2bde36

Browse files
authored
fix(build): adjust resolutions for offline builds (redhat-developer#2563)
This change adds a couple resolution tweaks to make the installed packages consistent for both the repo and exported dynamic plugins, needed when using an offline build tool like cachi2 which prefetches dependencies for the build. Signed-off-by: Stan Lewis <[email protected]>
1 parent 199fcfa commit c2bde36

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

dynamic-plugins/wrappers/pagerduty-backstage-plugin-backend-dynamic/package.json

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
"@janus-idp/cli": "3.2.0",
4747
"typescript": "5.7.3"
4848
},
49+
"resolutions": {
50+
"@types/react": "18.3.18",
51+
"@types/react-dom": "18.3.5"
52+
},
4953
"files": [
5054
"dist",
5155
"dist-dynamic/*.*",

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"resolutions": {
5555
"@types/react": "18.3.18",
5656
"@types/react-dom": "18.3.5",
57+
"@aws-sdk/util-utf8-browser": "npm:@smithy/util-utf8@~2",
5758
"@backstage/plugin-scaffolder-node@^0.5.0": "patch:@backstage/plugin-scaffolder-node@npm%3A0.6.3#./.yarn/patches/@backstage-plugin-scaffolder-node-npm-0.6.3-1423303d33.patch",
5859
"@backstage/plugin-scaffolder-node@^0.6.3": "patch:@backstage/plugin-scaffolder-node@npm%3A0.6.3#./.yarn/patches/@backstage-plugin-scaffolder-node-npm-0.6.3-1423303d33.patch",
5960
"@backstage/plugin-scaffolder-node@^0.4.9": "patch:@backstage/plugin-scaffolder-node@npm%3A0.6.3#./.yarn/patches/@backstage-plugin-scaffolder-node-npm-0.6.3-1423303d33.patch",

yarn.lock

+25-5
Original file line numberDiff line numberDiff line change
@@ -1548,12 +1548,13 @@ __metadata:
15481548
languageName: node
15491549
linkType: hard
15501550

1551-
"@aws-sdk/util-utf8-browser@npm:^3.0.0":
1552-
version: 3.259.0
1553-
resolution: "@aws-sdk/util-utf8-browser@npm:3.259.0"
1551+
"@aws-sdk/util-utf8-browser@npm:@smithy/util-utf8@~2":
1552+
version: 2.3.0
1553+
resolution: "@smithy/util-utf8@npm:2.3.0"
15541554
dependencies:
1555-
tslib: ^2.3.1
1556-
checksum: b6a1e580da1c9b62c749814182a7649a748ca4253edb4063aa521df97d25b76eae3359eb1680b86f71aac668e05cc05c514379bca39ebf4ba998ae4348412da8
1555+
"@smithy/util-buffer-from": ^2.2.0
1556+
tslib: ^2.6.2
1557+
checksum: 00e55d4b4e37d48be0eef3599082402b933c52a1407fed7e8e8ad76d94d81a0b30b8bfaf2047c59d9c3af31e5f20e7a8c959cb7ae270f894255e05a2229964f0
15571558
languageName: node
15581559
linkType: hard
15591560

@@ -18079,6 +18080,15 @@ __metadata:
1807918080
languageName: node
1808018081
linkType: hard
1808118082

18083+
"@smithy/is-array-buffer@npm:^2.2.0":
18084+
version: 2.2.0
18085+
resolution: "@smithy/is-array-buffer@npm:2.2.0"
18086+
dependencies:
18087+
tslib: ^2.6.2
18088+
checksum: cd12c2e27884fec89ca8966d33c9dc34d3234efe89b33a9b309c61ebcde463e6f15f6a02d31d4fddbfd6e5904743524ca5b95021b517b98fe10957c2da0cd5fc
18089+
languageName: node
18090+
linkType: hard
18091+
1808218092
"@smithy/is-array-buffer@npm:^3.0.0":
1808318093
version: 3.0.0
1808418094
resolution: "@smithy/is-array-buffer@npm:3.0.0"
@@ -18373,6 +18383,16 @@ __metadata:
1837318383
languageName: node
1837418384
linkType: hard
1837518385

18386+
"@smithy/util-buffer-from@npm:^2.2.0":
18387+
version: 2.2.0
18388+
resolution: "@smithy/util-buffer-from@npm:2.2.0"
18389+
dependencies:
18390+
"@smithy/is-array-buffer": ^2.2.0
18391+
tslib: ^2.6.2
18392+
checksum: 424c5b7368ae5880a8f2732e298d17879a19ca925f24ca45e1c6c005f717bb15b76eb28174d308d81631ad457ea0088aab0fd3255dd42f45a535c81944ad64d3
18393+
languageName: node
18394+
linkType: hard
18395+
1837618396
"@smithy/util-buffer-from@npm:^3.0.0":
1837718397
version: 3.0.0
1837818398
resolution: "@smithy/util-buffer-from@npm:3.0.0"

0 commit comments

Comments
 (0)