Skip to content

Commit

Permalink
fix: patch to address swagger-ui-react build errs
Browse files Browse the repository at this point in the history
  • Loading branch information
awsjim committed Jan 25, 2024
1 parent 7ea5952 commit 08096b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions build-script/backstage-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ yarn --cwd packages/app add \
"@backstage/plugin-home" \
"@aws/plugin-aws-apps-demo-for-backstage@${AWS_APPS_DEMO_VERSION}"

# ### PATCH BEGIN
# TODO: remove this patch when the issue is resolved in a future Backstage release
# provide patch to pin the version of swagger-ui-react. See https://github.com/backstage/backstage/issues/22142
jq '.resolutions += {"swagger-ui-react": "5.10.5"} ' package.json > package.json.tmp
mv package.json.tmp package.json
# ### PATCH END

cd -
# Copy/overwrite modified backstage files.
# Note that these modifications were based on modifying Backstage 1.17 files.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/getting-started/deploy-the-platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ Prior to installing the OPA solution platform, you will need to ensure that the
> Yes. We provide a Node.js Terraform application software template for demonstration. You may also write your own provider with Terraform.
<br/>

For more Q & A please see our [FAQ Page](../faq.md)
For more Q & A please see our [FAQ Page](../faq.md)

0 comments on commit 08096b9

Please sign in to comment.