Skip to content

Commit

Permalink
Merge pull request #26 from silviuaavram/feat/update-deps
Browse files Browse the repository at this point in the history
chore: update deps
  • Loading branch information
silviuaavram authored Aug 20, 2024
2 parents a786881 + 92919cf commit a49ee33
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
7 changes: 3 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// @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 themes = require('prism-react-renderer')

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -95,8 +94,8 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} Silviu Alexandru Avram. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: themes.github,
darkTheme: themes.dracula,
},
}),
}
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "2.2.0",
"@docusaurus/preset-classic": "2.2.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"@docusaurus/core": "3.5.2",
"@docusaurus/preset-classic": "3.5.2",
"@mdx-js/react": "^3.0.1",
"clsx": "^2.1.1",
"prism-react-renderer": "^2.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.2.0",
"@tsconfig/docusaurus": "^1.0.5",
"kcd-scripts": "^12.3.0",
"typescript": "^4.7.4"
"@docusaurus/module-type-aliases": "3.5.2",
"@tsconfig/docusaurus": "^2.0.3",
"kcd-scripts": "^16.0.0",
"typescript": "^5.5.4"
},
"browserslist": {
"production": [
Expand All @@ -41,6 +41,6 @@
]
},
"engines": {
"node": ">=16.14"
"node": ">=20.11.1"
}
}

0 comments on commit a49ee33

Please sign in to comment.