feat: upgrade to version 2.0.0-alpha with mainstream dependencies

- Update application version to 2.0.0-alpha
- Update application name to 'Ambient Light Control'
- Upgrade Node.js requirement to >=22.0.0 (current LTS)
- Upgrade pnpm requirement to >=10.0.0 (current stable)
- Update all GitHub Actions workflows to use Node.js 22 and pnpm 10
- Update README.md with current version requirements
- Add comprehensive project metadata to package.json
- Remove obsolete src-tauri/src-tauri directory structure
- Update Cargo.toml with proper project information
This commit is contained in:
2025-07-09 20:05:38 +08:00
parent a49306517e
commit ca8d4a3d36
30 changed files with 87 additions and 172 deletions

View File

@ -56,12 +56,13 @@ A desktop application built with Tauri 2.0 for ambient light control, supporting
2. **Install Node.js and pnpm**
```bash
# Install Node.js (recommended using nvm)
# Install Node.js 22 LTS (recommended using nvm)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install node
nvm install 22
nvm use 22
# Install pnpm
npm install -g pnpm
# Install pnpm 10+
npm install -g pnpm@latest
```
3. **Install Tauri CLI**