How oblique-bit/oblique works
• CLI
• Design System
• Oblique (the core library)
• Sandbox (and Sandbox SSR for server‐side rendering demos)
• SDS (likely a separate design system sample or component library)
• Service Navigation Web Component
Main Components and Their Roles
• CLI: Provides command-line library features (with its own source code, tests, and release scripts). Indicate that it is an executable tool layered on top of the shared libraries.
• Design System: Contains reusable UI components, demo components, and styling files. It may represent the core UI library that is consumed by demo apps.
• Oblique Core Library: This is a large package with numerous sub-folders (e.g., “src/lib/…”). It exposes components, directives, pipes, and utilities. It might also implement various Angular modules.
• Sandbox & Sandbox SSR: These are demonstration/demonstrative implementations that likely act as a testing ground or a live sample for the libraries; one is traditional while the SSR version is for server-side rendering.
• SDS: Another package likely containing either additional or alternate design system implementations (with its own schematics and build configuration).
• Service Navigation Web Component: A self-contained Angular-based web component to provide service navigation features, possibly intended for integration into other systems.
• Additional shared scripts, configuration (e.g., Jenkinsfile, GitHub workflows, linting, formatting) that support the build and CI/CD processes.
Dependencies and Interactions
– The CLI may depend on the Oblique core library and shared utilities.
– The Sandbox, Sandbox SSR, and SDS packages are likely consumer/demo applications that use components from both the Design System and the Oblique Core Library.
– The Service Navigation Web Component is a standalone component that can be integrated into external projects but also leverages similar internal utilities.
• That many packages share testing configurations, linting, storybook or release scripts (evidenced by similar “scripts” folders and configuration files) – optionally indicate a “Build & CI/CD Infrastructure” module that interacts with each package.
Architectural Patterns & Design Principles
• Separation of concerns: core libraries (Oblique, Design System) are distinct from demonstration applications (Sandbox, Sandbox SSR) and from tooling (CLI).
• Modularity: Each package has its own build configuration (e.g., separate tsconfig files, Dockerfiles, eslint/jest configurations) even though they all reside in a single repository.
• The use of schematics (notably in the Oblique and SDS packages) indicates a design for ease of integration and extensibility – you could mark an “Extension / Schematics” area.
• Many packages have corresponding Dockerfiles and CI configurations (Jenkinsfile, GitHub workflows) illustrating a robust automated build/test & deployment pipeline. Indicate a “DevOps/CI/CD” layer that hooks into these modules.