Skip to content

Package Overview

ziegel consists of multiple specialized packages designed to work together seamlessly. Each package serves a specific purpose and can be used independently or as part of a larger ecosystem.

Package Categories

🏗️ Foundation Packages

PackageDescriptionKey Features
@breadstone/ziegel-coreEssential utilities and base typesString extensions, type guards, exceptions, utilities
@breadstone/ziegel-dataData manipulation and validationData validation, transformation, querying

🔧 Platform Services

PackageDescriptionKey Features
@breadstone/ziegel-platformCore platform servicesDependency injection, service location, culture management
@breadstone/ziegel-platform-httpHTTP client and networkingHTTP interceptors, request/response handling, retry policies
@breadstone/ziegel-platform-loggingStructured logging frameworkMultiple log providers, structured logging, log levels
@breadstone/ziegel-platform-configurationConfiguration managementEnvironment-specific config, validation, hot-reload
@breadstone/ziegel-platform-cachingCaching strategiesMemory cache, distributed cache, cache policies
@breadstone/ziegel-platform-serializationData serializationJSON/XML serialization, custom serializers, binary formats
@breadstone/ziegel-platform-mappingObject mapping utilitiesEntity mapping, transformation, property mapping

🎨 Presentation Layer

PackageDescriptionKey Features
@breadstone/ziegel-presentationUI component foundationsBase components, styling utilities, theming
@breadstone/ziegel-platform-presentationAdvanced presentation servicesUI state management, responsive design, accessibility
@breadstone/ziegel-platform-navigationNavigation and routingRoute management, navigation guards, deep linking

🔬 Specialized Services

PackageDescriptionKey Features
@breadstone/ziegel-platform-analyticsAnalytics and trackingEvent tracking, user analytics, performance metrics
@breadstone/ziegel-platform-messagingEvent-driven messagingPub/sub patterns, message queues, event aggregation
@breadstone/ziegel-platform-localizationMulti-language supportResource management, culture switching, pluralization
@breadstone/ziegel-platform-transactionTransaction managementACID transactions, rollback, state management
@breadstone/ziegel-platform-translationAI-powered translationOpenAI integration, batch translation, multiple modes

🌐 Internationalization

PackageDescriptionKey Features
@breadstone/ziegel-intlCore internationalizationNumber/date formatting, locale management
@breadstone/ziegel-intl-commerceCommerce-specific i18nCurrency formatting, tax calculations, pricing
@breadstone/ziegel-intl-unitsUnit conversion and formattingMeasurement units, conversions, localized formatting

🔌 Framework Integrations

PackageDescriptionKey Features
@breadstone/ziegel-reduxRedux integration utilitiesAction creators, reducers, middleware
@breadstone/ziegel-rxRxJS extensions and operatorsCustom operators, reactive utilities, stream handling

Installation Matrix

Choose the packages you need based on your requirements:

Minimal Setup (Basic TypeScript utilities)

bash
npm install @breadstone/ziegel-core

Web Application Starter

bash
npm install @breadstone/ziegel-core @breadstone/ziegel-platform @breadstone/ziegel-platform-http @breadstone/ziegel-platform-logging

Full Platform (Enterprise applications)

bash
npm install @breadstone/ziegel-core @breadstone/ziegel-platform @breadstone/ziegel-platform-http @breadstone/ziegel-platform-logging @breadstone/ziegel-platform-configuration @breadstone/ziegel-platform-caching @breadstone/ziegel-platform-serialization @breadstone/ziegel-presentation

Internationalization Suite

bash
npm install @breadstone/ziegel-intl @breadstone/ziegel-intl-commerce @breadstone/ziegel-intl-units @breadstone/ziegel-platform-localization

Package Dependencies

Understanding package dependencies helps you make informed decisions:

mermaid
graph LR
    Core[ziegel-core] --> Platform[ziegel-platform]
    Core --> Data[ziegel-data]
    Core --> Presentation[ziegel-presentation]
    Core --> Intl[ziegel-intl]
    Core --> Redux[ziegel-redux]
    Core --> Rx[ziegel-rx]

    Platform --> PlatformHttp[platform-http]
    Platform --> PlatformLogging[platform-logging]
    Platform --> PlatformConfig[platform-configuration]
    Platform --> PlatformCaching[platform-caching]
    Platform --> PlatformAnalytics[platform-analytics]
    Platform --> PlatformMessaging[platform-messaging]
    Platform --> PlatformLocalization[platform-localization]
    Platform --> PlatformPresentation[platform-presentation]
    Platform --> PlatformNavigation[platform-navigation]

    Core --> PlatformTransaction[platform-transaction]
    Core --> PlatformTranslation[platform-translation]

    Intl --> IntlCommerce[intl-commerce]
    Intl --> IntlUnits[intl-units]

Version Compatibility

All ziegel packages follow semantic versioning and are released together:

  • Major versions: Breaking changes across the ecosystem
  • Minor versions: New features, backward compatible
  • Patch versions: Bug fixes and improvements

Package Size Reference

Approximate bundle sizes (minified + gzipped):

PackageSizeTree-shakeable
ziegel-core~8KB
ziegel-platform~12KB
ziegel-platform-http~6KB
ziegel-platform-logging~4KB
ziegel-presentation~10KB
ziegel-intl~15KB

Support Matrix

PackageNode.jsTypeScriptBrowser
All packages18+4.8+ES2020+

Next Steps

Package Selection Guide

For Web Applications

  • Start with: ziegel-core, ziegel-platform
  • Add HTTP: ziegel-platform-http
  • Add logging: ziegel-platform-logging
  • For UI: ziegel-presentation

For Node.js Services

  • Start with: ziegel-core, ziegel-platform
  • Add config: ziegel-platform-configuration
  • Add logging: ziegel-platform-logging
  • For APIs: ziegel-platform-http

For Internationalized Apps

  • Base: ziegel-core, ziegel-intl
  • Localization: ziegel-platform-localization
  • Commerce: ziegel-intl-commerce
  • Translation: ziegel-platform-translation

For Data-Heavy Applications

  • Base: ziegel-core, ziegel-data
  • Caching: ziegel-platform-caching
  • Transactions: ziegel-platform-transaction
  • Analytics: ziegel-platform-analytics