Skip to content

Commit

Permalink
docs: Upgrade to Docusaurus v3.6 - enable Docusaurus Faster (#308)
Browse files Browse the repository at this point in the history
* upgrade to Docusaurus v3.6 - enable Docusaurus Faster

* 3.6.1

* fix typo

* fix range typo
  • Loading branch information
slorber authored Nov 11, 2024
1 parent 1a313c5 commit 6682b2d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 0 additions & 3 deletions docs/babel.config.js

This file was deleted.

4 changes: 4 additions & 0 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';

const config: Config = {
future: {
experimental_faster: true,
},

title: 'Nitro Modules',
tagline:
'A framework to build mindblowingly fast native modules with type-safe statically compiled JS bindings.',
Expand Down
15 changes: 8 additions & 7 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,21 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "^3.5.2",
"@docusaurus/plugin-sitemap": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@docusaurus/theme-mermaid": "^3.5.2",
"@docusaurus/core": "3.6.1",
"@docusaurus/faster": "3.6.1",
"@docusaurus/plugin-sitemap": "3.6.1",
"@docusaurus/preset-classic": "3.6.1",
"@docusaurus/theme-mermaid": "3.6.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.5.2",
"@docusaurus/tsconfig": "^3.5.2",
"@docusaurus/types": "^3.5.2",
"@docusaurus/module-type-aliases": "3.6.1",
"@docusaurus/tsconfig": "3.6.1",
"@docusaurus/types": "3.6.1",
"typescript": "~5.6.2"
},
"browserslist": {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"lint-cpp": "./scripts/clang-format.sh",
"clean": "rm -rf packages/**/tsconfig.tsbuildinfo packages/**/node_modules packages/**/lib",
"release": "./scripts/release.sh",
"docs": "bun --cwd docs",
"nitro": "bun --cwd packages/react-native-nitro-modules",
"nitrogen": "bun --cwd packages/nitrogen",
"image": "bun --cwd packages/react-native-nitro-image",
Expand Down

0 comments on commit 6682b2d

Please sign in to comment.