Просмотр исходного кода

chore(deps): bump tier-2 majors (eslint 10, day-picker 10, lucide 1.x, framer-motion 13) (#1028)

Tier 2 of #1020: globals 17, @vitejs/plugin-react 6, eslint 10 (+ react-hooks plugin 7.1.1, two no-useless-assignment adaptations), react-day-picker 10 (table -> month_grid), lucide-react 1.x, framer-motion 13.

Closes #1020
Nacho 2 месяцев назад
Родитель
Сommit
8347bad627
5 измененных файлов с 227 добавлено и 455 удалено
  1. 216 444
      app/package-lock.json
  2. 8 8
      app/package.json
  3. 1 1
      app/src/components/ui/calendar.tsx
  4. 1 1
      app/src/pages/Reports.tsx
  5. 1 1
      app/src/pages/Roaming.tsx

Разница между файлами не показана из-за своего большого размера
+ 216 - 444
app/package-lock.json


+ 8 - 8
app/package.json

@@ -42,14 +42,14 @@
     "cmdk": "^1.1.1",
     "date-fns": "^4.1.0",
     "embla-carousel-react": "^8.6.0",
-    "framer-motion": "^12.43.0",
+    "framer-motion": "^13.5.0",
     "i18next": "^26.4.2",
     "i18next-browser-languagedetector": "^8.2.1",
     "i18next-http-backend": "^4.0.2",
     "input-otp": "^1.5.0",
-    "lucide-react": "^0.562.0",
+    "lucide-react": "^1.49.0",
     "react": "^19.3.0",
-    "react-day-picker": "^9.13.0",
+    "react-day-picker": "^10.0.2",
     "react-dom": "^19.3.0",
     "react-hook-form": "^7.89.0",
     "react-i18next": "^17.0.15",
@@ -67,18 +67,18 @@
     "zod": "^4.6.5"
   },
   "devDependencies": {
-    "@eslint/js": "^9.39.1",
+    "@eslint/js": "^10.0.1",
     "@tailwindcss/postcss": "^4.3.3",
     "@types/node": "^24.19.0",
     "@types/react": "^19.3.0",
     "@types/react-dom": "^19.3.0",
     "@typescript/native": "npm:typescript@^7.0.2",
-    "@vitejs/plugin-react": "^5.2.0",
+    "@vitejs/plugin-react": "^6.1.1",
     "autoprefixer": "^10.6.1",
-    "eslint": "^9.39.1",
-    "eslint-plugin-react-hooks": "^7.0.1",
+    "eslint": "^10.11.0",
+    "eslint-plugin-react-hooks": "^7.1.1",
     "eslint-plugin-react-refresh": "^0.4.24",
-    "globals": "^16.5.0",
+    "globals": "^17.13.0",
     "postcss": "^8.5.28",
     "tailwindcss": "^4.3.3",
     "tw-animate-css": "^1.4.0",

+ 1 - 1
app/src/components/ui/calendar.tsx

@@ -88,7 +88,7 @@ function Calendar({
             : "rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",
           defaultClassNames.caption_label
         ),
-        table: "w-full border-collapse",
+        month_grid: "w-full border-collapse",
         weekdays: cn("flex", defaultClassNames.weekdays),
         weekday: cn(
           "text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",

+ 1 - 1
app/src/pages/Reports.tsx

@@ -203,7 +203,7 @@ export default function Reports() {
   const onTablistKeyDown = useCallback(
     (e: ReactKeyboardEvent<HTMLDivElement>) => {
       const idx = RANGE_TABS.indexOf(range)
-      let next = idx
+      let next: number
       if (e.key === 'ArrowRight') next = (idx + 1) % RANGE_TABS.length
       else if (e.key === 'ArrowLeft') next = (idx - 1 + RANGE_TABS.length) % RANGE_TABS.length
       else if (e.key === 'Home') next = 0

+ 1 - 1
app/src/pages/Roaming.tsx

@@ -463,7 +463,7 @@ export default function Roaming() {
   const onTablistKeyDown = useCallback(
     (e: ReactKeyboardEvent<HTMLDivElement>) => {
       const idx = TAB_IDS.indexOf(tab)
-      let next = idx
+      let next: number
       if (e.key === 'ArrowRight') next = (idx + 1) % TAB_IDS.length
       else if (e.key === 'ArrowLeft') next = (idx - 1 + TAB_IDS.length) % TAB_IDS.length
       else if (e.key === 'Home') next = 0

Некоторые файлы не были показаны из-за большого количества измененных файлов