mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 17:39:40 +02:00
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:
parent
e7f5f942f3
commit
2c58d03f63
23 changed files with 738 additions and 0 deletions
23
packages/shared-ui/package.json
Normal file
23
packages/shared-ui/package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
24
packages/shared-ui/src/index.ts
Normal file
24
packages/shared-ui/src/index.ts
Normal 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';
|
||||
18
packages/shared-ui/tsconfig.json
Normal file
18
packages/shared-ui/tsconfig.json
Normal 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"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue