Skip to content

Commit 82fcbcf

Browse files
authored
chore: upgrade docusaurus to 3.8 (#435)
1 parent 683b3c1 commit 82fcbcf

File tree

5 files changed

+2575
-2406
lines changed

5 files changed

+2575
-2406
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@
1010
Built using <a href="https://docusaurus.io/" target="_blank">Docusaurus 3</a>, a modern static website generator.
1111
</p>
1212

13-
<a href="https://gitpod.io/#<your-repository-url>">
14-
<img
15-
src="https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod"
16-
alt="Contribute with Gitpod"
17-
/>
18-
</a>
19-
2013
## Table of Contents
2114

2215
- [How to develop](#how-to-develop)

babel.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

docusaurus.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import { themes as prismThemes } from 'prism-react-renderer'
77

88
/** @type {import('@docusaurus/types').Config} */
99
const config = {
10+
future: {
11+
experimental_faster: true,
12+
v4: true,
13+
},
1014
title: 'Chaos Mesh',
1115
tagline: 'A Powerful Chaos Engineering Platform for Kubernetes',
1216
favicon: '/img/favicon.ico',

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"docusaurus": "docusaurus",
77
"start": "docusaurus start",
8-
"build": "docusaurus build",
8+
"build": "cross-env DOCUSAURUS_IGNORE_SSG_WARNINGS=true docusaurus build",
99
"swizzle": "docusaurus swizzle",
1010
"deploy": "docusaurus deploy",
1111
"clear": "docusaurus clear",
@@ -15,8 +15,9 @@
1515
"prepare": "husky"
1616
},
1717
"dependencies": {
18-
"@docusaurus/core": "3.7.0",
19-
"@docusaurus/preset-classic": "3.7.0",
18+
"@docusaurus/core": "3.8.0",
19+
"@docusaurus/faster": "^3.8.0",
20+
"@docusaurus/preset-classic": "3.8.0",
2021
"@gracefullight/docusaurus-plugin-microsoft-clarity": "^1.0.0",
2122
"@mdx-js/react": "^3.1.0",
2223
"clsx": "^2.1.1",
@@ -40,13 +41,14 @@
4041
]
4142
},
4243
"devDependencies": {
43-
"@docusaurus/module-type-aliases": "3.7.0",
44-
"@docusaurus/types": "3.7.0",
44+
"@docusaurus/module-type-aliases": "3.8.0",
45+
"@docusaurus/types": "3.8.0",
4546
"@trivago/prettier-plugin-sort-imports": "^5.2.1",
4647
"autoprefixer": "^10.4.20",
48+
"cross-env": "^7.0.3",
4749
"daisyui": "^4.12.23",
4850
"husky": "^9.1.7",
49-
"lint-staged": "^15.3.0",
51+
"lint-staged": "^16.1.0",
5052
"postcss": "^8.4.49",
5153
"prettier": "^3.4.2",
5254
"tailwindcss": "^3.4.17"

0 commit comments

Comments
 (0)