Skip to content

Commit c29f263

Browse files
committed
[example] Use a different artifact dir than default.
To test that it actually works.
1 parent 89d9205 commit c29f263

25 files changed

+16
-16
lines changed

example/.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"passPerPreset": true,
33
"plugins": [
4-
["relay", { "artifactDirectory": "./ts/__generated__" }],
4+
["relay", { "artifactDirectory": "./ts/__relay_artifacts__" }],
55
"transform-runtime"
66
],
77
"presets": [

example/.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__generated__/
1+
__relay_artifacts__/

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"scripts": {
44
"start": "babel-node ./server.js",
5-
"build": "relay-compiler --src ./ts/ --schema ./data/schema.graphql --language typescript --artifactDirectory ./ts/__generated__",
5+
"build": "relay-compiler --src ./ts/ --schema ./data/schema.graphql --language typescript --artifactDirectory ./ts/__relay_artifacts__",
66
"update-schema": "babel-node ./scripts/updateSchema.js",
77
"lint": "eslint ./js",
88
"type-check": "tsc --noEmit --pretty"

0 commit comments

Comments
 (0)