Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 2.61 KB

File metadata and controls

81 lines (61 loc) · 2.61 KB

Knip Analysis Notes

This document explains intentionally "unused" dependencies and files reported by knip.

Unused Dependencies (Intentional)

These dependencies are kept for planned features:

Authentication & Authorization

  • @better-auth/drizzle-adapter (packages/api, packages/web, packages/db)
    • Planned for database-backed authentication
  • @simplewebauthn/server (packages/api)
    • Planned for WebAuthn/passkey support (server)
  • @simplewebauthn/browser (packages/web)
    • Planned for WebAuthn/passkey support (client)
  • better-auth (packages/db)
    • Authentication library for future features

UI Components (Future Use)

  • @radix-ui/react-accordion (packages/web)
    • For FAQ and collapsible sections
  • @radix-ui/react-slot (packages/web)
    • Utility for component composition
  • class-variance-authority (packages/web)
    • For variant-based component styling

Content & Documentation

  • shiki (packages/web)
    • Syntax highlighting for code examples in blog/docs

Drag & Drop (Mission Control)

  • @dnd-kit/core (packages/mission-control)
  • @dnd-kit/utilities (packages/mission-control)
    • Planned for drag-and-drop service configuration

Typography

  • @tailwindcss/typography (packages/mission-control)
    • Rich text rendering in mission control UI

Unused Dev Dependencies (Intentional)

Configuration & Tooling

  • dotenv (packages/api, packages/cli, packages/web)
    • Used in development scripts and testing
  • tailwindcss (packages/web, packages/mission-control)
    • Used via Tailwind v4 postcss plugin, but CLI might be needed
  • postcss (packages/web)
    • Required by tailwindcss postcss plugin

Unlisted Binaries

These are CLI tools used in package.json scripts:

  • detect-secrets - Security scanning (pre-commit hook)
  • pre-commit - Git hook framework
  • only-allow - Enforce pnpm usage (preinstall script)
  • dotenvx - Enhanced dotenv loader
  • rimraf - Cross-platform file deletion
  • tsx - TypeScript execution

Note: These binaries are installed globally or via npx, not as project dependencies.

Ignored Files

Files kept for future use:

  • *-alternative.tsx - Alternative UI implementations being evaluated
  • ui/accordion.tsx, ui/badge.tsx, etc. - Component library for future use
  • comparison-section.tsx - Planned comparison page
  • faq-section.tsx - Planned FAQ section
  • lib/tenant.ts - Multi-tenancy utilities for future

How to Update

When you start using any of these dependencies:

  1. Remove the corresponding entry from this document
  2. Update knip.config.ts if it was explicitly ignored
  3. Verify with pnpm check:deadcode

Last updated: March 9, 2026