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 react-editor-js has had no registry activity since 2022-07-02 deps/stale · medium confidence package.json | package.json |
| Info | Info rehype has had no registry activity since 2024-09-27 deps/stale · medium confidence package.json | package.json |
| Info | Info rehype-slug has had no registry activity since 2023-11-20 deps/stale · medium confidence package.json | package.json |
| Info | Info remark has had no registry activity since 2024-10-22 deps/stale · medium confidence package.json | package.json |
| Info | Info rehype-autolink-headings has had no registry activity since 2023-11-20 deps/stale · medium confidence package.json | package.json |
| Info | Info @ampproject/remapping@2.2.1 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/code-frame@7.21.4 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/compat-data@7.21.4 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/core@7.21.4 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/generator@7.21.4 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-compilation-targets@7.21.4 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-environment-visitor@7.18.9 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-function-name@7.21.0 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-hoist-variables@7.18.6 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-module-imports@7.21.4 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-module-transforms@7.21.2 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-simple-access@7.20.2 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-split-export-declaration@7.18.6 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-string-parser@7.19.4 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-validator-identifier@7.19.1 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helper-validator-option@7.21.0 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/helpers@7.21.0 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/highlight@7.18.6 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/parser@7.21.4 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |
| Info | Info @babel/runtime@7.21.0 does not state its licence deps/license-unknown · low confidence pnpm-lock.yaml | pnpm-lock.yaml |