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

Split the SDK js into multiple packages #1732

Open
remyleone opened this issue Jan 23, 2025 · 1 comment
Open

Split the SDK js into multiple packages #1732

remyleone opened this issue Jan 23, 2025 · 1 comment

Comments

@remyleone
Copy link
Member

remyleone commented Jan 23, 2025

At the moment, all products are gathered into a single package. This can lead to problem of dependencies and can cause regression. Bumping the SDK means updating all products in one go which is not ideal.

A solution for this problem could be to split each product into its own package. By doing so, the scope of an update is much smaller. Also the size of the file to import in the browser could also be lower.

In this architecture:

  • @sdk/core = client
  • Each API got its own package. For instance, @scaleway-sdk/instance, @scaleway-sdk/baremetal
@alexandre-combemorel
Copy link

Agree, I like this idea, we could also imagine a SDK for a larger public which combine all other SDK. So people still have the freedom of choice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants