Skip to content

Conversation

FindHao
Copy link
Member

@FindHao FindHao commented Oct 20, 2025

Overview

This PR updates the website's frontend dependencies to their latest versions and introduces an automated script to streamline future dependency updates across the project.

Branch: findhao/update_website_depedency
Target: main

Changes Summary

📦 Dependency Updates

Production Dependencies

  • @types/react-syntax-highlighter: ^15.5.7^15.5.13
  • react: ^19.0.0^19.2.0
  • react-dom: ^19.0.0^19.2.0
  • react-syntax-highlighter: ^15.5.0^15.6.6

Development Dependencies

  • @eslint/js: ^9.21.0^9.38.0
  • @tailwindcss/vite: ^4.1.14^4.1.15
  • @types/node: ^24.7.2^24.9.0
  • @types/react: ^19.0.10^19.2.2
  • @types/react-dom: ^19.0.4^19.2.2
  • eslint: ^9.21.0^9.38.0
  • eslint-plugin-react-refresh: ^0.4.19^0.4.24
  • postcss: ^8.5.3^8.5.6
  • tailwindcss: ^4.0.0^4.1.15
  • typescript: ^5.7.2^5.9.3
  • typescript-eslint: ^8.24.1^8.46.2
  • vite: ^7.1.10^7.1.11

🛠️ New Automation Script

Added website/scripts/update_deps.sh - a comprehensive dependency update script with the following features:

Usage:

# Update within semver ranges (minor/patch only)
./update_deps.sh

# Update to latest versions (including major)
./update_deps.sh --major

- Updated various dependencies in `package.json` and `package-lock.json` to their latest versions, including:
  - `@types/react-syntax-highlighter`, `react`, `react-dom`, `react-syntax-highlighter`
  - Development dependencies such as `@eslint/js`, `@tailwindcss/vite`, `@types/node`, `typescript`, and `vite`.
- Introduced a new script `update_deps.sh` to automate dependency updates, allowing for both minor/patch and major version updates across all `package.json` files in the project.
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 20, 2025
Copy link

meta-codesync bot commented Oct 20, 2025

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D85090528.

@FindHao FindHao marked this pull request as ready for review October 20, 2025 21:40
Copy link

meta-codesync bot commented Oct 21, 2025

@FindHao merged this pull request in 9cc0168.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants