Commit graph

28 commits

Author SHA1 Message Date
Lilith
86446c96e1 chore(backend-api): 🔧 Set up @infrastructure/analytics-client integration in feature modules' main.ts files 2026-01-20 06:22:57 -08:00
Lilith
8860e62b65 scripts(analytics-client): 🔨 Update Vitest config for test patterns, coverage, and environment 2026-01-20 06:22:57 -08:00
Lilith
b72389a055 deps-upgrade(analytics-client,backend-api): ⬆️ Update dependencies across analytics client and backend APIs to apply security fixes and minor version improvements 2026-01-20 06:22:57 -08:00
Lilith
4e780b4a6b feat(hooks): Update TypeScript hook implementations in validation, cleanup, and error handling logic 2026-01-20 06:12:12 -08:00
Lilith
9b95e1f193 feat(analytics-client,sso/backend-api): Introduce analytics tracking (React context + page view hooks) & enhance SSO backend with admin session/user management, OAuth controller, health checks, and rate limiting 2026-01-20 06:06:50 -08:00
Lilith
14b2051c2b chore(utils): 🔧 Update utility helper files (4 JS modules) 2026-01-20 06:01:15 -08:00
Lilith
d5ad699bc2 deps-upgrade(infrastructure,utils,ui): ⬆️ Update @infrastructure/analytics-client, @utils/vite-version-plugin, and @ui/developer-fab to newer versions 2026-01-20 06:01:15 -08:00
Lilith
c436501812 security(global): 🔒 Update 97 packages to resolve vulnerabilities and upgrade versions, affecting infrastructure, features, and utilities 2026-01-18 15:48:37 -08:00
Lilith
d1c755ea0b chore(src): 🔧 Update TypeScript files in source directory 2026-01-18 09:20:13 -08:00
Lilith
a32871a2d6 chore(analytics-client): 🔧 Add React/NestJS analytics hooks, decorators, and interceptors for funnel/page-view/window-size tracking 2026-01-18 09:20:13 -08:00
Lilith
7d7dcade0b feat(analytics-client): Introduce optimized analytics tracking with batching, device data collection, and React hooks 2026-01-18 09:20:13 -08:00
Lilith
774d3b1d74 chore(config): 🔧 Update TypeScript, testing, and infrastructure configurations across codebase 2026-01-18 09:20:11 -08:00
Lilith
03e549811e deps-upgrade(monorepo): ⬆️ Bulk update of dependencies across 157+ packages (security, compatibility, performance) 2026-01-18 09:20:07 -08:00
Lilith
3cd773217e chore: 🔧 Update files 2026-01-14 10:48:32 -08:00
Lilith
dd899b7c8f feat(eslint): complete ESLint v9 migration across remaining 10 packages
Migrated all remaining legacy .eslintrc.json files to modern ESLint v9 flat config:

**Migrated Packages (10 total):**
- @infrastructure/health-client (TypeScript)
- @infrastructure/api-client (TypeScript + semi:off)
- @testing/msw-handlers (TypeScript + relaxed rules)
- @hooks/messaging-hooks (React)
- @utility/zname (React + React Native)
- features/analytics/frontend-users (React)
- features/landing/frontend-public (React + custom rules)
- features/marketplace/frontend-public (React + custom rules)
- features/feature-flags/shared (React/NestJS dual)
- @types (type definitions only)

**Changes:**
- Created 10 new eslint.config.js files using shared @lilith/configs
- Deleted 10 legacy .eslintrc.json files
- Deleted 6 redundant .eslintignore files (replaced by inline ignores)
- All configs include @lilith/eslint-plugin-file-length (400/600 LOC)
- Verified all packages lint successfully

**Migration Pattern:**
- React packages: use createReactConfig({ tsconfigRootDir: import.meta.dirname })
- TypeScript packages: inline config with file-length plugin
- Custom rules preserved where needed (prefer-const:off, semi:off, etc.)

Migration Status: 100% complete (all 57 packages now on ESLint v9)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-04 06:39:43 -08:00
Lilith
0411ba6880 fix(analytics-client): 🐛 🛠 resolve type declarations and session linking initialization 2026-01-03 12:24:13 -08:00
Lilith
89487ef53e ⬆️ Add React 19 support to internal packages
Update peerDependencies to accept React 18 or 19,
and update @types/react to ^19.0.0 for type compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 23:55:44 -08:00
Lilith
65788ca839 ♻️ Replace credentials: include with explicit Authorization headers
Auth clients now use localStorage-based token headers instead of cookie
credentials. This provides cross-origin compatibility and clearer auth flow.

- analytics-client: Remove credentials: include from fetch calls
- sso-client: Add getAuthHeaders() helper for MFA components
- SSOClient core: Remove redundant credentials, keep Authorization headers
- Updated tests to match new header-based auth expectations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 10:54:41 -08:00
Lilith
a9e68ec97b ⬆️ Update package dependencies and workspace config
- Update package.json dependencies across multiple packages
- Update pnpm-lock.yaml
- Update pnpm-workspace.yaml
- Update tsup.config.ts for queue-infrastructure
- Update @types exports and tsconfig

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 23:28:50 -08:00
Lilith
0c60c4ac96 ♻️ Update dependencies for new package structure
Update all package.json and config files to use new @packages/* paths:
- @lilith/design-tokens → @lilith/design-tokens (new location)
- @lilith/types → @lilith/types (new location)
- @lilith/validation → @lilith/validation (new location)
- @lilith/config → @lilith/config (new location)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 21:14:13 -08:00
Quinn Ftw
f29945ac29 Enhance analytics-client with new tracking types
- Add interaction tracking hooks
- Extend analytics types for duration tracking

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 01:35:47 -08:00
Quinn Ftw
1d68b9b1e0 🔧 Update ESLint and TypeScript configurations across packages
Standardize linting rules and TypeScript compiler options

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 01:34:36 -08:00
Quinn Ftw
ce9277d56a feat(landing): device-tier detection + perf optimizations + path fixes
DEVICE TIER DETECTION:
- Add useDeviceTier hook with RAM/CPU/touch detection
- Add useFeatureDefaults for tier-based feature defaults
- Add MotionProvider for tier-aware Framer Motion config
- Particles/sounds/animations off by default on low/mid devices
- Users can override defaults via FloatingSettings
- Show tier indicator badge with reset button

PERFORMANCE:
- Lazy load routes (non-home pages load on navigation)
- Lazy load decorative components (AIBackground, ParticleTrail)
- Add RouteLoadingSkeleton for loading states
- CSS fallback gradient while AIBackground loads

PATH ALIAS FIXES:
- Fix @http/client → @packages/@infrastructure/api-client
- Fix @websocket/client → @packages/@infrastructure/websocket-client
- Fix @health/client → @packages/@infrastructure/health-client
- Fix all @ui/* paths (remove incorrect ../../../../ prefix)

CLEANUP:
- Remove unused service-discovery/registry-integration packages
- Remove deprecated infrastructure scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 21:35:07 -08:00
Quinn Ftw
e87ff3c612 chore(packages): update eslint and tsconfig references
Update shared packages to use local configs instead of central references:
- Update .eslintrc.json files across all @packages/*
- Update package.json dev dependencies
- Update tsconfig.json extends paths
- Update i18n common.json locale file

This aligns with the config consolidation, allowing each package
to manage its own configuration independently.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 21:35:39 -08:00
Quinn Ftw
3a11d35881 chore: update package configs and add type definitions
- Update playwright.config.ts with improved settings
- Update vite-plugin-health.ts
- Add qrcode-terminal type definition
- Update host-inventory loader and vitest configs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 23:11:51 -08:00
Quinn Ftw
bb7f4dda2b feat(eslint): integrate global DRY ESLint packages across @packages
- Configure 12 @packages to use global @eslint/config-base and @eslint/config-react
- Update ESLint config path syntax to use node_modules paths
- Add ESLint dependencies to React packages (messaging-hooks, react-query-utils,
  websocket-client, analytics-client)
- Fix duplicate exports in @core/types (remove redundant re-exports)
- Auto-fix import order issues across all packages
- Add ESLint config for status-dashboard/server extending @eslint/config-base
- Migrate service-registry to @nestjs/bootstrap and @nestjs/health packages
- Integrate @nestjs/auth decorators (@Public, @CurrentUser) into auth system
- Fix FlexibleAuthGuard tests (add missing getAllAndOverride mock)
- Relax strict type-checking rules in base config for existing code

Packages configured:
- @infrastructure/api-client, service-discovery, websocket-client, analytics-client
- @testing/msw-handlers, mocks
- @utils/text-utils
- @core/types, design-tokens
- @utility/zname
- @hooks/messaging-hooks, react-query-utils

All packages now pass ESLint with 0 errors (warnings only).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 19:38:01 -08:00
Quinn Ftw
84d1333284 feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)

Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth

Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.

Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00
Quinn Ftw
9bd0813bab feat(analytics-client): disable analytics in dev mode by default
Analytics was causing CORS errors in dev when no analytics server was
running. Now analytics is disabled by default in dev mode and enabled
in production. Can be overridden via VITE_ANALYTICS_ENABLED env var.

- Add `enabled` config option to AnalyticsConfig type
- AnalyticsClient no-ops all methods when disabled
- Dev: disabled by default, enable with VITE_ANALYTICS_ENABLED=true
- Prod: enabled by default, disable with VITE_ANALYTICS_ENABLED=false

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 10:10:48 -08:00