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 into smaller libraries, 72mb is too much if you need just one service's api. #2381

Closed
truestep opened this issue Oct 3, 2020 · 2 comments
Assignees
Labels
status: duplicate Duplicate. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@truestep
Copy link

truestep commented Oct 3, 2020

Current size of the google-api-nodejs-client lib is 72mb. My whole nodejs app is 15mb with already installed npm_modules, I choose them carefully. I don't need the whole google-api-nodejs-client I just need androidPublisher v3. Please make it possible to install every "google-api" separately.

Also it's just ts files there https://github.com/googleapis/google-api-nodejs-client/tree/master/src/apis/androidpublisher .Currently I have to take the v3.ts, compile the file and include in my project as js file. I'm not using ts, I'm using latest nodejs with pure javascript and trying to avoid unnecessary steps and libraries. In my case it's not convenient at all.

@JustinBeckwith
Copy link
Contributor

👋 we hear ya, this is something we've wanted to do for a while. We're tracking this over in #806

@JustinBeckwith JustinBeckwith added status: duplicate Duplicate. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Oct 3, 2020
@NoelAbrahams
Copy link

Yes, please. I simply hit the roof after installing googleapis and checking node_modules. This has a significant detrimental impact on cloud deployments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate Duplicate. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants