feat: add quality gate tools and Node 22 setup

- Add type-coverage, knip, and dependency-cruiser for code quality
- Set up Node 22 (LTS) with .nvmrc file
- Configure knip for dead code detection across monorepo
- Configure dependency-cruiser with sensible architecture rules
- Add ts-reset for better TypeScript built-in types
- Fix Tabs component type exports for Storybook
- Recreate eslint react.js config that was missing
- Add quality gates documentation

All quality checks pass with 0 errors (only informational warnings).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ajax Davis 2025-11-26 17:33:45 +10:00
parent 54f2c1a2d1
commit 378b068e38
11 changed files with 1292 additions and 141 deletions

View file

@ -1,12 +1,15 @@
import { cn } from "@tpmjs/utils/cn";
import { forwardRef } from "react";
import type { TabsProps } from "./types";
import type { Tab, TabsProps } from "./types";
import {
tabButtonVariants,
tabCountVariants,
tabsContainerVariants,
} from "./variants";
// Re-export types for consumers
export type { Tab, TabsProps };
/**
* Tabs component
*