-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
32,756 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
/.yarn/releases/** linguist-vendored | ||
/.yarn/plugins/** linguist-vendored | ||
/.yarn/cache/** linguist-vendored | ||
/.yarn/sdks/** linguist-vendored | ||
/.yarn/pnpify/** linguist-vendored | ||
|
||
/.pnp.js binary linguist-generated | ||
/.pnp.cjs binary linguist-generated | ||
/.yarn/** linguist-vendored | ||
/.pnp.* binary linguist-generated | ||
|
||
/.vscode/*.json linguist-language=JSON5 | ||
|
||
__generated__ linguist-generated | ||
**/__generated__/** linguist-generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
public/ | ||
.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import type { GatsbyConfig } from 'gatsby'; | ||
|
||
const config: GatsbyConfig = { | ||
siteMetadata: { | ||
title: 'gatsby-plugin-typegen example', | ||
description: 'gatsby-plugin-typegen example with TypeScript', | ||
}, | ||
plugins: [ | ||
'gatsby-plugin-react-helmet-async', | ||
'gatsby-plugin-image', | ||
{ | ||
resolve: 'gatsby-source-filesystem', | ||
options: { | ||
name: 'images', | ||
path: 'src/images', | ||
}, | ||
}, | ||
'gatsby-transformer-sharp', | ||
'gatsby-plugin-sharp', | ||
'gatsby-plugin-mdx', | ||
{ | ||
resolve: 'gatsby-plugin-typegen', | ||
options: { | ||
outputPath: 'src/__generated__/gatsby-types.d.ts', | ||
emitSchema: { | ||
'src/__generated__/gatsby-introspection.json': true, | ||
'src/__generated__/gatsby-schema.graphql': true, | ||
}, | ||
emitPluginDocument: { | ||
'src/__generated__/gatsby-plugin-documents.graphql': true, | ||
}, | ||
}, | ||
}, | ||
], | ||
}; | ||
|
||
export default config; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "example-mdx", | ||
"private": true, | ||
"description": "gatsby-plugin-typegen example with MDX", | ||
"version": "0.1.0", | ||
"author": { | ||
"name": "Hyeseong Kim", | ||
"email": "[email protected]" | ||
}, | ||
"scripts": { | ||
"build": "gatsby build", | ||
"develop": "gatsby develop", | ||
"serve": "gatsby serve", | ||
"clean": "gatsby clean" | ||
}, | ||
"dependencies": { | ||
"@mdx-js/mdx": "v1", | ||
"@mdx-js/react": "v1", | ||
"gatsby": "^4.9.3", | ||
"gatsby-plugin-image": "^2.9.1", | ||
"gatsby-plugin-mdx": "^3.16.1", | ||
"gatsby-plugin-react-helmet": "^5.9.0", | ||
"gatsby-plugin-react-helmet-async": "^1.2.1", | ||
"gatsby-plugin-sharp": "^4.9.1", | ||
"gatsby-plugin-typegen": "portal:../../plugin", | ||
"gatsby-source-filesystem": "^4.9.1", | ||
"gatsby-transformer-sharp": "^4.9.0", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"react-helmet-async": "^1.2.3" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^17.0.40", | ||
"typescript": "^4.6.2" | ||
} | ||
} |
Oops, something went wrong.