Update docusaurus

This commit is contained in:
JeremyStar™ 2024-07-24 02:07:14 +02:00
parent 8f32026364
commit 41e0a516cd
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 11 additions and 8 deletions

View file

@ -3,12 +3,15 @@
dist: help dist: help
help: help:
@echo "make install-deps -> Install all dependencies" @echo "make install-deps -> Install all dependencies"
@echo " update-deps -> Update all dependencies"
@echo " test -> Start a web server for development" @echo " test -> Start a web server for development"
@echo " build -> Build static files" @echo " build -> Build static files"
@echo " clean -> Clean directory" @echo " clean -> Clean directory"
@echo " clean-extra -> Clean directory with extra directories/files" @echo " clean-extra -> Clean directory with extra directories/files"
install-deps: install-deps:
pnpm install pnpm install
update-deps:
pnpm install @docusaurus/{core,plugin-client-redirects,plugin-content-docs,plugin-sitemap,preset-classic,module-type-aliases,tsconfig,types}@latest
test: test:
pnpm run start --hot-only --no-open pnpm run start --hot-only --no-open
build: build:

View file

@ -15,11 +15,11 @@
"typecheck": "tsc" "typecheck": "tsc"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "3.3.2", "@docusaurus/core": "3.4.0",
"@docusaurus/plugin-client-redirects": "^3.3.2", "@docusaurus/plugin-client-redirects": "^3.4.0",
"@docusaurus/plugin-content-docs": "^3.3.2", "@docusaurus/plugin-content-docs": "^3.4.0",
"@docusaurus/plugin-sitemap": "^3.3.2", "@docusaurus/plugin-sitemap": "^3.4.0",
"@docusaurus/preset-classic": "3.3.2", "@docusaurus/preset-classic": "3.4.0",
"@mdx-js/react": "^3.0.1", "@mdx-js/react": "^3.0.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"prism-react-renderer": "^2.3.1", "prism-react-renderer": "^2.3.1",
@ -27,9 +27,9 @@
"react-dom": "^18.3.1" "react-dom": "^18.3.1"
}, },
"devDependencies": { "devDependencies": {
"@docusaurus/module-type-aliases": "3.3.2", "@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/tsconfig": "3.3.2", "@docusaurus/tsconfig": "3.4.0",
"@docusaurus/types": "3.3.2", "@docusaurus/types": "3.4.0",
"@types/node": "^20.12.11", "@types/node": "^20.12.11",
"typescript": "~5.2.2" "typescript": "~5.2.2"
}, },