Skip to content

Commit

Permalink
docusaurus: upgrade to docusaurus 3.6.3 which is much faster (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
taraspos authored Dec 3, 2024
1 parent 9cf0044 commit 7ea6028
Show file tree
Hide file tree
Showing 3 changed files with 1,656 additions and 234 deletions.
5 changes: 5 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ import { extendedPostcssConfigPlugin } from "./server/postcss";
const latestVersion = getLatestVersion();

const config: Config = {
future: {
// This speeds up build by a lot and should resolve memory issues during build
// https://docusaurus.io/blog/releases/3.6
experimental_faster: true,
},
customFields: {
inkeepConfig: {
apiKey: getFromSecretOrEnv("INKEEP_API_KEY"),
Expand Down
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@
"pre-commit": "yarn lint-staged"
},
"dependencies": {
"@docusaurus/core": "^3.5.0",
"@docusaurus/plugin-content-docs": "^3.5.0",
"@docusaurus/plugin-debug": "^3.5.0",
"@docusaurus/plugin-sitemap": "^3.5.0",
"@docusaurus/theme-classic": "^3.5.0",
"@docusaurus/core": "^3.6.3",
"@docusaurus/faster": "^3.6.3",
"@docusaurus/plugin-content-docs": "^3.6.3",
"@docusaurus/plugin-debug": "^3.6.3",
"@docusaurus/plugin-sitemap": "^3.6.3",
"@docusaurus/theme-classic": "^3.6.3",
"@inkeep/widgets": "^0.2.288",
"@mdx-js/react": "^3.0.0",
"classnames": "^2.3",
Expand All @@ -54,10 +55,10 @@
},
"devDependencies": {
"@csstools/postcss-global-data": "^2.1.1",
"@docusaurus/module-type-aliases": "^3.4.0",
"@docusaurus/plugin-client-redirects": "^3.4.0",
"@docusaurus/tsconfig": "^3.4.0",
"@docusaurus/types": "^3.4.0",
"@docusaurus/module-type-aliases": "^3.6.3",
"@docusaurus/plugin-client-redirects": "^3.6.3",
"@docusaurus/tsconfig": "^3.6.3",
"@docusaurus/types": "^3.6.3",
"@types/react": "^18.3.3",
"ajv": "^8.16.0",
"dotenv": "^16.4.5",
Expand Down
Loading

0 comments on commit 7ea6028

Please sign in to comment.