1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-11-29 05:53:38 +03:00

chore(deps): bump docusaurus to v3 (#391)

https://docusaurus.io/docs/migration/v3
This commit is contained in:
Orhun Parmaksız 2023-12-18 23:33:41 +01:00 committed by GitHub
parent b3a3e4b9d2
commit ee205c4472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3336 additions and 1711 deletions

View File

@ -6,6 +6,7 @@ authors: orhun
tags: tags:
- release - release
--- ---
<center> <center>
<a href="https://github.com/orhun/git-cliff"> <a href="https://github.com/orhun/git-cliff">
@ -42,7 +43,7 @@ For example:
- Each entry shows the issue/PR number and related commit - Each entry shows the issue/PR number and related commit
- Emojis! - Emojis!
Configuration: <https://github.com/orhun/git-cliff/blob/main/cliff.toml> Configuration: [https://github.com/orhun/git-cliff/blob/main/cliff.toml](https://github.com/orhun/git-cliff/blob/main/cliff.toml)
### Postprocessors ⚙️ ### Postprocessors ⚙️
@ -104,8 +105,8 @@ The way that it works is:
`git-cliff` is now packaged for [PyPI](https://pypi.org/), the Python packaging index. `git-cliff` is now packaged for [PyPI](https://pypi.org/), the Python packaging index.
- <https://pypi.org/project/git-cliff> - [https://pypi.org/project/git-cliff](https://pypi.org/project/git-cliff)
- <https://test.pypi.org/project/git-cliff> (test package) - [https://test.pypi.org/project/git-cliff](https://test.pypi.org/project/git-cliff) (test package)
You can download it with `pip`: You can download it with `pip`:
@ -172,7 +173,7 @@ I'm happy to announce that I will be talking about `git-cliff` at [**RustLab 202
<center> <center>
**<https://rustlab.it/talks/turning-git-commits-into-changelog-with-git-cliff>** **[https://rustlab.it/talks/turning-git-commits-into-changelog-with-git-cliff](https://rustlab.it/talks/turning-git-commits-into-changelog-with-git-cliff)**
</center> </center>
@ -182,7 +183,7 @@ I'm happy to announce that I will be talking about `git-cliff` at [**RustLab 202
- **Dates**: November 19th -> November 21th - **Dates**: November 19th -> November 21th
- **Location**: Florence, Italy - **Location**: Florence, Italy
- **Tickets**: <https://rustlab.it/tickets> - **Tickets**: [https://rustlab.it/tickets](https://rustlab.it/tickets)
## Contributions ## Contributions

View File

@ -6,6 +6,7 @@ authors: orhun
tags: tags:
- release - release
--- ---
<center> <center>
<a href="https://github.com/orhun/git-cliff"> <a href="https://github.com/orhun/git-cliff">
@ -109,7 +110,7 @@ I'm happy to announce that I will be talking about `git-cliff` at [**RustLab 202
<center> <center>
**<https://rustlab.it/talks/turning-git-commits-into-changelog-with-git-cliff>** **[https://rustlab.it/talks/turning-git-commits-into-changelog-with-git-cliff](https://rustlab.it/talks/turning-git-commits-into-changelog-with-git-cliff)**
</center> </center>
@ -119,7 +120,7 @@ I'm happy to announce that I will be talking about `git-cliff` at [**RustLab 202
- **Dates**: November 19th -> November 21th - **Dates**: November 19th -> November 21th
- **Location**: Florence, Italy - **Location**: Florence, Italy
- **Tickets**: <https://rustlab.it/tickets> - **Tickets**: [https://rustlab.it/tickets](https://rustlab.it/tickets)
## Contributions ## Contributions

View File

@ -2,7 +2,7 @@
// Note: type annotations allow type checking and IDEs autocompletion // Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require("prism-react-renderer").themes.github; const lightCodeTheme = require("prism-react-renderer").themes.github;
const darkCodeTheme = require("prism-react-renderer").themes.vsDark; const darkCodeTheme = require("prism-react-renderer").themes.dracula;
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
@ -143,7 +143,7 @@ const config = {
prism: { prism: {
theme: lightCodeTheme, theme: lightCodeTheme,
darkTheme: darkCodeTheme, darkTheme: darkCodeTheme,
additionalLanguages: ["yaml", "toml", "rust"], additionalLanguages: ["bash", "diff", "json", "yaml", "toml", "rust"],
}, },
}), }),
}; };

View File

@ -16,17 +16,17 @@
"typecheck": "tsc" "typecheck": "tsc"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "2.4.3", "@docusaurus/core": "3.0.1",
"@docusaurus/preset-classic": "2.4.3", "@docusaurus/preset-classic": "3.0.1",
"@mdx-js/react": "^2.3.0", "@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0", "clsx": "^2.0.0",
"prism-react-renderer": "^2.3.1", "prism-react-renderer": "^2.3.0",
"react": "^17.0.2", "react": "^18.2.0",
"react-dom": "^17.0.2" "react-dom": "^18.2.0"
}, },
"devDependencies": { "devDependencies": {
"@docusaurus/module-type-aliases": "3.0.1", "@docusaurus/module-type-aliases": "3.0.1",
"@tsconfig/docusaurus": "^2.0.2", "@docusaurus/tsconfig": "3.0.0",
"typescript": "^5.3.3" "typescript": "^5.3.3"
}, },
"browserslist": { "browserslist": {
@ -42,6 +42,6 @@
] ]
}, },
"engines": { "engines": {
"node": ">=16.14" "node": ">=18.0"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
// This file is not used in compilation. It is here just for a nice editor experience. // This file is not used in compilation. It is here just for a nice editor experience.
"extends": "@tsconfig/docusaurus/tsconfig.json", "extends": "@docusaurus/tsconfig",
"compilerOptions": { "compilerOptions": {
"baseUrl": "." "baseUrl": "."
} }

File diff suppressed because it is too large Load Diff