Skip to content

build: fork, don't patch, open-rpc-docs-react - #1053

Merged
ElliotFriend merged 6 commits into
mainfrom
chore/stop-patching-start-forking
Jan 9, 2025
Merged

ElliotFriend merged 6 commits into
mainfrom
chore/stop-patching-start-forking

Conversation

@ElliotFriend

@ElliotFriend ElliotFriend commented Oct 22, 2024 •

Copy link
Copy Markdown
Contributor

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:

  • added tests for customized functionality
  • dependabot and package updates
  • also a terraform PR that will change the name of the required PR test

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.

chadoh and others added 2 commits August 2, 2024 15:24
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 demonstrates that it will work, at least.
1 similar comment
1 similar comment

@briwylde08 briwylde08 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@ElliotFriend
ElliotFriend merged commit 433f7d7 into main Jan 9, 2025
@ElliotFriend
ElliotFriend deleted the chore/stop-patching-start-forking branch January 9, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants