Update package dependencies and documentation for Node.js version compatibility

- Bump `laravel-vite-plugin` to version 2.0.0 and `vite` to version 7.0.4 in `package-lock.json`.
- Update Node.js requirement from 18+ to 22+ in setup and installation documentation to reflect compatibility changes.
- Remove unused imports in `app-sidebar.tsx` to streamline the component.
This commit is contained in:
Yury Pikhtarev 2025-07-16 22:34:36 +04:00
commit c959b35a7b
No known key found for this signature in database
4 changed files with 1364 additions and 1030 deletions

View file

@ -12,7 +12,7 @@ This guide will help you set up a local development environment for TorrentPier.
- Git
- PHP 8.4+
- Composer
- Node.js 18+
- Node.js 22+
- MySQL/PostgreSQL
- Redis (optional)

View file

@ -12,7 +12,7 @@ Before installing TorrentPier, ensure your server meets these requirements:
- **PHP** 8.4 or higher
- **MySQL** 8.0+ / PostgreSQL 15+ / SQLite 3.8.8+ / SQL Server 2017+
- **Node.js** 18.0 or higher
- **Node.js** 22.0 or higher
- **Composer** 2.0 or higher
- **Redis** (optional, for caching and queues)

2388
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@ import { NavUser } from '@/components/nav-user';
import { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuItem } from '@/components/ui/sidebar';
import { type NavItem } from '@/types';
import { Link } from '@inertiajs/react';
import { BookOpen, Folder, LayoutGrid, Settings } from 'lucide-react';
import { LayoutGrid, Settings } from 'lucide-react';
import AppLogo from './app-logo';
const mainNavItems: NavItem[] = [