Check each one before you remove it
Knip finds these from the entry points Agnes works out for the repository. Code loaded by name, by a tool's config, by tests or from outside the repository looks unused too, and removing it breaks the app.
git rm -- \ 'app/api/auth/[...nextauth]/_route.ts' \ components/ui/accordion.tsx \ components/ui/aspect-ratio.tsx \ components/ui/badge.tsx \ components/ui/calendar.tsx \ components/ui/checkbox.tsx \ components/ui/collapsible.tsx \ components/ui/command.tsx \ components/ui/context-menu.tsx \ components/ui/dialog.tsx \ components/ui/hover-card.tsx \ components/ui/menubar.tsx \ components/ui/navigation-menu.tsx \ components/ui/popover.tsx \ components/ui/progress.tsx \ components/ui/radio-group.tsx \ components/ui/scroll-area.tsx \ components/ui/select.tsx \ components/ui/separator.tsx \ components/ui/sheet.tsx \ components/ui/slider.tsx \ components/ui/switch.tsx \ components/ui/tabs.tsx \ components/ui/textarea.tsx \ components/ui/toggle.tsx \ components/ui/tooltip.tsx
components/icons.tsx: type Icon components/pager.tsx: getPagerForDoc, flatten components/sidebar-nav.tsx: DocsSidebarNavItems components/ui/alert-dialog.tsx: AlertDialogTrigger components/ui/dropdown-menu.tsx: DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup components/ui/input.tsx: type InputProps components/ui/toast.tsx: ToastAction components/ui/use-toast.ts: reducer
| Severity | Finding | Location |
|---|---|---|
| Info | Info @esbuild/linux-ia32@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-loong64@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-loong64@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-mips64el@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-mips64el@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-ppc64@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-ppc64@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-riscv64@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-riscv64@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-s390x@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-s390x@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-x64@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/linux-x64@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/netbsd-x64@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/netbsd-x64@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/openbsd-x64@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/openbsd-x64@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/sunos-x64@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/sunos-x64@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/win32-arm64@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/win32-arm64@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/win32-ia32@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/win32-ia32@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/win32-x64@0.17.18 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @esbuild/win32-x64@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |