managarten/apps/picture/packages/mobile-ui/RENAME_CHANGELOG.md
Wuesteon d36b321d9d style: auto-format codebase with Prettier
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)
2025-11-27 18:33:16 +01:00

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.json with name @memoro/mobile-ui
  • Updated registry.json with 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 section
  • STATUS.md - Added target apps table
  • SUMMARY.md - Added compatibility notes
  • CLI.md - Added React Native-only warning
  • All packages/memoro-ui/packages/mobile-ui/ path references

3. New Documentation

  • MIGRATION.md - Migration guide and reasoning
  • MONOREPO_ARCHITECTURE.md - Framework compatibility architecture
  • RENAME_CHANGELOG.md - This file
  • packages/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:

  1. README.md
  2. STATUS.md
  3. SUMMARY.md
  4. CLI.md
  5. registry.json

Created:

  1. package.json
  2. MIGRATION.md
  3. MONOREPO_ARCHITECTURE.md
  4. RENAME_CHANGELOG.md
  5. ../README.md (packages directory)

Removed:

  1. ../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-tokens for 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.