Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify instructions to decouple an adapter from monorepo #2324

Open
pedrohba1 opened this issue Nov 14, 2022 · 2 comments
Open

Specify instructions to decouple an adapter from monorepo #2324

pedrohba1 opened this issue Nov 14, 2022 · 2 comments

Comments

@pedrohba1
Copy link

I've been trying to make my own external adapter based off an example in this repo, but I've been having some issues because all the pieces of code I need are coupled to the yarn workspace. It's not very clear what is the minimum necessary of code that I need to get from this repo in order to make it work in another alone.

@boxhock
Copy link
Contributor

boxhock commented Nov 14, 2022

Hi Pedro, I definitely agree that it's difficult to decouple EAs from the monorepo. The short answer is that for now it's easiest to just fork the monorepo as-is and create your adapter in it without trying to decouple it. With a bit more effort, you could remove all other unused adapters from the repo, but this will be tedious work with little reward.

To completely decouple your EA from the monorepo, I'd recommend waiting for EA framework v3. It's currently in a private beta, but we hope to publish it publicly soon. This will be a completely decoupled package without having to worry about yarn workspaces if you want to build your own adapter.

I will keep this issue open until v3 is released, in addition to any guides on how to build an EA in v3.

@pedrohba1
Copy link
Author

Collaborator

All right. I will try what you suggested for now and come back if I achieve something

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

No branches or pull requests

2 participants