Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

Commit

Permalink
fix #342 in 0.5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherBiscardi committed Apr 7, 2019
1 parent d1355ab commit 5c4d614
Show file tree
Hide file tree
Showing 12 changed files with 947 additions and 1,310 deletions.
2 changes: 1 addition & 1 deletion examples/custom-remark-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@mdx-js/mdx": "^1.0.0-alpha.17",
"@mdx-js/react": "^1.0.0-alpha.17",
"emotion-theming": "^10.0.5",
"gatsby": "2.0.76",
"gatsby": "2.3.14",
"gatsby-mdx": "*",
"gatsby-plugin-emotion": "4.0.1",
"gatsby-plugin-react-helmet": "3.0.4",
Expand Down
2 changes: 1 addition & 1 deletion examples/dato-cms-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@mdx-js/mdx": "^1.0.0-alpha.17",
"@mdx-js/react": "^1.0.0-alpha.17",
"gatsby": "^2.0.76",
"gatsby": "^2.3.14",
"gatsby-image": "^2.0.22",
"gatsby-mdx": "*",
"gatsby-plugin-feed": "^2.0.8",
Expand Down
2 changes: 1 addition & 1 deletion examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@mdx-js/mdx": "^1.0.0-alpha.17",
"@mdx-js/react": "^1.0.0-alpha.17",
"emotion-theming": "^10.0.5",
"gatsby": "2.0.76",
"gatsby": "2.3.14",
"gatsby-mdx": "*",
"gatsby-plugin-emotion": "^4.0.1",
"gatsby-plugin-offline": "2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion examples/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@mdx-js/react": "^1.0.0-alpha.17",
"emotion": "^9.1.3",
"emotion-server": "^9.1.3",
"gatsby": "2.0.76",
"gatsby": "2.3.14",
"gatsby-mdx": "*",
"gatsby-plugin-emotion": "4.0.1",
"gatsby-plugin-google-analytics": "2.0.8",
Expand Down
2 changes: 1 addition & 1 deletion examples/mdx-defaults-from-remark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "0.1.0",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"dependencies": {
"gatsby": "^2.0.76",
"gatsby": "^2.3.14",
"gatsby-image": "^2.0.20",
"gatsby-mdx": "*",
"gatsby-plugin-manifest": "^2.0.9",
Expand Down
2 changes: 1 addition & 1 deletion examples/raw-strings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@mdx-js/react": "^1.0.0-alpha.17",
"emotion": "^9.1.3",
"emotion-server": "^9.1.3",
"gatsby": "2.0.76",
"gatsby": "2.3.14",
"gatsby-mdx": "*",
"gatsby-plugin-emotion": "4.0.1",
"gatsby-source-filesystem": "2.0.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/rehype-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.0",
"author": "Chris Biscardi <chris@christopherbiscardi.com> (@chrisbiscardi)",
"dependencies": {
"gatsby": "2.0.76",
"gatsby": "2.3.14",
"gatsby-plugin-react-helmet": "^3.0.0",
"react-helmet": "^5.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/using-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@mdx-js/mdx": "^1.0.0-alpha.17",
"@mdx-js/react": "^1.0.0-alpha.17",
"gatsby": "2.0.76",
"gatsby": "2.3.14",
"gatsby-mdx": "*",
"gatsby-plugin-feed": "2.0.5",
"gatsby-plugin-google-analytics": "2.0.5",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"*.{css,scss}": ["prettier --parser css --write", "git add"]
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.0.0",
"babel-jest": "^24.7.1",
"eslint": "^5.4.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-prettier": "^2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-mdx/loaders/mdx-wrappers.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const loaderUtils = require("loader-utils");
*/
module.exports = function() {
const options = loaderUtils.getOptions(this);
const { plugins } = options.store.getState();
const { flattenedPlugins: plugins } = options.store.getState();
const wrapperPlugins = plugins
.filter(plugin => plugin.ssrAPIs.includes("wrapRootElement"))
.map(plugin => `${plugin.resolve}/gatsby-ssr.js`);
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"@mdx-js/react": "^1.0.0-alpha.17"
},
"dependencies": {
"@babel/core": "^7.4.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.4.2",
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"core-js": "2",
"debug": "^4.0.1",
Expand Down
Loading

0 comments on commit 5c4d614

Please sign in to comment.