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

Can you please split the SDK? #152

Open
orgads opened this issue Dec 7, 2023 · 3 comments
Open

Can you please split the SDK? #152

orgads opened this issue Dec 7, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@orgads
Copy link

orgads commented Dec 7, 2023

I only use ai, which is 1M, yet the installed size is 66M.

Is it possible to have separate packages, similar to aws-sdk v3?

@nikolaymatrosov nikolaymatrosov added the enhancement New feature or request label Dec 7, 2023
@DavyJohnes
Copy link
Contributor

DavyJohnes commented Dec 7, 2023

Good idea, but not easy to implement. As a alternative solution I would suggest to use any bundler (weback, for example) which is able to "shake dependency tree" and add only actually used code. It is useful not only for yc nodejs-sdk, but for all dependencies as well

@nikolaymatrosov nikolaymatrosov self-assigned this Dec 16, 2023
@evilandfox
Copy link

I also found that after installing this sdk tests execution takes 5x longer time

@DavyJohnes
Copy link
Contributor

I also found that after installing this sdk tests execution takes 5x longer time

Relation between sdk size and tests is not obvious. Need more details on this issue. What tests? How it runs? How cloud-sdk is involved in your tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants