Skip to content

Commit

Permalink
fix: removing dependencies from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed Mar 10, 2022
1 parent a2a7bc5 commit 4829325
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 25 deletions.
18 changes: 18 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,23 @@ module.exports = {
path: `${__dirname}/src/markdown-pages`,
},
},
// https://www.gatsbyjs.com/plugins/gatsby-plugin-typegen/
{
resolve: 'gatsby-plugin-typegen',
options: {
outputPath: 'src/__generated__/gatsby-types.d.ts',
emitSchema: {
'src/__generated__/gatsby-schema.graphql': true,
},
},
},
{
resolve: `gatsby-plugin-typescript`,
options: {
isTSX: true, // defaults to false
jsxPragma: `jsx`, // defaults to "React"
allExtensions: true, // defaults to false
},
},
],
};
21 changes: 0 additions & 21 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,27 +63,6 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
}
}
}
allNewRelicSdkApi {
edges {
node {
fields {
slug
}
}
}
}
allQuickstarts {
edges {
node {
fields {
slug
}
id
}
}
}
}
`);
// Handle errors
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"gatsby-plugin-emotion": "^6.8.0",
"gatsby-plugin-gatsby-cloud": "^3.0.0",
"gatsby-plugin-manifest": "^3.13.0",
"gatsby-plugin-mdx": "^2.8.0",
"gatsby-plugin-offline": "^4.8.0",
"gatsby-plugin-react-helmet": "^4.8.0",
"gatsby-plugin-robots-txt": "^1.6.8",
Expand All @@ -28,10 +27,7 @@
"gatsby-plugin-use-dark-mode": "^1.3.0",
"gatsby-plugin-use-query-params": "^1.0.1",
"gatsby-remark-autolink-headers": "^2.9.0",
"gatsby-remark-images": "^5.5.0",
"gatsby-source-filesystem": "^3.8.0",
"gatsby-transformer-json": "^3.3.0",
"gatsby-transformer-remark": "^4.5.0",
"gatsby-transformer-sharp": "^3.13.0",
"js-cookie": "^2.2.1",
"lodash.get": "^4.4.2",
Expand Down

0 comments on commit 4829325

Please sign in to comment.