question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
realitykingcommented, Apr 17, 2019

That did the trick. Thank you @sw-yx!

1reaction
realitykingcommented, Apr 16, 2019

Makes sense 👍

The CLI is a really minor thing, chokidar and express are what’s i actually care about 🙂

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found