Skip to content

Commit

Permalink
YCBO: use new Relay Compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnzlml committed Apr 1, 2021
1 parent 09f94e2 commit 916673a
Show file tree
Hide file tree
Showing 18 changed files with 344 additions and 362 deletions.
2 changes: 1 addition & 1 deletion src/ya-comiste-backoffice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"fbt:collect": "fbt-collect --options=__self --pretty --manifest < translations/src_manifest.json > translations/source_strings.json",
"fbt:translate": "fbt-translate --source-strings=translations/source_strings.json --pretty --translations translations/in/*.json --output-dir=translations/out --jenkins",
"fbt": "yarn run fbt:manifest && yarn run fbt:collect && yarn run fbt:translate",
"relay": "adeira-relay-compiler"
"relay": "adeira-relay-compiler-experimental ./relay.config.json"
},
"dependencies": {
"@adeira/js": "^2.1.0",
Expand Down
11 changes: 0 additions & 11 deletions src/ya-comiste-backoffice/relay.config.js

This file was deleted.

18 changes: 18 additions & 0 deletions src/ya-comiste-backoffice/relay.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"root": "..",
"sources": {
"ya-comiste-backoffice/src": "default"
},
"codegenCommand": "yarn workspace @adeira/ya-comiste-backoffice relay",
"projects": {
"default": {
"schema": "ya-comiste-rust/schema.graphql",
"jsModuleFormat": "commonjs",
"haste": false,
"customScalarTypes": {
"ProductImageUploadable": "String"
}
}
},
"isDevVariableName": "__DEV__"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 916673a

Please sign in to comment.