Skip to content

Commit

Permalink
fix: make schema prep depend on composer install
Browse files Browse the repository at this point in the history
Because composer libraries are required.
Band-aid solution. Directives should move to npm packages.
pmelab committed Nov 11, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d350f1e commit 1f87963
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/cms/.gitignore
Original file line number Diff line number Diff line change
@@ -30,4 +30,4 @@ generated/operations.json
generated/translations.json

# GraphQL autoload registry
generated/autoload.json
autoload.json
1 change: 0 additions & 1 deletion apps/cms/autoload.json

This file was deleted.

1 change: 1 addition & 0 deletions apps/cms/turbo.json
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@
"outputs": ["web/sites/default/files/**"]
},
"prep": {
"dependsOn": [],
"inputs": ["composer.json", "composer.lock", "scaffold/**"],
"outputs": [
"vendor/**",
2 changes: 1 addition & 1 deletion packages/schema/turbo.json
Original file line number Diff line number Diff line change
@@ -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",

0 comments on commit 1f87963

Please sign in to comment.