Merge pull request #7537 from tchak/graphql-doc
fix(graphql): change doc location
This commit is contained in:
commit
8d3d660663
2 changed files with 3 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -49,4 +49,4 @@ public/vite-test
|
|||
|
||||
|
||||
app/graphql/schema.json
|
||||
public/graphql/schema
|
||||
public/doc/graphql
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue