Would it be possible to code not used in the SDK into a separate package?
See original GitHub issue- Do you want to request a feature or report a bug?
Feature request, kinda.
- What is the current behavior?
We depend on Netlify’s js-client in multiple repositories for some advanced deployment voodoo. Currently this pulls in a lot of dependencies, notably express (quite big) and chokidar (a native dependency) but also a cli (minimist). None of this functionality seems to be used by js-client and it’s rather surprising that an SDK comes with such large dependencies.
- If the current behavior is a bug, please provide the steps to reproduce.
- What is the expected behavior?
It’d be great to separate out the code that is required by js-client (or vice versa) to keep the SDK small and light.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
SDK vs. API: What's the Difference? - IBM
No — in fact, as noted above, an SDK often contains at least one API. These two help you in different ways but...
Read more >"Failed to install the following Android SDK packages as some ...
According to Android SDK docs you can use the following command depending on the sdkmanager location: Docs on --licenses option seems to be...
Read more ><uses-sdk> | Android Developers
Lets you express an application's compatibility with one or more versions of the Android platform, by means of an API Level integer.
Read more >What is Source Code in Programming and How Does It Work?
Source code is the fundamental component of a computer program that is created by a programmer. It can be read and easily understood...
Read more >Using third-party SDKs in your app - Play Console Help
If your app is using an SDK version that may cause your app to be non-compliant with Google Play's Developer Program Policies, new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That did the trick. Thank you @sw-yx!
Makes sense 👍
The CLI is a really minor thing, chokidar and express are what’s i actually care about 🙂