📝Doc:Refresh the dependency instructions for Python and Node.js in doc#3341
Merged
Conversation
…c, and solve the issue of version drift in Node.js for pipeline CL and Docker
Contributor
There was a problem hiding this comment.
Pull request overview
Updates developer-facing dependency documentation and aligns CI Node.js versions to reduce version drift across local development and pipelines.
Changes:
- Add a Node.js engine range to
frontend/package.json(Node >=20 and <23). - Update English and Chinese docs to reference Python 3.11+ and Node.js 20+.
- Bump GitHub Actions workflows from Node 18 to Node 20 for frontend checks and doc builds.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/package.json | Adds Node engine constraints for the frontend workspace. |
| doc/docs/zh/developer-guide/overview.md | Updates backend Python version reference in the Chinese developer overview. |
| doc/docs/zh/developer-guide/environment-setup.md | Updates common environment requirements (Python/Node) in Chinese docs. |
| doc/docs/zh/backend/overview.md | Updates backend Python version reference in the Chinese backend overview. |
| doc/docs/en/developer-guide/overview.md | Updates backend Python version reference in the English developer overview. |
| doc/docs/en/developer-guide/environment-setup.md | Updates common environment requirements (Python/Node) in English docs. |
| doc/docs/en/backend/overview.md | Updates backend Python version reference in the English backend overview. |
| AGENTS.md | Updates the backend section header to Python 3.11. |
| .github/workflows/auto-web-check-dev.yml | Updates CI Node.js version to 20 for frontend type checking. |
| .github/workflows/auto-build-doc-dev.yml | Updates CI Node.js version to 20 for doc builds. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ### 后端技术栈 | ||
| - **框架**: FastAPI | ||
| - **语言**: Python 3.10+ | ||
| - **语言**: Python 3.11+ |
|
|
||
| ### 🔧 后端开发 | ||
| - **技术栈**: FastAPI + Python 3.10+ + PostgreSQL + Redis + Elasticsearch | ||
| - **技术栈**: FastAPI + Python 3.11+ + PostgreSQL + Redis + Elasticsearch |
| ### Backend Tech Stack | ||
| - **Framework**: FastAPI | ||
| - **Language**: Python 3.10+ | ||
| - **Language**: Python 3.11+ |
|
|
||
| ### 🔧 Backend Development | ||
| - **Tech Stack**: FastAPI + Python 3.10+ + PostgreSQL + Redis + Elasticsearch | ||
| - **Tech Stack**: FastAPI + Python 3.11+ + PostgreSQL + Redis + Elasticsearch |
|
|
||
| - **框架**: FastAPI | ||
| - **语言**: Python 3.10+ | ||
| - **语言**: Python 3.11+ |
|
|
||
| - **Framework**: FastAPI | ||
| - **Language**: Python 3.10+ | ||
| - **Language**: Python 3.11+ |
Comment on lines
+11
to
+12
| - Python 3.11+ | ||
| - Node.js 20+ |
Comment on lines
+11
to
+12
| - Python 3.11+ | ||
| - Node.js 20+ |
| ## Developer Commands | ||
|
|
||
| ### Backend (Python 3.10) | ||
| ### Backend (Python 3.11) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refresh the dependency instructions for Python and Node.js in doc, and solve the issue of version drift in Node.js for pipeline CL and Docker