Skip to content

Commit 8415222

Browse files
committed
frontend: modify to use backend for schema generation
1 parent 311c4ff commit 8415222

File tree

4 files changed

+1
-403
lines changed

4 files changed

+1
-403
lines changed

frontend/data/database.js

Lines changed: 0 additions & 98 deletions
This file was deleted.

frontend/data/schema.js

Lines changed: 0 additions & 281 deletions
This file was deleted.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"start": "babel-node ./server.js",
55
"start-backend": "cd ../backend && source venv/bin/activate && flask run --no-debugger",
66
"build": "relay-compiler --src ./ts/ --schema ./data/schema.graphql --language typescript --artifactDirectory ./ts/__relay_artifacts__",
7-
"update-schema": "babel-node ./scripts/updateSchema.js",
7+
"update-schema": "cd ../backend && source venv/bin/activate && python print_schema.py && mv schema.graphql ../frontend/data/schema.graphql",
88
"lint": "tslint --project tsconfig.json",
99
"type-check": "tsc --noEmit --pretty"
1010
},

0 commit comments

Comments
 (0)