chore(graphql): build doc

This commit is contained in:
Paul Chavard 2022-07-03 12:38:27 +02:00
parent a31856a101
commit e0f91c1077
3 changed files with 78 additions and 7314 deletions

5
.gitignore vendored
View file

@ -27,7 +27,6 @@ yarn-debug.log*
/.vscode
/.idea
/public/assets
/docs
# Local Netlify folder
.netlify
@ -47,3 +46,7 @@ public/packs-test
public/vite
public/vite-dev
public/vite-test
app/graphql/schema.json
public/graphql/schema

View file

@ -67,7 +67,6 @@
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.6.0",
"netlify-cli": "^8.3.0",
"prettier": "^2.7.1",
"typescript": "^4.7.3",
"vite": "^2.9.1",
@ -75,20 +74,18 @@
"vite-plugin-ruby": "^3.0.9"
},
"scripts": {
"clean": "del tmp public/packs public/packs-test public/vite public/vite-dev public/vite-test node_modules/.vite",
"clean": "del tmp public/packs public/packs-test public/vite public/vite-dev public/vite-test node_modules/.vite public/graphql",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx ./app/javascript",
"webpack:build": "NODE_ENV=production bin/webpack",
"lint:types": "tsc",
"graphql:docs:build": "graphdoc --force",
"graphql:docs:deploy": "netlify deploy -d ./docs/graphql --prod",
"graphql:docs:publish": "yarn graphql:docs:build && yarn graphql:docs:deploy",
"graphql:doc:build": "bin/rake graphql:schema:json && graphdoc --force",
"postinstall": "patch-package"
},
"engines": {
"node": ">= 16.*"
},
"graphdoc": {
"endpoint": "https://www.demarches-simplifiees.fr/api/v2/graphql",
"output": "./docs/graphql"
"schemaFile": "./app/graphql/schema.json",
"output": "./public/graphql/schema"
}
}

7376
yarn.lock

File diff suppressed because it is too large Load diff