Skip to content

Commit

Permalink
fix: update gist embed options (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
yathomasi committed May 17, 2024
1 parent 759d8b5 commit 9660561
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/example/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const {
} = require('../gatsby-theme-iterative/package.json')

module.exports = {
jsxRuntime: 'automatic',
siteMetadata: {
title: 'Example website',
description: 'Example website description',
Expand Down
5 changes: 3 additions & 2 deletions packages/gatsby-theme-iterative/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module.exports = ({
{
resolve: 'gatsby-remark-embed-gist',
options: {
includeDefaultCss: true
gistDefaultCssInclude: false
}
},
'gatsby-remark-external-links',
Expand Down Expand Up @@ -173,5 +173,6 @@ module.exports = ({
plausibleAPI,
plausibleDomain
},
trailingSlash: 'never'
trailingSlash: 'never',
jsxRuntime: 'automatic'
})
2 changes: 1 addition & 1 deletion packages/gatsby-theme-iterative/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dvcorg/gatsby-theme-iterative",
"version": "0.3.17",
"version": "0.3.18",
"description": "",
"main": "index.js",
"types": "src/typings.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-theme-iterative/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allowSyntheticDefaultImports": true,
"alwaysStrict": true,
"jsx": "react-jsx",
"lib": ["dom", "es2015", "es2017", "es2021"],
"lib": ["dom", "ESNext"],
"module": "commonjs",
"noEmit": true,
"noFallthroughCasesInSwitch": true,
Expand All @@ -20,7 +20,7 @@
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"target": "es5"
"target": "ESNext"
},
"include": ["./src/**/*", "./*.js"]
}
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"target": "es5",
"target": "ESNext",
"module": "commonjs",
"resolveJsonModule": true,
"lib": ["dom", "es2015", "es2017", "es2021"],
"jsx": "react-jsx",
"lib": ["dom", "ESNext"],
"sourceMap": true,
"strict": true,
"noImplicitAny": true,
Expand Down

0 comments on commit 9660561

Please sign in to comment.