This monorepo contains the following packages:
A smart logger wrapper for Firebase Functions that automatically switches between production and development logging modes.
- 🔄 Automatic Mode Switching between Firebase Functions logger and tslog
- 🎨 Beautiful Console Output with color-coded logs
- ⚙️ Configurable Log Levels via environment variables
- 🔌 Drop-in Replacement for standard logging interfaces
A pino-based logger for Firebase Functions that automatically switches between pretty output in development and forwards to the native firebase-functions logger in production.
- 🌲 Full Pino API with child loggers, bindings, and structured logging
- 🔄 Automatic Mode Switching between pino-pretty and Firebase logger
- 🎯 GCP Severity Mapping with range-based level support
- 📊 Structured JSON Logging compatible with GCP Cloud Logging
- ⚙️ Configurable Log Levels via environment variables
A comprehensive Sentry integration library for Firebase Functions (v1 and v2) that provides automatic error tracking, context enrichment, and performance monitoring.
- 🔧 Easy Sentry initialization with Firebase-specific integrations
- 📦 Wrapper functions for all Firebase Function types (v1 and v2)
- 🎯 Automatic error capture with unhandled exception tracking
- 📊 Performance monitoring with distributed tracing
- 🏷️ Automatic context enrichment (function name, version, event data)
npx nx g @nx/js:lib packages/pkg1 --publishable --importPath=@my-org/pkg1To version and release the library use
npx nx release --skip-publishPass --dry-run to see what would happen without actually releasing the library.