chore: move generated graphql files

This commit is contained in:
Jean-Philippe Sirois
2019-08-18 23:57:17 -04:00
parent 4e43178448
commit 71557fa75b
5 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
src/generated/* linguist-vendored generated/* linguist-vendored
+1 -1
View File
@@ -2,7 +2,7 @@ overwrite: true
schema: "http://localhost:8000/___graphql" schema: "http://localhost:8000/___graphql"
documents: "src/**/*.graphql" documents: "src/**/*.graphql"
generates: generates:
src/generated/graphql.ts: generated/graphql.ts:
plugins: plugins:
- "typescript" - "typescript"
- "typescript-operations" - "typescript-operations"
View File
+1 -1
View File
@@ -1,7 +1,7 @@
import React, { Fragment } from "react" import React, { Fragment } from "react"
import { graphql } from "gatsby" import { graphql } from "gatsby"
import { Markdown } from "../components/Markdown" import { Markdown } from "../components/Markdown"
import { MarkdownRemark, Query } from "../generated/graphql" import { MarkdownRemark, Query } from "../../generated/graphql"
import { SEO } from "../components/SEO" import { SEO } from "../components/SEO"
function AboutPage({ data }: ComponentQuery<{ md: MarkdownRemark }>) { function AboutPage({ data }: ComponentQuery<{ md: MarkdownRemark }>) {
+1 -1
View File
@@ -1,7 +1,7 @@
import React, { Fragment } from "react" import React, { Fragment } from "react"
import { graphql } from "gatsby" import { graphql } from "gatsby"
import { Markdown } from "../components/Markdown" import { Markdown } from "../components/Markdown"
import { MarkdownRemark, Query } from "../generated/graphql" import { MarkdownRemark, Query } from "../../generated/graphql"
import { SEO } from "../components/SEO" import { SEO } from "../components/SEO"
function RulesPage({ data }: ComponentQuery<{ md: MarkdownRemark }>) { function RulesPage({ data }: ComponentQuery<{ md: MarkdownRemark }>) {