From 76ab33f611af08546d85be699b7f0aaa4c287056 Mon Sep 17 00:00:00 2001 From: Joseph Bielawski Date: Tue, 19 Sep 2023 11:17:48 +0200 Subject: [PATCH] Add Google services cleanup tasks to composer --- composer.json | 6 ++++++ composer.lock | 2 +- src/adapter/etl-adapter-google-sheet/composer.json | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b43792920..06dcdb65f 100644 --- a/composer.json +++ b/composer.json @@ -165,6 +165,7 @@ "cs:php:fix": [ "tools/cs-fixer/vendor/bin/php-cs-fixer fix" ], + "pre-autoload-dump": "Google\\Task\\Composer::cleanup", "post-install-cmd": [ "@tools:install" ], @@ -181,6 +182,11 @@ "composer install --working-dir=./tools/rector" ] }, + "extra": { + "google/apiclient-services": [ + "Sheets" + ] + }, "minimum-stability": "dev", "prefer-stable": true } diff --git a/composer.lock b/composer.lock index 637045fdd..a0cc03f8f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6960b19ed2bc26b224096c8c06c5ca1b", + "content-hash": "5f3f561815ec81fac94fe0186157139e", "packages": [ { "name": "amphp/amp", diff --git a/src/adapter/etl-adapter-google-sheet/composer.json b/src/adapter/etl-adapter-google-sheet/composer.json index d5afaa857..04876d3bf 100644 --- a/src/adapter/etl-adapter-google-sheet/composer.json +++ b/src/adapter/etl-adapter-google-sheet/composer.json @@ -48,6 +48,7 @@ ], "cs:php:fix": "tools/vendor/bin/php-cs-fixer fix", "tools:install": "composer install --working-dir=./tools", + "pre-autoload-dump": "Google\\Task\\Composer::cleanup", "post-install-cmd": [ "@tools:install" ], @@ -55,6 +56,11 @@ "@tools:install" ] }, + "extra": { + "google/apiclient-services": [ + "Sheets" + ] + }, "minimum-stability": "dev", "prefer-stable": true }