Skip to content

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

Closed
chadoh wants to merge 1 commit into
stellar:mainfrom
theahaco:chore/stop-patching-start-forking
Closed

chadoh wants to merge 1 commit into
stellar:mainfrom
theahaco:chore/stop-patching-start-forking

Conversation

@chadoh

@chadoh chadoh commented Aug 2, 2024 •

Copy link
Copy Markdown
Contributor

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.

Working toward stellar#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.
@janewang

janewang commented Aug 2, 2024

Copy link
Copy Markdown
Contributor

I think we should move this to @stellar/open-rpc-docs-react first. cc @ElliotFriend could you help with this

@ElliotFriend

Copy link
Copy Markdown
Contributor

Closing in favor of #1053

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