Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update gist embed options #269

Merged
merged 11 commits into from
May 17, 2024
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