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 |
|---|---|---|
| Warning | Warning Unused dependency: prop-types knip/unused-dependency · medium confidence package.json:76 | package.json:76 |
| Warning | Warning Unused dependency: react-day-picker knip/unused-dependency · medium confidence package.json:78 | package.json:78 |
| Warning | Warning Unused dependency: react-editor-js knip/unused-dependency · medium confidence package.json:80 | package.json:80 |
| Warning | Warning Unused dependency: shiki knip/unused-dependency · medium confidence package.json:84 | package.json:84 |
| Warning | Warning @babel/helpers@7.21.0Transitive1 vulnerability · fixed in 7.26.10Pulled in by next@13.3.2-canary.13, and 5 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning @babel/runtime@7.21.0Transitive1 vulnerability · fixed in 7.26.10Pulled in by @editorjs/link@2.5.0, and 35 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning @opentelemetry/core@1.5.0Transitive1 vulnerability · fixed in 2.8.0Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning @protobufjs/utf8@1.1.0Transitive1 vulnerability · fixed in 1.1.1Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning ajv@6.12.6Transitive1 vulnerability · fixed in 6.14.0Pulled in by @typescript-eslint/parser@5.59.0, and 4 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning ajv@8.12.0Transitive1 vulnerability · fixed in 8.18.0Pulled in by @commitlint/cli@17.6.1
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning esbuild@0.17.18Transitive1 vulnerability · fixed in 0.25.0Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning estree-util-value-to-estree@1.3.0Transitive1 vulnerability · fixed in 3.3.3Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning fflate@0.7.4Transitive1 vulnerability · fixed in 0.7.5Pulled in by @vercel/og@0.0.21
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning follow-redirects@1.15.2Transitive3 vulnerabilities · fixed in 1.16.0Pulled in by postmark@3.0.15
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning html-janitor@2.0.4Transitive1 vulnerability · no fix availablePulled in by @editorjs/editorjs@2.26.5, and 1 other direct dependency
| pnpm-lock.yaml |
| Warning | Warning jose@4.14.1Transitive1 vulnerability · fixed in 4.15.5Pulled in by next-auth@4.22.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning micromatch@4.0.5Transitive1 vulnerability · fixed in 4.0.8Pulled in by contentlayer@0.3.1, and 7 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning postcss-selector-parser@6.0.10Transitive1 vulnerability · fixed in 6.1.5Pulled in by @tailwindcss/typography@0.5.9
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning postcss-selector-parser@6.0.11Transitive1 vulnerability · fixed in 6.1.5Pulled in by tailwindcss-animate@1.0.5, and 4 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning qs@6.11.1Transitive5 vulnerabilities · fixed in 6.16.1Pulled in by stripe@11.18.0
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning satori@0.0.44Transitive1 vulnerability · fixed in 0.33.5Pulled in by @vercel/og@0.0.21
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning uuid@8.3.2Transitive1 vulnerability · fixed in 11.1.1Pulled in by next-auth@4.22.1, and 3 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning word-wrap@1.2.3Transitive1 vulnerability · fixed in 1.2.4Pulled in by @typescript-eslint/parser@5.59.0, and 4 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning yaml@1.10.2Transitive1 vulnerability · fixed in 1.10.3Pulled in by contentlayer@0.3.1, and 5 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Warning | Warning Unknown value "theme('colors.popover.DEFAULT')" for property "background" stylelint/declaration-property-value-no-unknown styles/editor.css:11 | styles/editor.css:11 |