Project Update
Syncing Latest Code
bash
# Fetch latest changes
git fetch origin
git pull origin main
# Reinstall dependencies (in case of lockfile changes)
pnpm installDependency Updates
bash
# Check outdated dependencies
pnpm outdated -r
# Update all dependencies interactively
pnpm update -r --interactive --latestCleaning Cache
If you encounter build issues after updating, try cleaning the cache:
bash
# Clean all caches, node_modules, and dist
pnpm clean
# Full reinstall
pnpm reinstallHandling Breaking Changes
When updating major versions of dependencies:
- Check the UI framework migration guide (NutUI / Vant / Varlet)
- Review Vite release notes for breaking changes
- Test all three app variants after updating
- Update shared Vite config if plugin APIs changed