From 1f8796316eb7e49d2cb3fe95a1ae22dea7bc9f11 Mon Sep 17 00:00:00 2001 From: Philipp Melab Date: Sat, 11 Nov 2023 04:51:01 +0000 Subject: [PATCH] fix: make schema prep depend on composer install Because composer libraries are required. Band-aid solution. Directives should move to npm packages. --- apps/cms/.gitignore | 2 +- apps/cms/autoload.json | 1 - apps/cms/turbo.json | 1 + packages/schema/turbo.json | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 apps/cms/autoload.json diff --git a/apps/cms/.gitignore b/apps/cms/.gitignore index bf682b0d5..b2c3e0305 100644 --- a/apps/cms/.gitignore +++ b/apps/cms/.gitignore @@ -30,4 +30,4 @@ generated/operations.json generated/translations.json # GraphQL autoload registry -generated/autoload.json +autoload.json diff --git a/apps/cms/autoload.json b/apps/cms/autoload.json deleted file mode 100644 index 9e26dfeeb..000000000 --- a/apps/cms/autoload.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/apps/cms/turbo.json b/apps/cms/turbo.json index d13417569..01dda268b 100644 --- a/apps/cms/turbo.json +++ b/apps/cms/turbo.json @@ -16,6 +16,7 @@ "outputs": ["web/sites/default/files/**"] }, "prep": { + "dependsOn": [], "inputs": ["composer.json", "composer.lock", "scaffold/**"], "outputs": [ "vendor/**", diff --git a/packages/schema/turbo.json b/packages/schema/turbo.json index 2989cd093..2a6ebaaf5 100644 --- a/packages/schema/turbo.json +++ b/packages/schema/turbo.json @@ -3,7 +3,7 @@ "extends": ["//"], "pipeline": { "prep": { - // Dedicated inputs for this package. + "dependsOn": ["@custom/cms#prep"], "inputs": [ "../../apps/website/node_modules/@amazeelabs/*/directives.graphql", "../../apps/cms/web/modules/contrib/*/directives.graphql",