mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-20 09:53:40 +02:00
Applied formatting to 1487+ files using pnpm format:write - TypeScript/JavaScript files - Svelte components - Astro pages - JSON configs - Markdown docs 13 files still need manual review (Astro JSX comments)
3.2 KiB
3.2 KiB
Rename Changelog: @memoro/ui → @memoro/mobile-ui
Date: 2025-10-08 Completed: ✅ All changes applied
Summary
Renamed @memoro/ui to @memoro/mobile-ui to clarify that this library is React Native only and not compatible with web frameworks in the monorepo.
Changes Applied
1. Package & Directory ✅
- Renamed directory:
packages/memoro-ui/→packages/mobile-ui/ - Created
package.jsonwith name@memoro/mobile-ui - Updated
registry.jsonwith new name and framework field
2. Documentation Updates ✅
All documentation files updated with:
- New package name
- Framework compatibility warnings
- Updated all path references
Files updated:
README.md- Added framework compatibility sectionSTATUS.md- Added target apps tableSUMMARY.md- Added compatibility notesCLI.md- Added React Native-only warning- All
packages/memoro-ui/→packages/mobile-ui/path references
3. New Documentation ✅
MIGRATION.md- Migration guide and reasoningMONOREPO_ARCHITECTURE.md- Framework compatibility architectureRENAME_CHANGELOG.md- This filepackages/README.md- Overview of all packages
4. Cleanup ✅
- Removed empty
packages/ui/directory
Framework Compatibility Added
All documentation now clearly states:
Compatible:
- ✅ React Native (Expo) - Full support
- ✅ Mobile app (
@picture/mobile)
Not Compatible:
- ❌ SvelteKit (Web app)
- ❌ Astro (Landing page)
- ❌ Any web framework
CLI Usage (Updated)
# Old paths (no longer work)
node packages/memoro-ui/cli/bin/cli.js list
# New paths (current)
node packages/mobile-ui/cli/bin/cli.js list
Import Paths (Unchanged)
Component imports remain the same:
// Still works exactly the same
import { Button } from '@/components/ui/Button';
import { Text } from '@/components/ui/Text';
Breaking Changes
None. This is a rename only:
- Component code unchanged
- Component API unchanged
- Registry structure unchanged
- Import paths unchanged
Only documentation and package metadata updated.
Files Changed
Modified:
README.mdSTATUS.mdSUMMARY.mdCLI.mdregistry.json
Created:
package.jsonMIGRATION.mdMONOREPO_ARCHITECTURE.mdRENAME_CHANGELOG.md../README.md(packages directory)
Removed:
../ui/(empty directory)
Next Steps
Immediate
- Test CLI with new paths in mobile app
- Verify all 17 components still work
- Update any external references
Future
- Extract to
github.com/memoro/mobile-ui(separate repo) - Publish to GitHub Packages as
@memoro/mobile-ui - Consider creating
@memoro/design-tokensfor shared styling
Verification Checklist
- Directory renamed successfully
- All documentation updated
- All path references corrected
- CLI paths updated
- Framework compatibility documented
- Migration guide created
- Architecture documented
- Empty directories cleaned up
Status
✅ COMPLETE - All changes applied successfully.
The package is now correctly scoped as React Native-only and clearly documented for use in the monorepo.