Skip to content

Commit

Permalink
Upgrade docs to require TS v5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Apr 19, 2024
1 parent 1a73a93 commit 41253cf
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions website/docs/migration/v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Docusaurus v3 now uses the following dependencies:
- Node.js v18.0+
- React v18.0+
- MDX v3.0+
- TypeScript v5.0+
- TypeScript v5.1+
- prism-react-renderer v2.0+
- react-live v4.0+
- remark-emoji v4.0+
Expand Down Expand Up @@ -98,7 +98,7 @@ For TypeScript users:
// upgrade React types to v18.0+
- "@types/react": "^17.0.69",
+ "@types/react": "^18.2.29",
// upgrade TypeScript to v5.0+
// upgrade TypeScript to v5.1+
- "typescript": "~4.7.4"
+ "typescript": "~5.2.2"
}
Expand Down Expand Up @@ -689,9 +689,9 @@ However, this is a new major library version containing breaking changes, and we

:::

### TypeScript v5.0+
### TypeScript v5.1+

Docusaurus v3 now requires **TypeScript >= 5.0**.
Docusaurus v3 now requires **TypeScript >= 5.1**.

:::info How to upgrade

Expand Down
2 changes: 1 addition & 1 deletion website/docs/typescript-support.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Docusaurus is written in TypeScript and provides first-class TypeSc

Docusaurus is written in TypeScript and provides first-class TypeScript support.

The minimum required version is **TypeScript 5.0**.
The minimum required version is **TypeScript 5.1**.

## Initialization {#initialization}

Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-3.0.1/migration/v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Docusaurus v3 now uses the following dependencies:
- Node.js v18.0+
- React v18.0+
- MDX v3.0+
- TypeScript v5.0+
- TypeScript v5.1+
- prism-react-renderer v2.0+
- react-live v4.0+
- remark-emoji v4.0+
Expand Down Expand Up @@ -98,7 +98,7 @@ For TypeScript users:
// upgrade React types to v18.0+
- "@types/react": "^17.0.69",
+ "@types/react": "^18.2.29",
// upgrade TypeScript to v5.0+
// upgrade TypeScript to v5.1+
- "typescript": "~4.7.4"
+ "typescript": "~5.2.2"
}
Expand Down Expand Up @@ -601,9 +601,9 @@ However, this is a new major library version containing breaking changes, and we

:::

### TypeScript v5.0+
### TypeScript v5.1+

Docusaurus v3 now requires **TypeScript >= 5.0**.
Docusaurus v3 now requires **TypeScript >= 5.1**.

:::info How to upgrade

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Docusaurus is written in TypeScript and provides first-class TypeSc

Docusaurus is written in TypeScript and provides first-class TypeScript support.

The minimum required version is **TypeScript 5.0**.
The minimum required version is **TypeScript 5.1**.

## Initialization {#initialization}

Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-3.1.1/migration/v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Docusaurus v3 now uses the following dependencies:
- Node.js v18.0+
- React v18.0+
- MDX v3.0+
- TypeScript v5.0+
- TypeScript v5.1+
- prism-react-renderer v2.0+
- react-live v4.0+
- remark-emoji v4.0+
Expand Down Expand Up @@ -98,7 +98,7 @@ For TypeScript users:
// upgrade React types to v18.0+
- "@types/react": "^17.0.69",
+ "@types/react": "^18.2.29",
// upgrade TypeScript to v5.0+
// upgrade TypeScript to v5.1+
- "typescript": "~4.7.4"
+ "typescript": "~5.2.2"
}
Expand Down Expand Up @@ -689,9 +689,9 @@ However, this is a new major library version containing breaking changes, and we

:::

### TypeScript v5.0+
### TypeScript v5.1+

Docusaurus v3 now requires **TypeScript >= 5.0**.
Docusaurus v3 now requires **TypeScript >= 5.1**.

:::info How to upgrade

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Docusaurus is written in TypeScript and provides first-class TypeSc

Docusaurus is written in TypeScript and provides first-class TypeScript support.

The minimum required version is **TypeScript 5.0**.
The minimum required version is **TypeScript 5.1**.

## Initialization {#initialization}

Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-3.2.1/migration/v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Docusaurus v3 now uses the following dependencies:
- Node.js v18.0+
- React v18.0+
- MDX v3.0+
- TypeScript v5.0+
- TypeScript v5.1+
- prism-react-renderer v2.0+
- react-live v4.0+
- remark-emoji v4.0+
Expand Down Expand Up @@ -98,7 +98,7 @@ For TypeScript users:
// upgrade React types to v18.0+
- "@types/react": "^17.0.69",
+ "@types/react": "^18.2.29",
// upgrade TypeScript to v5.0+
// upgrade TypeScript to v5.1+
- "typescript": "~4.7.4"
+ "typescript": "~5.2.2"
}
Expand Down Expand Up @@ -689,9 +689,9 @@ However, this is a new major library version containing breaking changes, and we

:::

### TypeScript v5.0+
### TypeScript v5.1+

Docusaurus v3 now requires **TypeScript >= 5.0**.
Docusaurus v3 now requires **TypeScript >= 5.1**.

:::info How to upgrade

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Docusaurus is written in TypeScript and provides first-class TypeSc

Docusaurus is written in TypeScript and provides first-class TypeScript support.

The minimum required version is **TypeScript 5.0**.
The minimum required version is **TypeScript 5.1**.

## Initialization {#initialization}

Expand Down

0 comments on commit 41253cf

Please sign in to comment.