-
Notifications
You must be signed in to change notification settings - Fork 41
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
Does not work with Yarn Monorepos #102
Comments
I've found a workaround by setting the
Now I can include it as depdendency in my monorepo. Only problem is, I manually have to change the name of the generated package, because
I get When I manually edit it to |
I think using I think in the next version of |
The CLI always generates files in
node_modules/.dethcrypto/eth-sdk-client
relative to the package.jsonBut in a Monorepo the package where I use eth-sdk might be in
packages/my-package
. So when I run the CLI it generatespackages/my-package/node_modules/.dethcrypto/eth-sdk-client
but it's looking for the package innode_modules/.dethcrypto/eth-sdk-client
. This means eth-sdk doesn't work in Monorepos.Also, the new version of Yarn doesn't encourage the use of
node_modules
anymore (https://yarnpkg.com/features/pnp) Maybe eth-sdk should have the option to be run in a mode where it generates source files that should be included in source control instead of creating another package.The text was updated successfully, but these errors were encountered: