npm.io
0.7.1 • Published 3d ago

@ttt-productions/audit-core

Licence
MIT
Version
0.7.1
Deps
0
Size
14 kB
Vulns
0
Weekly
0

TTT Packages

Shared packages for TTT Productions and Q-Sports applications.

Packages

Package Version Description
@ttt/ui-core - Shared UI components (shadcn/ui)
@ttt/auth-core - Authentication system with custom claims
@ttt/theme-core - Theme provider and CSS tokens
@ttt/firebase-helpers - Firestore and Storage utilities
@ttt/mobile-core - Mobile optimizations (iOS keyboard, viewport)
@ttt/monitoring-core - Sentry error tracking wrapper
@ttt/chat-core - Chat system with React Query

Installation

npm install @ttt/ui-core
npm install @ttt/auth-core
npm install @ttt/theme-core

Usage

import { Button, Dialog, Input } from '@ttt/ui-core';
import { useAuth } from '@ttt/auth-core';
import { ThemeProvider } from '@ttt/theme-core';

function App() {
  const { user } = useAuth();
  
  return (
    <ThemeProvider>
      <Button>Click me</Button>
    </ThemeProvider>
  );
}

Development

# Install dependencies
npm install

# Build all packages
npm run build

# Run tests
npm run test

# Type check
npm run typecheck

Publishing

Packages are automatically published to npm when tags are pushed:

# Bump version and publish
cd packages/ui-core
npm version patch  # or minor, major
git push --tags

License

MIT TTT Productions