Skip to content

Commit

Permalink
Fix theme config (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
johno authored Apr 18, 2019
1 parent f04b0c5 commit af7e59b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 221 deletions.
6 changes: 6 additions & 0 deletions packages/gatsby-theme-mdx/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ module.exports = {
options: {
path: 'docs'
}
},
{
resolve: 'gatsby-plugin-compile-es6-packages',
options: {
modules: ['gatsby-theme-mdx']
}
}
]
}
1 change: 1 addition & 0 deletions packages/gatsby-theme-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"emotion-theming": "^10.0.10",
"gatsby-mdx": "^0.5.6",
"gatsby-plugin-catch-links": "^2.0.13",
"gatsby-plugin-compile-es6-packages": "^1.1.0",
"gatsby-plugin-emotion": "^4.0.6",
"gatsby-plugin-google-fonts": "^0.0.4",
"gatsby-plugin-page-creator": "^2.0.12",
Expand Down
238 changes: 17 additions & 221 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2665,7 +2665,7 @@ abbrev@1:
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==

accepts@^1.3.0, accepts@^1.3.5, accepts@~1.3.4, accepts@~1.3.5:
accepts@^1.3.0, accepts@~1.3.4, accepts@~1.3.5:
version "1.3.5"
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2"
integrity sha1-63d99gEXI6OxTopywIBcjoZ0a9I=
Expand Down Expand Up @@ -2876,11 +2876,6 @@ aproba@^2.0.0:
resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc"
integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==

arch@^2.1.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/arch/-/arch-2.1.1.tgz#8f5c2731aa35a30929221bb0640eed65175ec84e"
integrity sha512-BLM56aPo9vLLFVa8+/+pJLnrZ7QGGTVHWsCwieAWT9o9K8UeGaQbzZbGoabWLOo2ksBCztoXdqBZBplqLDDCSg==

are-we-there-yet@~1.1.2:
version "1.1.5"
resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21"
Expand Down Expand Up @@ -4317,14 +4312,6 @@ clipboard@^2.0.0:
select "^1.1.2"
tiny-emitter "^2.0.0"

clipboardy@^1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-1.2.3.tgz#0526361bf78724c1f20be248d428e365433c07ef"
integrity sha512-2WNImOvCRe6r63Gk9pShfkwXsVtKCroMAevIbiae021mS850UkWPbevxsBz3tnvjZIEGvlwaqCPsw+4ulzNgJA==
dependencies:
arch "^2.1.0"
execa "^0.8.0"

cliui@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"
Expand Down Expand Up @@ -6220,14 +6207,6 @@ eslint-plugin-graphql@^2.0.0:
graphql-config "^2.0.1"
lodash "^4.11.1"

eslint-plugin-graphql@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/eslint-plugin-graphql/-/eslint-plugin-graphql-3.0.3.tgz#9ecdaf5ea8397973e29cea9dbf860420694e9df0"
integrity sha512-hHwLyxSkC5rkakJ/SNTWwOswPdVhvfyMCnEOloevrLQIOHUNVIQBg1ljCaRe9C40HdzgcGUFUdG5BHLCKm8tuw==
dependencies:
graphql-config "^2.0.1"
lodash "^4.11.1"

eslint-plugin-import@^2.14.0, eslint-plugin-import@^2.9.0:
version "2.16.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.16.0.tgz#97ac3e75d0791c4fac0e15ef388510217be7f66f"
Expand Down Expand Up @@ -6573,16 +6552,6 @@ express-graphql@^0.6.12:
http-errors "^1.3.0"
raw-body "^2.3.2"

express-graphql@^0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/express-graphql/-/express-graphql-0.7.1.tgz#6c7712ee966c3aba1930e064ea4c8181e56fd3ef"
integrity sha512-YpheAqTbSKpb5h57rV2yu2dPNUBi4FvZDspZ5iEV3ov34PBRgnM4lEBkv60+vZRJ6SweYL14N8AGYdov7g6ooQ==
dependencies:
accepts "^1.3.5"
content-type "^1.0.4"
http-errors "^1.7.1"
raw-body "^2.3.3"

express@^4.16.3, express@^4.16.4:
version "4.16.4"
resolved "https://registry.yarnpkg.com/express/-/express-4.16.4.tgz#fddef61926109e24c515ea97fd2f1bdbf62df12e"
Expand Down Expand Up @@ -7223,41 +7192,6 @@ gatsby-cli@^2.5.7:
yargs "^12.0.5"
yurnalist "^1.0.2"

gatsby-cli@^2.5.9:
version "2.5.9"
resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-2.5.9.tgz#ec18e96c2e13414294441acb727927ef330ba536"
integrity sha512-Z7kPib4fUaSLTd/1EBxsKgT55sVhy2fNmL6wnWqfkk2O4CLWhG0nAqqKrumPWQQqZAYZDFDHycb05VbDfDpmRg==
dependencies:
"@babel/code-frame" "^7.0.0"
"@babel/runtime" "^7.0.0"
bluebird "^3.5.0"
ci-info "^2.0.0"
clipboardy "^1.2.3"
common-tags "^1.4.0"
configstore "^4.0.0"
convert-hrtime "^2.0.0"
core-js "^2.5.0"
envinfo "^5.8.1"
execa "^0.8.0"
fs-exists-cached "^1.0.0"
fs-extra "^4.0.1"
gatsby-telemetry "^1.0.7"
hosted-git-info "^2.6.0"
is-valid-path "^0.1.1"
lodash "^4.17.10"
meant "^1.0.1"
node-fetch "2.3.0"
opentracing "^0.14.3"
pretty-error "^2.1.1"
prompts "^2.0.4"
resolve-cwd "^2.0.0"
source-map "^0.5.7"
stack-trace "^0.0.10"
update-notifier "^2.3.0"
uuid "3.3.2"
yargs "^12.0.5"
yurnalist "^1.0.2"

gatsby-link@^2.0.16:
version "2.0.16"
resolved "https://registry.yarnpkg.com/gatsby-link/-/gatsby-link-2.0.16.tgz#5d140e43f3aec6dd59e01c1468d77a54092370c5"
Expand Down Expand Up @@ -7336,6 +7270,14 @@ gatsby-plugin-catch-links@^2.0.13:
"@babel/runtime" "^7.0.0"
escape-string-regexp "^1.0.5"

gatsby-plugin-compile-es6-packages@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-compile-es6-packages/-/gatsby-plugin-compile-es6-packages-1.1.0.tgz#5045c3bbf408c6d639b317ebffd8e9128073c4f9"
integrity sha512-YjB9LDyUBcWfVVF8mN+t4OziYghys08nb2vpYgW+sqXO4giHRLWpANFmVUXW+H2c1g8fAwPlKYcwDXyqNunibw==
dependencies:
"@babel/runtime" "^7.0.0"
regex-escape "^3.4.8"

gatsby-plugin-emotion@^4.0.6:
version "4.0.6"
resolved "https://registry.yarnpkg.com/gatsby-plugin-emotion/-/gatsby-plugin-emotion-4.0.6.tgz#5f496df66b2640874fcb073e4f2d8a2a1a4632da"
Expand Down Expand Up @@ -7400,135 +7342,6 @@ gatsby-telemetry@^1.0.7:
stack-utils "1.0.2"
uuid "3.3.2"

gatsby@^2.3.19:
version "2.3.24"
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-2.3.24.tgz#eb7dba769f451e0d9feac181d681075f8e0f8d62"
integrity sha512-B3P7abXJZDircSQXQNCCNdhYasjRu2sC3XtRZIh2loYtNDebJCfX6qYmjAxpkWswnqh39F1oix7F0/NEDvlXyg==
dependencies:
"@babel/code-frame" "^7.0.0"
"@babel/core" "^7.0.0"
"@babel/parser" "^7.0.0"
"@babel/polyfill" "^7.0.0"
"@babel/runtime" "^7.0.0"
"@babel/traverse" "^7.0.0"
"@gatsbyjs/relay-compiler" "2.0.0-printer-fix.2"
"@mikaelkristiansson/domready" "^1.0.9"
"@pieh/friendly-errors-webpack-plugin" "1.7.0-chalk-2"
"@reach/router" "^1.1.1"
"@stefanprobst/lokijs" "^1.5.6-b"
address "1.0.3"
autoprefixer "^9.4.3"
babel-core "7.0.0-bridge.0"
babel-eslint "^9.0.0"
babel-loader "^8.0.0"
babel-plugin-add-module-exports "^0.2.1"
babel-plugin-dynamic-import-node "^1.2.0"
babel-plugin-remove-graphql-queries "^2.6.3"
babel-preset-gatsby "^0.1.11"
better-opn "0.1.4"
better-queue "^3.8.6"
bluebird "^3.5.0"
browserslist "3.2.8"
cache-manager "^2.9.0"
cache-manager-fs-hash "^0.0.6"
chalk "^2.3.2"
chokidar "2.1.2"
common-tags "^1.4.0"
compression "^1.7.3"
convert-hrtime "^2.0.0"
copyfiles "^1.2.0"
core-js "^2.5.0"
css-loader "^1.0.0"
debug "^3.1.0"
del "^3.0.0"
detect-port "^1.2.1"
devcert-san "^0.3.3"
dotenv "^4.0.0"
eslint "^5.6.0"
eslint-config-react-app "^3.0.0"
eslint-loader "^2.1.0"
eslint-plugin-flowtype "^2.46.1"
eslint-plugin-graphql "^3.0.3"
eslint-plugin-import "^2.9.0"
eslint-plugin-jsx-a11y "^6.0.3"
eslint-plugin-react "^7.8.2"
event-source-polyfill "^1.0.5"
express "^4.16.3"
express-graphql "^0.7.1"
fast-levenshtein "~2.0.4"
file-loader "^1.1.11"
flat "^4.0.0"
fs-exists-cached "1.0.0"
fs-extra "^5.0.0"
gatsby-cli "^2.5.9"
gatsby-link "^2.0.16"
gatsby-plugin-page-creator "^2.0.12"
gatsby-react-router-scroll "^2.0.7"
gatsby-telemetry "^1.0.7"
glob "^7.1.1"
graphql "^14.1.1"
graphql-compose "6.0.3"
graphql-playground-middleware-express "^1.7.10"
hash-mod "^0.0.5"
invariant "^2.2.4"
is-relative "^1.0.0"
is-relative-url "^2.0.0"
is-wsl "^1.1.0"
jest-worker "^23.2.0"
joi "12.x.x"
json-loader "^0.5.7"
json-stringify-safe "^5.0.1"
kebab-hash "^0.1.2"
lodash "^4.17.10"
md5 "^2.2.1"
md5-file "^3.1.1"
mime "^2.2.0"
mini-css-extract-plugin "^0.4.0"
mitt "^1.1.2"
mkdirp "^0.5.1"
moment "^2.21.0"
name-all-modules-plugin "^1.0.1"
normalize-path "^2.1.1"
null-loader "^0.1.1"
opentracing "^0.14.3"
optimize-css-assets-webpack-plugin "^5.0.1"
parseurl "^1.3.2"
physical-cpu-count "^2.0.0"
pnp-webpack-plugin "^1.4.1"
postcss-flexbugs-fixes "^3.0.0"
postcss-loader "^2.1.3"
prop-types "^15.6.1"
raw-loader "^0.5.1"
react-dev-utils "^4.2.1"
react-error-overlay "^3.0.0"
react-hot-loader "^4.6.2"
redux "^4.0.0"
request "^2.85.0"
semver "^5.6.0"
shallow-compare "^1.2.2"
sift "^5.1.0"
signal-exit "^3.0.2"
slash "^1.0.0"
socket.io "^2.0.3"
stack-trace "^0.0.10"
string-similarity "^1.2.0"
style-loader "^0.21.0"
terser-webpack-plugin "^1.2.2"
"true-case-path" "^1.0.3"
type-of "^2.0.1"
url-loader "^1.0.1"
util.promisify "^1.0.0"
uuid "^3.1.0"
v8-compile-cache "^1.1.0"
webpack "~4.28.4"
webpack-dev-middleware "^3.0.1"
webpack-dev-server "^3.1.14"
webpack-hot-middleware "^2.21.0"
webpack-merge "^4.1.0"
webpack-stats-plugin "^0.1.5"
xstate "^4.3.2"
yaml-loader "^0.5.0"

gatsby@^2.3.21, gatsby@^2.3.6:
version "2.3.21"
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-2.3.21.tgz#0fa2f742a00e1dcb690d8513a20ae41015dbf94c"
Expand Down Expand Up @@ -7975,14 +7788,6 @@ grapheme-breaker@^0.3.2:
brfs "^1.2.0"
unicode-trie "^0.3.1"

[email protected]:
version "6.0.3"
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-6.0.3.tgz#fa5668a30694abef4166703aa03af07a741039a8"
integrity sha512-QpywEtNvlEQS0a5VIseMA/tk67QmEN9NNUx1B1tzGR/p7MePyus9wvci2cIP/mwdDrvLRRbwpmidSKQXFD3SEA==
dependencies:
graphql-type-json "^0.2.1"
object-path "^0.11.4"

graphql-compose@^6.0.3:
version "6.2.0"
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-6.2.0.tgz#cb385c82baa64a5870cde5381e2c3498f8dc1087"
Expand Down Expand Up @@ -8047,7 +7852,7 @@ graphql-tools@^3.0.4:
iterall "^1.1.3"
uuid "^3.1.0"

graphql-type-json@^0.2.1, graphql-type-json@^0.2.4:
graphql-type-json@^0.2.4:
version "0.2.4"
resolved "https://registry.yarnpkg.com/graphql-type-json/-/graphql-type-json-0.2.4.tgz#545af27903e40c061edd30840a272ea0a49992f9"
integrity sha512-/tq02ayMQjrG4oDFDRLLrPk0KvJXue0nVXoItBe7uAdbNXjQUu+HYCBdAmPLQoseVzUKKMzrhq2P/sfI76ON6w==
Expand Down Expand Up @@ -8549,7 +8354,7 @@ [email protected], http-errors@~1.6.2, http-errors@~1.6.3:
setprototypeof "1.1.0"
statuses ">= 1.4.0 < 2"

http-errors@^1.3.0, http-errors@^1.7.1:
http-errors@^1.3.0:
version "1.7.2"
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f"
integrity sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==
Expand Down Expand Up @@ -9200,13 +9005,6 @@ is-installed-globally@^0.1.0:
global-dirs "^0.1.0"
is-path-inside "^1.0.0"

is-invalid-path@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/is-invalid-path/-/is-invalid-path-0.1.0.tgz#307a855b3cf1a938b44ea70d2c61106053714f34"
integrity sha1-MHqFWzzxqTi0TqcNLGEQYFNxTzQ=
dependencies:
is-glob "^2.0.0"

is-lower-case@^1.1.0:
version "1.1.3"
resolved "https://registry.yarnpkg.com/is-lower-case/-/is-lower-case-1.1.3.tgz#7e147be4768dc466db3bfb21cc60b31e6ad69393"
Expand Down Expand Up @@ -9438,13 +9236,6 @@ is-utf8@^0.2.0:
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=

is-valid-path@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/is-valid-path/-/is-valid-path-0.1.1.tgz#110f9ff74c37f663e1ec7915eb451f2db93ac9df"
integrity sha1-EQ+f90w39mPh7HkV60UfLbk6yd8=
dependencies:
is-invalid-path "^0.1.0"

is-whitespace-character@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.2.tgz#ede53b4c6f6fb3874533751ec9280d01928d03ed"
Expand Down Expand Up @@ -13899,7 +13690,7 @@ range-parser@^1.0.3, range-parser@~1.2.0:
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
integrity sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=

[email protected], raw-body@^2.3.2, raw-body@^2.3.3:
[email protected], raw-body@^2.3.2:
version "2.3.3"
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.3.tgz#1b324ece6b5706e153855bc1148c65bb7f6ea0c3"
integrity sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==
Expand Down Expand Up @@ -14326,6 +14117,11 @@ regex-cache@^0.4.2:
dependencies:
is-equal-shallow "^0.1.3"

regex-escape@^3.4.8:
version "3.4.9"
resolved "https://registry.yarnpkg.com/regex-escape/-/regex-escape-3.4.9.tgz#407b413562e2373d56994ff213e693658ea4f8f7"
integrity sha512-Cv9rjwyQwVhn3L097ysanWsEElurmxDj6Cc4Ut23z7e6hzRbrNvF3Le7yAciMfuzyb0sZwSr0ZHunMNCIoy2/g==

regex-not@^1.0.0, regex-not@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"
Expand Down

0 comments on commit af7e59b

Please sign in to comment.