diff options
author | superprivacy <superprivacy@example.com> | 2024-02-21 06:04:59 +0100 |
---|---|---|
committer | superprivacy <superprivacy@example.com> | 2024-02-21 06:04:59 +0100 |
commit | 4537c921629d4989c4737376b4ea784f72a57553 (patch) | |
tree | 63e71e19ebea9d28e80fb3e7f621a327b5e2bb3b /docusaurus | |
parent | enhance security by blocking Wolfram's tracker (diff) | |
download | wolfree-dockerfile-4537c921629d4989c4737376b4ea784f72a57553.tar wolfree-dockerfile-4537c921629d4989c4737376b4ea784f72a57553.tar.gz wolfree-dockerfile-4537c921629d4989c4737376b4ea784f72a57553.tar.bz2 wolfree-dockerfile-4537c921629d4989c4737376b4ea784f72a57553.tar.lz wolfree-dockerfile-4537c921629d4989c4737376b4ea784f72a57553.tar.xz wolfree-dockerfile-4537c921629d4989c4737376b4ea784f72a57553.tar.zst wolfree-dockerfile-4537c921629d4989c4737376b4ea784f72a57553.zip |
Diffstat (limited to 'docusaurus')
-rw-r--r-- | docusaurus/docusaurus.config.js | 5 | ||||
-rw-r--r-- | docusaurus/package.json | 21 |
2 files changed, 14 insertions, 12 deletions
diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index 0c1833c..12deb33 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -4,8 +4,9 @@ /** @type { { config: { libredirect: false } } } */ const wolfree = require("./wolfree.config.js"); -const lightCodeTheme = require("prism-react-renderer/themes/github"); -const darkCodeTheme = require("prism-react-renderer/themes/dracula"); +const {themes} = require('prism-react-renderer'); +const lightCodeTheme = themes.github; +const darkCodeTheme = themes.dracula; /** @type {import('@docusaurus/types').Config} */ module.exports = { diff --git a/docusaurus/package.json b/docusaurus/package.json index a27490d..8b982ca 100644 --- a/docusaurus/package.json +++ b/docusaurus/package.json @@ -15,21 +15,22 @@ "typecheck": "tsc" }, "dependencies": { - "@docusaurus/core": "2.4.3", - "@docusaurus/preset-classic": "2.4.3", + "@docusaurus/core": "3.1.1", + "@docusaurus/preset-classic": "3.1.1", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", - "@mdx-js/react": "^1.6.22", + "@mdx-js/react": "^3.0.0", "@mui/material": "^5.14.10", "clsx": "^1.2.1", - "prism-react-renderer": "^1.3.5", - "react": "^17.0.2", - "react-dom": "^17.0.2" + "prism-react-renderer": "^2.1.0", + "react": "^18.2.0", + "react-dom": "^18.2.0" }, "devDependencies": { - "@docusaurus/module-type-aliases": "2.4.3", - "@tsconfig/docusaurus": "^1.0.5", - "typescript": "^4.7.4" + "@docusaurus/module-type-aliases": "3.1.1", + "@docusaurus/tsconfig": "3.1.1", + "@types/react": "^18.2.29", + "typescript": "~5.2.2" }, "browserslist": { "production": [ @@ -44,6 +45,6 @@ ] }, "engines": { - "node": ">=16.14" + "node": ">=18" } } |