mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-26 00:35:02 +03:00
Update dependencies
This commit is contained in:
parent
7b70e1f4c9
commit
6de2663109
@ -47,5 +47,8 @@
|
||||
"ignore": [
|
||||
"**/MIGRATION.md"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdx-js/mdx": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
"dependencies": {
|
||||
"@emotion/core": "^10.0.7",
|
||||
"@emotion/styled": "^10.0.7",
|
||||
"@mdx-js/react": "1.0.0-rc.0",
|
||||
"@mdx-js/react": "^1.0.1",
|
||||
"@reach/router": "^1.2.1",
|
||||
"emotion-theming": "^10.0.7",
|
||||
"hhmmss": "^1.0.0",
|
||||
|
@ -21,10 +21,10 @@
|
||||
"dependencies": {
|
||||
"@mdx-deck/components": "^2.1.1",
|
||||
"@mdx-deck/themes": "^2.1.1",
|
||||
"@mdx-js/mdx": "1.0.0-rc.0",
|
||||
"@mdx-js/react": "1.0.0-rc.0",
|
||||
"@mdx-js/mdx": "^1.0.1",
|
||||
"@mdx-js/react": "^1.0.1",
|
||||
"debug": "^4.1.1",
|
||||
"gatsby-mdx": "^0.5.6",
|
||||
"gatsby-mdx": "^0.6.1",
|
||||
"gatsby-plugin-compile-es6-packages": "^1.1.0",
|
||||
"gatsby-plugin-emotion": "^4.0.6",
|
||||
"gatsby-source-filesystem": "^2.0.29",
|
||||
|
@ -6,7 +6,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@mdx-deck/mdx-plugin": "^2.1.1",
|
||||
"@mdx-js/mdx": "1.0.0-rc.0",
|
||||
"@mdx-js/mdx": "^1.0.1",
|
||||
"loader-utils": "^1.2.3"
|
||||
}
|
||||
}
|
||||
|
@ -31,8 +31,8 @@
|
||||
"@mdx-deck/loader": "^2.1.1",
|
||||
"@mdx-deck/themes": "^2.1.1",
|
||||
"@mdx-deck/webpack-html-plugin": "^2.1.1",
|
||||
"@mdx-js/mdx": "1.0.0-rc.0",
|
||||
"@mdx-js/react": "1.0.0-rc.0",
|
||||
"@mdx-js/mdx": "^1.0.1",
|
||||
"@mdx-js/react": "^1.0.1",
|
||||
"babel-loader": "^8.0.5",
|
||||
"chalk": "^2.4.2",
|
||||
"connect": "^3.6.6",
|
||||
|
@ -32,6 +32,11 @@ export const slides = [(props => {
|
||||
<h2>{\`Three\`}</h2>
|
||||
</__MDXDECK_LAYOUT__>
|
||||
})]
|
||||
const makeShortcode = name => function MDXDefaultShortcode(props) {
|
||||
console.warn(\\"Component \\" + name + \\" was not imported, exported, or provided by MDXProvider as global scope\\")
|
||||
return <div {...props}/>
|
||||
};
|
||||
|
||||
const layoutProps = {
|
||||
slides
|
||||
};
|
||||
@ -39,21 +44,25 @@ const MDXLayout = props =>
|
||||
<section>
|
||||
{props.children}
|
||||
</section>
|
||||
export default function MDXContent({ components, ...props }) {
|
||||
return (
|
||||
<MDXLayout
|
||||
{...layoutProps}
|
||||
{...props}
|
||||
components={components}>
|
||||
export default \\"use strict\\";
|
||||
|
||||
<h1>{\`Hello\`}</h1>
|
||||
<hr></hr>
|
||||
<h2>{\`Two\`}</h2>
|
||||
<hr></hr>
|
||||
<h2>{\`Three\`}</h2>
|
||||
var _core = require(\\"@emotion/core\\");
|
||||
|
||||
</MDXLayout>
|
||||
)
|
||||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
|
||||
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
||||
|
||||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
||||
|
||||
function MDXContent(_ref) {
|
||||
var components = _ref.components,
|
||||
props = _objectWithoutProperties(_ref, [\\"components\\"]);
|
||||
|
||||
return (0, _core.jsx)(MDXLayout, _extends({}, layoutProps, props, {
|
||||
components: components,
|
||||
mdxType: \\"MDXLayout\\"
|
||||
}), (0, _core.jsx)(\\"h1\\", null, \\"Hello\\"), (0, _core.jsx)(\\"hr\\", null), (0, _core.jsx)(\\"h2\\", null, \\"Two\\"), (0, _core.jsx)(\\"hr\\", null), (0, _core.jsx)(\\"h2\\", null, \\"Three\\"));
|
||||
}
|
||||
MDXContent.isMDXComponent = true"
|
||||
|
||||
MDXContent.isMDXComponent = true;"
|
||||
`;
|
||||
|
@ -10,6 +10,7 @@
|
||||
"@mdx-js/mdx": "1.0.0-rc.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdx-js/mdx": "^1.0.1",
|
||||
"unist-util-is": "^2.1.2",
|
||||
"unist-util-visit": "^1.4.0"
|
||||
}
|
||||
|
49
yarn.lock
49
yarn.lock
@ -1700,18 +1700,19 @@
|
||||
npmlog "^4.1.2"
|
||||
write-file-atomic "^2.3.0"
|
||||
|
||||
"@mdx-js/mdx@1.0.0-rc.0":
|
||||
version "1.0.0-rc.0"
|
||||
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.0.0-rc.0.tgz#c31c8dae9c08e6494018e0fde4a0d87a7364f7a8"
|
||||
integrity sha512-PpDmC9i1LJKAK/BNce75D8QZS05ccfVMJZKGalogvGw0b8R+vQcMBtlklbVOqk10oVBe1TYYbRdniOkt1ziHMw==
|
||||
"@mdx-js/mdx@^1.0.1":
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.0.1.tgz#657f1ed8c6d1a2c75e3e4954024a279884c41692"
|
||||
integrity sha512-VL+j+ZEbRrVx51y/JrhbpsnuTAmJKjfSr05e/xBm0jQcfieqXeUvuLIaaxD46SqkDZviEJeWac7OCTfSl3pvGA==
|
||||
dependencies:
|
||||
"@babel/plugin-proposal-object-rest-spread" "^7.3.2"
|
||||
"@babel/helper-plugin-utils" "^7.0.0"
|
||||
"@babel/plugin-syntax-jsx" "^7.2.0"
|
||||
"@babel/plugin-syntax-object-rest-spread" "^7.2.0"
|
||||
change-case "^3.0.2"
|
||||
detab "^2.0.0"
|
||||
hast-util-raw "^5.0.0"
|
||||
mdast-util-to-hast "^4.0.0"
|
||||
remark-mdx "^1.0.0-rc.0"
|
||||
remark-mdx "^1.0.1"
|
||||
remark-parse "^6.0.0"
|
||||
remark-squeeze-paragraphs "^3.0.1"
|
||||
to-style "^1.3.3"
|
||||
@ -1719,10 +1720,10 @@
|
||||
unist-builder "^1.0.1"
|
||||
unist-util-visit "^1.3.0"
|
||||
|
||||
"@mdx-js/react@1.0.0-rc.0":
|
||||
version "1.0.0-rc.0"
|
||||
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.0.0-rc.0.tgz#1863287fe20a396c13280e155a29dbf9f8a40889"
|
||||
integrity sha512-yE/eEUDBkdSdsSdXvantAn8Q6CdM+u2Nor2IRaN8Fe+p8IGpMfHqLFS3WSIZpodGB4PYUxRsGINDl7ITSZXQyg==
|
||||
"@mdx-js/react@^1.0.1":
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.0.1.tgz#565acea8375b02a2039a5afefdeb3758ccc13988"
|
||||
integrity sha512-8jFmVrU6uAg94zh6sYCNtZnh9YovEvXmwaD9O8HxzQWNcEyn3ZZXG7r5ZcOpvtaQLnM+4+nwN4T42sfs2D+DvA==
|
||||
|
||||
"@mikaelkristiansson/domready@^1.0.9":
|
||||
version "1.0.9"
|
||||
@ -4598,6 +4599,11 @@ data-urls@^1.0.0:
|
||||
whatwg-mimetype "^2.2.0"
|
||||
whatwg-url "^7.0.0"
|
||||
|
||||
dataloader@^1.4.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-1.4.0.tgz#bca11d867f5d3f1b9ed9f737bd15970c65dff5c8"
|
||||
integrity sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==
|
||||
|
||||
date-fns@^1.27.2:
|
||||
version "1.30.1"
|
||||
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
|
||||
@ -6275,16 +6281,17 @@ gatsby-link@^2.0.16:
|
||||
"@types/reach__router" "^1.0.0"
|
||||
prop-types "^15.6.1"
|
||||
|
||||
gatsby-mdx@^0.5.6:
|
||||
version "0.5.7"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-mdx/-/gatsby-mdx-0.5.7.tgz#3e7073c55168724bef39df11cbb95260df5fa713"
|
||||
integrity sha512-FzwW3whZ5yHo0JVK/LpKZpHZoev+prRBxpxxj/DLc4H4eVwCkoK5Dk1EaUzGCyHev1hJxUQuoUjvkrHUW6DKSg==
|
||||
gatsby-mdx@^0.6.1:
|
||||
version "0.6.1"
|
||||
resolved "https://registry.yarnpkg.com/gatsby-mdx/-/gatsby-mdx-0.6.1.tgz#1e2625d007b05e1210e37c1dcf09fdd9099bf718"
|
||||
integrity sha512-7Q6bcKRA6rFJTsTyKpzzp5GjGns5k8oRl/4cOYhdQlA9OREQdRVR/PCiYdHanHJ7cVY8QqUbDxRBdOwxDBtzvQ==
|
||||
dependencies:
|
||||
"@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"
|
||||
dataloader "^1.4.0"
|
||||
debug "^4.0.1"
|
||||
escape-string-regexp "^1.0.5"
|
||||
fs-extra "^7.0.0"
|
||||
@ -6387,9 +6394,9 @@ gatsby-telemetry@^1.0.7:
|
||||
uuid "3.3.2"
|
||||
|
||||
gatsby@^2.3.17:
|
||||
version "2.3.20"
|
||||
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-2.3.20.tgz#67e3674ac598cd0facab3727e3b17aedb150d116"
|
||||
integrity sha512-tVhgSVboCSjV1q5yU3JpBcg7blauVdHc4AnwHQ1AJbjfWzQV3NiDGwjfiQqWfGb0YG5YCjYAgUYgQ8zhO1GSJw==
|
||||
version "2.3.21"
|
||||
resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-2.3.21.tgz#0fa2f742a00e1dcb690d8513a20ae41015dbf94c"
|
||||
integrity sha512-yV/vv0j4PxaY+udCyxSDDPZMSYw3CKUCav0ZEkhbKhuY3nM5uTq07S8ivZ4eJfDQTcOV1lYSV3mCgOX5jI3/pA==
|
||||
dependencies:
|
||||
"@babel/code-frame" "^7.0.0"
|
||||
"@babel/core" "^7.0.0"
|
||||
@ -12232,10 +12239,10 @@ remark-emoji@^2.0.2:
|
||||
node-emoji "^1.8.1"
|
||||
unist-util-visit "^1.4.0"
|
||||
|
||||
remark-mdx@^1.0.0-rc.0:
|
||||
version "1.0.0-rc.4"
|
||||
resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.0.0-rc.4.tgz#a18b1903f007b626ee14ff61a2392cecb8506912"
|
||||
integrity sha512-3F+2jq90VQDNGBLcLt6HoBqDXileXYYAzTsmRsohHFSAetwfB5ypjSFlsRE7lpmaLXItTK+2cKBsQuax66TGyw==
|
||||
remark-mdx@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.0.1.tgz#fbfca84a5d1c92aea92410cd6d701d352e142bd1"
|
||||
integrity sha512-PS+sfmHqMjrkHPqgTaOxtGF+gKOfzezQCvqv/RlqK9vabOVNKOBnP1wzM2jaoYSZ70KunXVTboRyKYpnT81tjQ==
|
||||
dependencies:
|
||||
"@babel/core" "^7.2.2"
|
||||
"@babel/helper-plugin-utils" "^7.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user