You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They have mentioned in their docs, that "to avoid shipping these [unused] dependencies", we should add Google\\Task\\Composer::cleanup task and extra (exception services that won't be deleted) to our composer.json, like this
Does it mean that if I only use spatie/laravel-google-calendar and only use Google calendar service, I would also need to add this to composer.json ? To prevent installing 200 other Google unused services?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I see spatie/laravel-google-calendar uses google/apiclient which uses google/apiclient-services
They have mentioned in their docs, that "to avoid shipping these [unused] dependencies", we should add
Google\\Task\\Composer::cleanup
task andextra
(exception services that won't be deleted) to our composer.json, like thisDoes it mean that if I only use spatie/laravel-google-calendar and only use Google calendar service, I would also need to add this to composer.json ? To prevent installing 200 other Google unused services?
Or does your library do it automatically somehow?
Thanks for any help and for nice package!
Beta Was this translation helpful? Give feedback.
All reactions