Skip to content

Commit

Permalink
Upgrade to Docusaurus v3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sip49 committed Mar 9, 2024
1 parent 918066c commit dc719c1
Show file tree
Hide file tree
Showing 3 changed files with 3,500 additions and 1,601 deletions.
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

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.draculay;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@
"format": "prettier --write ."
},
"dependencies": {
"@docusaurus/core": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.1",
"@mdx-js/react": "^1.6.22",
"@docusaurus/core": "^3.1.1",
"@docusaurus/preset-classic": "^3.1.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"prism-react-renderer": "^2.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.4.1",
"@docusaurus/module-type-aliases": "^3.1.1",
"@docusaurus/types": "3.1.1",
"prettier": "^3.2.5"
},
"browserslist": {
Expand All @@ -41,7 +42,7 @@
]
},
"engines": {
"node": ">=16.14"
"node": ">=18.0"
},
"resolutions": {
"trim": "^0.0.3",
Expand Down
Loading

0 comments on commit dc719c1

Please sign in to comment.