enh: simplify adding new graphql endpoint
parent
26896218
No related branches found
No related tags found
Showing
- README.md 6 additions, 2 deletionsREADME.md
- endpoints.json 4 additions, 0 deletionsendpoints.json
- graphql/endpoints/AxiomTeam.js 19 additions, 0 deletionsgraphql/endpoints/AxiomTeam.js
- graphql/endpoints/axiom-team.js 0 additions, 26 deletionsgraphql/endpoints/axiom-team.js
- graphql/endpoints/trentesaux.js 15 additions, 22 deletionsgraphql/endpoints/trentesaux.js
- graphql/generateEndpoints.js 42 additions, 0 deletionsgraphql/generateEndpoints.js
- nuxt.config.js 6 additions, 5 deletionsnuxt.config.js
- package.json 4 additions, 2 deletionspackage.json
endpoints.json
0 → 100644
graphql/endpoints/AxiomTeam.js
0 → 100644
graphql/endpoints/axiom-team.js
deleted
100644 → 0
graphql/generateEndpoints.js
0 → 100644
... | ... | @@ -3,9 +3,10 @@ |
"version": "2.5.2", | ||
"private": true, | ||
"scripts": { | ||
"dev": "nuxt", | ||
"dev": "npm run generate-endpoints && nuxt", | ||
"trad": "sh ./utils/findMissingI18nKeys.sh", | ||
"build": "npm-run-all -p build-fragment nuxt-build", | ||
"generate-endpoints": "node graphql/generateEndpoints.js", | ||
"build": "npm run generate-endpoints && npm-run-all -p build-fragment nuxt-build", | ||
"start": "npm-run-all -p build-fragment nuxt-start", | ||
"generate": "npm-run-all -p build-fragment nuxt-generate && cp ./web-ext/* ./dist/", | ||
"analyze": "nuxt build --analyze", | ||
... | ... | @@ -24,6 +25,7 @@ |
"bootstrap": "5.1.3", | ||
"core-js": "^3.15.1", | ||
"graphql-tag": "^2.12.6", | ||
"node-fetch": "^3.3.2", | ||
"nuxt": "^2.15.8", | ||
"vue": "^2.6.14" | ||
}, | ||
... | ... |
Please register or sign in to comment