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 @grpc/proto-loader@0.7.6 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @hookform/resolvers@3.1.0 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @next/swc-darwin-arm64@13.3.2-canary.13 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @next/swc-darwin-x64@13.3.2-canary.13 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @next/swc-linux-arm64-gnu@13.3.2-canary.13 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @next/swc-linux-arm64-musl@13.3.2-canary.13 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @next/swc-linux-x64-gnu@13.3.2-canary.13 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @next/swc-linux-x64-musl@13.3.2-canary.13 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @next/swc-win32-arm64-msvc@13.3.2-canary.13 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @next/swc-win32-ia32-msvc@13.3.2-canary.13 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @next/swc-win32-x64-msvc@13.3.2-canary.13 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @opentelemetry/api-metrics@0.31.0 is deprecated and pulled in indirectly: Please use @opentelemetry/api >= 1.3.0 deps/deprecated-indirect · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @opentelemetry/sdk-metrics-base@0.31.0 is deprecated and pulled in indirectly: Please use @opentelemetry/sdk-metrics deps/deprecated-indirect · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @prisma/client@4.13.0 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @prisma/engines@4.13.0 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info contentlayer@0.3.1 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info esbuild@0.17.18 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info fsevents@2.3.2 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info prisma@4.13.0 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info protobufjs@6.11.3 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info protobufjs@7.2.3 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info sharp@0.31.3 runs a script when it is installed deps/install-script · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/core@7.21.4Transitive1 vulnerability · fixed in 7.29.6Pulled in by next@13.3.2-canary.13, and 5 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Info | Info @grpc/grpc-js@1.8.14Transitive1 vulnerability · fixed in 1.13.6Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Info | Info axios@0.25.0Transitive1 vulnerability · fixed in 0.31.1Pulled in by postmark@3.0.15
Update Or pin it under
| pnpm-lock.yaml |