feat: add multiple package sync sources and API integration

- Added undici dependency and implemented three package fetcher variants (simple text parsing, v2 with better error handling, and official repository sync)
- Integrated real API calls in PlatformSelector and PackageBrowser components with fallback to mock data
- Extended sync API route to support multiple data sources (debian-simple, ubuntu-simple, debian-official-v2, etc.) with platform initialization
This commit is contained in:
Yusuf İpek
2025-11-10 19:12:46 +03:00
parent 596bba0832
commit 08f35aedbc
25 changed files with 2152 additions and 102 deletions
+2 -1
View File
@@ -28,7 +28,8 @@
"tailwindcss-animate": "^1.0.7",
"react-query": "^3.39.3",
"zustand": "^4.4.7",
"pg": "^8.11.3"
"pg": "^8.11.3",
"undici": "^6.6.2"
},
"devDependencies": {
"typescript": "^5",