build: fork, don't patch, open-rpc-docs-react #1053
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About this PR
Supersedes PR #860, since I didn't have permissions to push to the AhaLabs repo.
We've moved and customized the fork to https://github.com/stellar/open-rpc-docs-react, and are awaiting a couple small PR merges to cut a new release:
Original comment from @chadoh
Working toward #404
We were essentially forking @metamask/open-rpc-docs-react already, but in a more brittle way using "post-install": "patch-package" and a .patch file that applied a patch directly to the built artifacts from the library.
I've now created an actual fork at https://github.com/AhaLabs/open-rpc-docs-react Which is published at https://www.npmjs.com/package/@ahalabs/open-rpc-docs-react
I'd like to move this to @stellar/open-rpc-docs-react in both GitHub and NPM, but this demonstrates that it will work, at least.