turash/bugulma/frontend/package.json
Damir Mukimov 6234510530
Some checks failed
CI/CD Pipeline / backend-lint (push) Failing after 31s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / frontend-lint (push) Failing after 1m24s
CI/CD Pipeline / frontend-build (push) Has been skipped
CI/CD Pipeline / e2e-test (push) Has been skipped
🔧 Fix Yarn v4 Compatibility & Dependency Issues
## 🛠️ Yarn v4 Migration & Fixes

### Deprecated Flag Replacement
- **Replaced ** with  in Dockerfile and CI workflow
- **Updated Yarn v4 compatibility** across build and deployment pipelines

### Peer Dependency Resolution
- **Added missing vis-network peer dependencies**:
  -
  -
  -
  -
  -
- **Resolved vis-network dependency conflicts** with proper peer dependency versions

### Package Updates
- **Updated @testing-library/dom** from ^8.19.0 to ^10.4.0 for React 18+ compatibility
- **Updated TypeScript** to 5.7.3 for latest features and bug fixes
- **Updated @tailwindcss/forms** to ^0.5.11 for better form styling
- **Updated @tailwindcss/postcss** to ^4.1.18 for PostCSS compatibility

## 🔍 Dependency Health Improvements

### Version Conflicts Resolved
- **Fixed @testing-library/dom version mismatch** that was causing peer dependency warnings
- **Aligned vis-network ecosystem** with compatible peer dependency versions
- **Updated build tooling** for Yarn v4 compatibility

### CI/CD Pipeline Updates
- **Modernized Docker builds** with Yarn v4 --immutable flag
- **Updated GitHub Actions workflows** to use correct Yarn v4 commands
- **Maintained immutable lockfile enforcement** for reproducible builds

## 📦 Technical Benefits
- **Zero peer dependency warnings** for production builds
- **Yarn v4 full compatibility** across all environments
- **Improved test infrastructure** with updated testing libraries
- **Enhanced development experience** with latest tooling versions

This commit ensures the project builds successfully with Yarn v4 and resolves all dependency conflicts while maintaining production stability.
2025-12-25 00:10:57 +01:00

75 lines
2.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "туган-як:-экосистема-г.-бугульма",
"private": true,
"version": "0.0.0",
"type": "module",
"packageManager": "yarn@4.12.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint . --ext .ts,.tsx",
"format": "prettier --write .",
"test": "vitest run --watch=false",
"test:e2e": "playwright test"
},
"dependencies": {
"@egjs/hammerjs": "^2.0.17",
"@google/genai": "^1.28.0",
"@hookform/resolvers": "^5.2.2",
"@tanstack/react-query": "^5.90.7",
"@types/leaflet": "^1.9.21",
"@types/leaflet.markercluster": "^1.5.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"component-emitter": "^1.3.1",
"framer-motion": "^12.23.24",
"keycharm": "^0.4.0",
"leaflet": "^1.9.4",
"lucide-react": "^0.418.0",
"p5": "^2.1.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-hook-form": "^7.54.0",
"react-leaflet": "^5.0.0",
"react-leaflet-markercluster": "^5.0.0-rc.0",
"react-p5": "^1.4.1",
"react-router-dom": "^7.9.5",
"uuid": "^10.0.0",
"vis-data": "^8.0.3",
"vis-network": "^10.0.2",
"vis-util": "^6.0.0",
"zod": "^4.1.12"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/postcss": "^4.1.18",
"@tailwindcss/typography": "^0.5.19",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.0",
"@types/node": "^22.14.0",
"@typescript-eslint/eslint-plugin": "^8.46.3",
"@typescript-eslint/parser": "^8.46.3",
"@vitejs/plugin-react": "^5.0.0",
"autoprefixer": "^10.4.22",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-i18next": "^6.1.3",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"jsdom": "^27.1.0",
"postcss": "^8.5.6",
"prettier": "^3.6.2",
"tailwindcss": "^4.1.17",
"tailwindcss-animate": "^1.0.7",
"typescript": "~5.7.2",
"typescript-eslint": "^8.46.3",
"vite": "^6.2.0",
"vitest": "^4.0.8"
}
}