chore: upgrade deps

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
This commit is contained in:
Yue Yang 2025-01-10 13:16:24 +08:00
parent 4c3a0776b0
commit c0251f2d2e
7 changed files with 1300 additions and 3423 deletions

View File

@ -15,16 +15,16 @@
"prepare": "husky" "prepare": "husky"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "3.6.3", "@docusaurus/core": "3.7.0",
"@docusaurus/preset-classic": "3.6.3", "@docusaurus/preset-classic": "3.7.0",
"@gracefullight/docusaurus-plugin-microsoft-clarity": "^1.0.0", "@gracefullight/docusaurus-plugin-microsoft-clarity": "^1.0.0",
"@mdx-js/react": "^3.0.0", "@mdx-js/react": "^3.1.0",
"clsx": "^2.1.0", "clsx": "^2.1.1",
"gsap": "^3.12.4", "gsap": "^3.12.5",
"prism-react-renderer": "^2.4.0", "prism-react-renderer": "^2.4.1",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"semver": "^7.6.0", "semver": "^7.6.3",
"typewriter-effect": "^2.21.0" "typewriter-effect": "^2.21.0"
}, },
"browserslist": { "browserslist": {
@ -40,16 +40,16 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@docusaurus/module-type-aliases": "3.6.3", "@docusaurus/module-type-aliases": "3.7.0",
"@docusaurus/types": "3.6.3", "@docusaurus/types": "3.7.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0", "@trivago/prettier-plugin-sort-imports": "^5.2.1",
"autoprefixer": "^10.4.17", "autoprefixer": "^10.4.20",
"daisyui": "^4.12.14", "daisyui": "^4.12.23",
"husky": "^9.0.11", "husky": "^9.1.7",
"lint-staged": "^15.2.2", "lint-staged": "^15.3.0",
"postcss": "^8.4.35", "postcss": "^8.4.49",
"prettier": "^2.8.7", "prettier": "^3.4.2",
"tailwindcss": "^3.4.14" "tailwindcss": "^3.4.17"
}, },
"engines": { "engines": {
"node": ">=18.0" "node": ">=18.0"

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ export default function Card({ children, className, ...props }) {
<div <div
className={clsx( className={clsx(
'tw-p-6 tw-border tw-border-solid tw-border-base-content tw-border-opacity-15 dark:tw-border-opacity-60 tw-rounded-2xl', 'tw-p-6 tw-border tw-border-solid tw-border-base-content tw-border-opacity-15 dark:tw-border-opacity-60 tw-rounded-2xl',
className className,
)} )}
{...props} {...props}
> >

View File

@ -13,7 +13,7 @@ function Feature({ imgUrl, title, description, className, imageWidth }) {
<div <div
className={clsx( className={clsx(
'tw-relative tw-flex tw-flex-col lg:tw-flex-row tw-items-center tw-h-full', 'tw-relative tw-flex tw-flex-col lg:tw-flex-row tw-items-center tw-h-full',
isKubernetes && 'lg:tw-items-start' isKubernetes && 'lg:tw-items-start',
)} )}
> >
{!isKubernetes ? ( {!isKubernetes ? (

View File

@ -215,7 +215,7 @@ export default function Mesh() {
opacity: 1, opacity: 1,
top: top - 50, top: top - 50,
left: left + 25, left: left + 25,
} },
) )
new Typewriter('.mesh-text', { delay: 50 }) new Typewriter('.mesh-text', { delay: 50 })
.typeString('Injecting NetworkChaos/loss...') .typeString('Injecting NetworkChaos/loss...')
@ -240,7 +240,7 @@ export default function Mesh() {
opacity: 0, opacity: 0,
top, top,
left: left + 25, left: left + 25,
} },
) )
}) })
.start() .start()

View File

@ -51,8 +51,8 @@ const PickVersion = ({
const rendered = isArchive const rendered = isArchive
? children.replace(replaced, versionToGitHubRef(version)) ? children.replace(replaced, versionToGitHubRef(version))
: version === 'latest' : version === 'latest'
? children ? children
: children.replace(replaced, 'v' + version) : children.replace(replaced, 'v' + version)
return <CodeBlock className={className}>{rendered}</CodeBlock> return <CodeBlock className={className}>{rendered}</CodeBlock>
}} }}

View File

@ -72,7 +72,7 @@ function Home() {
<h1 <h1
className={clsx( className={clsx(
'tw-inline-block tw-text-5xl xl:tw-text-6xl tw-text-left tw-rounded-2xl tw-backdrop-blur-sm lg:tw-backdrop-blur', 'tw-inline-block tw-text-5xl xl:tw-text-6xl tw-text-left tw-rounded-2xl tw-backdrop-blur-sm lg:tw-backdrop-blur',
styles.heroTitle styles.heroTitle,
)} )}
> >
{/* Due to the below texts are not simple strings, so we can't use <Translate /> here. */} {/* Due to the below texts are not simple strings, so we can't use <Translate /> here. */}
@ -207,7 +207,7 @@ function Home() {
<img <img
className={clsx( className={clsx(
'tw-block tw-mx-auto tw-select-none dark:tw-invert-[.85] dark:tw-saturate-0', 'tw-block tw-mx-auto tw-select-none dark:tw-invert-[.85] dark:tw-saturate-0',
styles.chaosCategory styles.chaosCategory,
)} )}
src="img/home/chaos-category.svg" src="img/home/chaos-category.svg"
alt="Chaos Category" alt="Chaos Category"