diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 8b4b063b3..b0fffd3e0 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -1,5 +1,5 @@ -const lightCodeTheme = require('prism-react-renderer/themes/github'); -const darkCodeTheme = require('prism-react-renderer/themes/dracula'); +const lightCodeTheme = require('prism-react-renderer').themes.github; +const darkCodeTheme = require('prism-react-renderer').themes.dracula; const config = { title: 'ZIO Elasticsearch', diff --git a/website/package.json b/website/package.json index 1522f1fa9..3fd4b020a 100644 --- a/website/package.json +++ b/website/package.json @@ -15,11 +15,11 @@ "publish-gh-pages": "docusaurus deploy" }, "dependencies": { - "@docusaurus/core": "^2.4.0", - "@docusaurus/preset-classic": "^2.4.0", - "@mdx-js/react": "^1.6.22", + "@docusaurus/core": "3.0.0-alpha.0", + "@docusaurus/preset-classic": "3.0.0-alpha.0", + "@mdx-js/react": "^2.3.0", "clsx": "^1.2.1", - "prism-react-renderer": "^1.3.5", + "prism-react-renderer": "^2.0.5", "react": "^18.0.0", "react-dom": "^18.0.0" },