feat: add monorepo configuration and shared packages structure

Root-level setup:
- package.json with Turborepo scripts
- pnpm-workspace.yaml for workspace management
- turbo.json for build pipeline
- Common config files (.nvmrc, .prettierrc, .editorconfig)

Shared packages (packages/):
- @manacore/shared-types - Common TypeScript types
- @manacore/shared-supabase - Unified Supabase client
- @manacore/shared-utils - Date, string, async utilities
- @manacore/shared-ui - React Native UI components (placeholder)

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-11-22 23:41:52 +01:00
parent e7f5f942f3
commit 2c58d03f63
23 changed files with 738 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{
"name": "@manacore/shared-ui",
"version": "0.1.0",
"private": true,
"description": "Shared React Native UI components for Manacore monorepo",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts"
},
"scripts": {
"type-check": "tsc --noEmit",
"clean": "rm -rf dist"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-native": ">=0.70.0"
},
"devDependencies": {
"@types/react": "^18.3.0",
"typescript": "^5.9.2"
}
}

View file

@ -0,0 +1,24 @@
/**
* Shared React Native UI components for Manacore monorepo
*
* This package will contain common UI components used across all mobile apps.
*
* Planned components:
* - Button
* - Text
* - Input
* - Card
* - Modal
* - Loading indicators
* - Icons
*/
// Placeholder export until components are migrated
export const SHARED_UI_VERSION = '0.1.0';
// Future exports will include:
// export { Button } from './components/Button';
// export { Text } from './components/Text';
// export { Input } from './components/Input';
// export { Card } from './components/Card';
// export { Modal } from './components/Modal';

View file

@ -0,0 +1,18 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2020"],
"jsx": "react-native",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"declaration": true,
"declarationMap": true,
"outDir": "./dist"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}