scaleway-sdk-js icon indicating copy to clipboard operation
scaleway-sdk-js copied to clipboard

Split the SDK js into multiple packages

Open remyleone opened this issue 9 months ago • 1 comments
trafficstars

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

remyleone avatar Jan 23 '25 12:01 remyleone