-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Docusaurus - Enable Docusaurus Faster on website #468
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ yarn-error.log | |
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
.idea |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,12 +47,12 @@ | |
], | ||
"packageManager": "[email protected]", | ||
"resolutions": { | ||
"@docusaurus/core": "3.0.0", | ||
"@docusaurus/module-type-aliases": "3.0.0", | ||
"@docusaurus/preset-classic": "3.0.0", | ||
"@docusaurus/theme-classic": "3.0.0", | ||
"@docusaurus/theme-common": "3.0.0", | ||
"@docusaurus/plugin-content-docs": "3.0.0", | ||
"@docusaurus/core": "3.6.0", | ||
"@docusaurus/module-type-aliases": "3.6.0", | ||
"@docusaurus/preset-classic": "3.6.0", | ||
"@docusaurus/theme-classic": "3.6.0", | ||
"@docusaurus/theme-common": "3.6.0", | ||
"@docusaurus/plugin-content-docs": "3.6.0", | ||
"@types/react": "18.2.37" | ||
}, | ||
"engines": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,17 @@ | |
"docusaurus": "docusaurus", | ||
"start": "docusaurus start", | ||
"build": "docusaurus build", | ||
"clear": "docusaurus clear", | ||
"swizzle": "docusaurus swizzle", | ||
"deploy": "docusaurus deploy", | ||
"serve": "docusaurus serve" | ||
}, | ||
"dependencies": { | ||
"@docusaurus/core": "^3.0.0", | ||
"@docusaurus/preset-classic": "^3.0.0", | ||
"@docusaurus/theme-classic": "^3.0.0", | ||
"@docusaurus/theme-common": "^3.0.0", | ||
"@docusaurus/core": "3.6.0", | ||
"@docusaurus/faster": "3.6.0", | ||
"@docusaurus/preset-classic": "3.6.0", | ||
"@docusaurus/theme-classic": "3.6.0", | ||
"@docusaurus/theme-common": "3.6.0", | ||
Comment on lines
+15
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Inconsistent Docusaurus dependency versions detected across packages The verification reveals version inconsistencies across different packages in the repository:
These inconsistencies could lead to compatibility issues. Consider:
🔗 Analysis chainVerify dependency version consistency Let's verify that all Docusaurus-related dependencies are consistently updated across the project to avoid version conflicts. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for inconsistent @docusaurus/* package versions across package.json files
# Find all package.json files
echo "Searching for @docusaurus/* dependencies in all package.json files:"
fd package.json --type f --exec sh -c '
echo "\nChecking {}"
cat {} | jq -r "
if has(\"dependencies\") then
.dependencies | to_entries[] |
select(.key | startswith(\"@docusaurus/\")) |
\"\(.key): \(.value)\"
else
empty
end
"
'
Length of output: 1111 |
||
"@easyops-cn/docusaurus-search-local": "workspace:*", | ||
"@mdx-js/react": "^3.0.0", | ||
"clsx": "^1.1.1", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Add documentation for experimental feature and its implications
The experimental feature is correctly configured and the required dependencies (@docusaurus/core and @docusaurus/faster v3.6.0) are properly installed. However, since there's no existing documentation about this experimental feature in the codebase, it's important to document its usage and implications.
🔗 Analysis chain
Document experimental feature and known limitations.
The experimental feature is correctly configured under the
future
namespace. However, given its experimental status and known limitations with Yarn PnP, consider adding comments to document:Add documentation comments above the configuration:
Let's verify if this experimental feature is documented in Docusaurus:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 113
Script:
Length of output: 325
Script:
Length of output: 6305