Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
if: steps.check_changes.outputs.has_changes == 'true'
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "yarn"
cache-dependency-path: ./site/yarn.lock # Changed from site/yarn.lock to ./site/yarn.lock

Expand Down
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
]
},
"engines": {
"node": ">=18.0"
"node": ">=22.0"
}
}
4 changes: 2 additions & 2 deletions site/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import styles from "./styles.module.css";
type FeatureItem = {
title: string;
Svg: React.ComponentType<React.ComponentProps<"svg">>;
description: JSX.Element;
description: React.ReactElement;
};

const FeatureList: FeatureItem[] = [
Expand Down Expand Up @@ -55,7 +55,7 @@ function Feature({ title, Svg, description }: FeatureItem) {
);
}

export default function HomepageFeatures(): JSX.Element {
export default function HomepageFeatures(): React.ReactElement {
return (
<section className={styles.features}>
<div className="container">
Expand Down
2 changes: 1 addition & 1 deletion site/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function VideoSection() {
);
}

export default function Home(): JSX.Element {
export default function Home(): React.ReactElement {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
Expand Down
3 changes: 2 additions & 1 deletion site/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// This file is not used in compilation. It is here just for a nice editor experience.
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"jsx": "react-jsx",
"baseUrl": "."
}
}
}
Loading