Skip to content

Commit

Permalink
chore: upgrade docusaurus 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jscottsmith committed Dec 17, 2023
1 parent a94af6c commit b3e7d07
Show file tree
Hide file tree
Showing 4 changed files with 3,992 additions and 3,678 deletions.
4 changes: 2 additions & 2 deletions documentation/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/palenight');
const lightCodeTheme = require('prism-react-renderer').themes.github;
const darkCodeTheme = require('prism-react-renderer').themes.palenight;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down
24 changes: 15 additions & 9 deletions documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "documentation",
"version": "0.0.0",
"private": true,
"engines": {
"node": ">=18.0"
},
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
Expand All @@ -14,16 +17,16 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.3.1",
"@docusaurus/plugin-google-analytics": "2.3.1",
"@docusaurus/preset-classic": "2.3.1",
"@mdx-js/react": "^1.6.21",
"classnames": "^2.3.1",
"clsx": "^1.1.1",
"prism-react-renderer": "^1.3.1",
"@docusaurus/core": "3.0.1",
"@docusaurus/plugin-google-analytics": "3.0.1",
"@docusaurus/preset-classic": "3.0.1",
"@mdx-js/react": "^3.0.0",
"classnames": "^2.3.2",
"clsx": "2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scroll-parallax": "^3.0.0"
"react-scroll-parallax": "^3.4.5"
},
"browserslist": {
"production": [
Expand All @@ -38,6 +41,9 @@
]
},
"devDependencies": {
"tailwindcss": "^3.1.8"
"tailwindcss": "^3.3.6",
"@docusaurus/tsconfig": "3.0.1",
"@types/react": "^18.2.29",
"typescript": "5.3.3"
}
}
6 changes: 6 additions & 0 deletions documentation/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"baseUrl": "."
}
}
Loading

0 comments on commit b3e7d07

Please sign in to comment.