From bb5cc70676f6601b345a9e1055be28501fd4e4d5 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Tue, 12 Jul 2022 11:43:34 +0200 Subject: [PATCH] Revert "Merge pull request #7537 from tchak/graphql-doc" This reverts commit 8d3d660663f3e7ad969d951e1499925385bda673, reversing changes made to 021649cc62b353c022f2d5f42414d6a211385028. --- .gitignore | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c429c75c3..3b3aebb67 100644 --- a/.gitignore +++ b/.gitignore @@ -50,4 +50,4 @@ public/vite-test app/graphql/schema.json -public/doc/graphql +public/graphql/schema diff --git a/package.json b/package.json index 680c051c2..02ad5e6f5 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "lint:js": "eslint --ext .js,.jsx,.ts,.tsx ./app/javascript", "webpack:build": "NODE_ENV=production bin/webpack", "lint:types": "tsc", - "graphql:doc:build": "RAILS_ENV=production bin/rake graphql:schema:json && graphdoc --force", + "graphql:doc:build": "bin/rake graphql:schema:json && graphdoc --force", "postinstall": "patch-package", "test": "vitest", "coverage": "vitest run --coverage" @@ -87,6 +87,6 @@ }, "graphdoc": { "schemaFile": "./app/graphql/schema.json", - "output": "./public/doc/graphql" + "output": "./public/graphql/schema" } }