export const deps = {
    name: "deps",
    description: "Dependency audit — outdated packages, vulnerabilities, unused deps, missing peers",
    content: `Perform a comprehensive dependency audit.

## 1. Security Vulnerabilities
- Run \`npm audit\` or \`pnpm audit\`
- List all vulnerabilities by severity (critical, high, moderate, low)
- For each: package name, vulnerability, fix available?
- Run \`npm audit fix\` for safe auto-fixes (no breaking changes)
- List vulnerabilities that require manual intervention

## 2. Outdated Packages
- Run \`npm outdated\` or equivalent
- Categorize:
  - **CRITICAL**: Major versions behind on security-sensitive packages (next, react, supabase, auth libs)
  - **RECOMMENDED**: Minor/patch updates available
  - **OPTIONAL**: Major version updates that may have breaking changes
- For critical packages, check changelogs for breaking changes

## 3. Unused Dependencies
- Scan package.json dependencies
- For each, search the codebase for actual usage
- List packages that appear unused (no imports found)
- Check for packages only used in config files (postcss, tailwind plugins, etc.)

## 4. Missing Peer Dependencies
- Check for peer dependency warnings
- Ensure all required peers are installed

## 5. Duplicate Packages
- Check for multiple versions of the same package in node_modules
- List duplicates and which packages require them

## Output: DEPS-AUDIT.md

### Summary
- Vulnerabilities: X critical, X high, X moderate
- Outdated: X packages
- Unused: X packages (X KB potential savings)
- Missing peers: X

### Action Items (prioritized)
1. [CRITICAL] Update package-x to fix CVE-XXXX
2. [HIGH] Remove unused dep-y
...

### Safe to Auto-Fix
List commands that can be run safely:
\`\`\`bash
npm audit fix
npm update package-a package-b
npm uninstall unused-package
\`\`\``
};
//# sourceMappingURL=deps.js.map