shared-features — other project

shared-features is the NPM library every project in the portfolio imports instead of reinventing the same plumbing. It ships three production systems — version-aware feature flags, cross-product advertising campaigns with impression tracking, and in-app broadcasts/announcements — plus nine shared profile-data domains (contact, developer, social, address, payment, services, skills, testimonials, and more), all administered from one Firestore-backed console so a banner, ad, or toggle changes once and propagates everywhere. It builds dual ESM + CommonJS with full TypeScript declarations across six stable entry points, keeps React, Firebase, Radix UI, and Zustand as peer dependencies (zero bundling), and enforces a deprecate-before-remove contract so consuming apps never break on a minor bump. It is already a live dependency in ZTools and the developer portfolio, and its Capacitor-wrapped companion website ships 4-platform telemetry, Sentry, and a React ErrorBoundary.

Tech stack

  • TypeScript
  • React 19
  • Vite 8
  • Firebase
  • Radix UI
  • Zustand
  • CapacitorJS 8

Key features

  • Version-aware feature flags
  • Cross-promotion ad campaigns with impression tracking
  • In-app broadcasts & announcements
  • 9 shared profile-data domains
  • One Firestore admin console for all consuming apps
  • Dual ESM + CJS, 6 stable entry points
  • Deprecate-before-remove backward-compatibility contract

Category: other · Status: completed · Started: 2025-01 · Through: Present · Client: Open Source

Links: https://npmjs.com/package/shared-features · https://github.com/aoneahsan/shared-features

Tags: npm · package · feature-flags · in-app-notifications · react · firebase · reusable-infrastructure


Contact

Website: https://zaions.com
Email: aoneahsan@gmail.com
GitHub: github.com/aoneahsan
LinkedIn: linkedin.com/in/aoneahsan
RSS Feed: https://zaions.com/feed.xml
Sitemap: https://zaions.com/sitemap.xml
LLM Index: https://zaions.com/llms.txt