feat: initial monorepo setup with Turborepo, Next.js 16, and .ts-only components
- Set up Turborepo monorepo with pnpm workspaces - Configure shared configs (Biome, ESLint, Tailwind, TypeScript) - Create @tpmjs/ui package with .ts-only React components (Button, Card) - Create @tpmjs/utils package with utility functions - Create @tpmjs/types package with Zod schemas - Create @tpmjs/env package for environment validation - Set up Next.js 16 App Router application - Configure Storybook in separate package - Add GitHub Actions CI/CD workflows - Configure Changesets for versioning and publishing - Set up Lefthook pre-commit hooks - Add comprehensive documentation Key architecture decisions: - All React components use .ts extension with createElement (no JSX) - No barrel exports (index.ts) - direct imports required - Module boundaries enforced via ESLint - tsup for package builds with ESM + types - Tailwind CSS with shared design tokens 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
commit
bc2f4a01cf
9 changed files with 218 additions and 0 deletions
26
packages/storybook/styles/globals.css
Normal file
26
packages/storybook/styles/globals.css
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
--background: 0 0% 100%;
|
||||
--foreground: 222.2 84% 4.9%;
|
||||
--card: 0 0% 100%;
|
||||
--card-foreground: 222.2 84% 4.9%;
|
||||
--primary: 222.2 47.4% 11.2%;
|
||||
--primary-foreground: 210 40% 98%;
|
||||
--secondary: 210 40% 96.1%;
|
||||
--secondary-foreground: 222.2 47.4% 11.2%;
|
||||
--muted: 210 40% 96.1%;
|
||||
--muted-foreground: 215.4 16.3% 46.9%;
|
||||
--accent: 210 40% 96.1%;
|
||||
--accent-foreground: 222.2 47.4% 11.2%;
|
||||
--destructive: 0 84.2% 60.2%;
|
||||
--destructive-foreground: 210 40% 98%;
|
||||
--border: 214.3 31.8% 91.4%;
|
||||
--input: 214.3 31.8% 91.4%;
|
||||
--ring: 222.2 84% 4.9%;
|
||||
--radius: 0.5rem;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue