Merge pull request #7537 from tchak/graphql-doc

fix(graphql): change doc location
This commit is contained in:
Paul Chavard 2022-07-06 16:11:06 +02:00 committed by GitHub
commit 8d3d660663
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View file

@ -49,4 +49,4 @@ public/vite-test
app/graphql/schema.json
public/graphql/schema
public/doc/graphql

View file

@ -80,7 +80,7 @@
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx ./app/javascript",
"webpack:build": "NODE_ENV=production bin/webpack",
"lint:types": "tsc",
"graphql:doc:build": "bin/rake graphql:schema:json && graphdoc --force",
"graphql:doc:build": "RAILS_ENV=production bin/rake graphql:schema:json && graphdoc --force",
"postinstall": "patch-package",
"test": "vitest",
"coverage": "vitest run --coverage"
@ -90,6 +90,6 @@
},
"graphdoc": {
"schemaFile": "./app/graphql/schema.json",
"output": "./public/graphql/schema"
"output": "./public/doc/graphql"
}
}