How ringcentral/juno works
Main Components (Building Blocks)
• Monorepo Structure: Represent the high-level repository as a container that holds multiple “packages” or modules.
⁃ juno-core – your main React UI components
⁃ juno-framer – Framer-specific component implementations with design tweaks
⁃ juno-storybook – Interactive Storybook instance including docs, live demos, MDX documentation, and theming examples
⁃ juno-test – Testing utilities and sample test runner modules
• Foundation and Themes: Include a node for the “foundation” layer (e.g. theming, styled-components integration, utility functions, global styles, and configuration files) that is referenced by the components packages.
Integration & Relationships
⁃ TypeScript configuration (tsconfig.json files) across packages
⁃ Build scripts (in the “scripts” folder, including bundling, releases, package generation, documentation conversion using typedoc-mdx)
⁃ Linting, testing (jest setup, setup files in tests folder) and type declaration generation
• Development Workflow & CI/CD: Optionally, add nodes for continuous integration (GitHub workflows) and versioning scripts (release automation) that ensure consistency across all packages.
Data Flow & Interaction Patterns
• Documentation & Demo: Illustrate how the Storybook package is used to provide interactive examples and serves as a living documentation layer that reads component stories and MDX docs from various packages.