Libraries
Documentation for Developers
Libraries Documentation
📋 Library Management Guides
Creating Libraries
- Adding New Libraries - Complete guide for creating new libraries from scratch
- Library Dependencies - Managing dependencies between libraries
- Imports & Exports - Import resolution and export patterns
- ⭐ Public-API to Index Migration - ✅ Completed migration summary
- ⭐ Storage Consolidation - ✅ Storage library unification (Oct 21, 2025)
- ⭐ Systematic Update Complete - ✅ Complete update summary (Oct 21, 2025)
Converting Apps to Libraries
- App-to-Library Conversion - Complete manual conversion guide
- Conversion Automation - Automated scripts and tools
- Required Files for Conversion - Technical file requirements
Architecture Integration
- GoGrab Space Migration - Real-world example of app-to-library migration
- Monorepo Best Practices - Overall monorepo architecture patterns
🎯 Quick Start
Need to Convert an Existing App to a Library?
- Read: App-to-Library Conversion for the complete process
- Use: Conversion Automation for automated scripts
- Follow: Required Files checklist
Need to Create a New Library?
- Follow: Adding New Libraries step-by-step guide
- Reference: Library Dependencies for proper architecture
- Check: Imports & Exports for common issues
🔧 Common Patterns
Library Types
- Core Libraries: Foundation libraries (types, utilities)
- UI Libraries: Reusable components and styling
- Feature Libraries: Complete feature modules
- Service Libraries: Business logic and data management
Conversion Use Cases
- Monorepo Consolidation: Converting multiple apps into unified architecture
- Feature Extraction: Moving app features to reusable libraries
- Code Sharing: Making app-specific code available to other applications
- Architecture Migration: Transitioning to micro-frontend patterns
This documentation provides comprehensive guidance for both creating new libraries and converting existing applications to libraries within our NX monorepo architecture.