Commit 9cc0168
Update Website Dependencies and Add Automation Script (#179)
Summary:
## 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:**
```bash
# Update within semver ranges (minor/patch only)
./update_deps.sh
# Update to latest versions (including major)
./update_deps.sh --major
```
Pull Request resolved: #179
Reviewed By: srivatsan-ramesh
Differential Revision: D85090528
Pulled By: FindHao
fbshipit-source-id: 929b55e49aba761f8d57519116195de1fa9c49ed1 parent 89a72af commit 9cc0168
File tree
3 files changed
+412
-416
lines changed- website
- scripts
3 files changed
+412
-416
lines changed
0 commit comments