@almadar/orb 6.2.0 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/package.json +6 -6
  2. package/shells/orb-shell/packages/client/package-lock.json +227 -27
  3. package/shells/orb-shell/packages/server/package-lock.json +1 -0
  4. package/shells/almadar-shell/LICENSE +0 -72
  5. package/shells/almadar-shell/README.md +0 -25
  6. package/shells/almadar-shell/locales/en.json +0 -120
  7. package/shells/almadar-shell/package.json +0 -35
  8. package/shells/almadar-shell/packages/client/eslint.config.cjs +0 -23
  9. package/shells/almadar-shell/packages/client/index.html +0 -13
  10. package/shells/almadar-shell/packages/client/package.json +0 -61
  11. package/shells/almadar-shell/packages/client/postcss.config.js +0 -6
  12. package/shells/almadar-shell/packages/client/src/App.tsx +0 -84
  13. package/shells/almadar-shell/packages/client/src/config/firebase.ts +0 -37
  14. package/shells/almadar-shell/packages/client/src/features/auth/AuthContext.tsx +0 -139
  15. package/shells/almadar-shell/packages/client/src/features/auth/authService.ts +0 -83
  16. package/shells/almadar-shell/packages/client/src/features/auth/components/Login.tsx +0 -218
  17. package/shells/almadar-shell/packages/client/src/features/auth/components/ProtectedRoute.tsx +0 -27
  18. package/shells/almadar-shell/packages/client/src/features/auth/components/UserProfile.tsx +0 -68
  19. package/shells/almadar-shell/packages/client/src/features/auth/components/index.ts +0 -3
  20. package/shells/almadar-shell/packages/client/src/features/auth/index.ts +0 -13
  21. package/shells/almadar-shell/packages/client/src/features/auth/types.ts +0 -24
  22. package/shells/almadar-shell/packages/client/src/index.css +0 -35
  23. package/shells/almadar-shell/packages/client/src/main.tsx +0 -8
  24. package/shells/almadar-shell/packages/client/src/navigation/index.ts +0 -55
  25. package/shells/almadar-shell/packages/client/src/pages/index.ts +0 -12
  26. package/shells/almadar-shell/packages/client/tailwind-preset.cjs +0 -259
  27. package/shells/almadar-shell/packages/client/tailwind.config.js +0 -21
  28. package/shells/almadar-shell/packages/client/tsconfig.json +0 -33
  29. package/shells/almadar-shell/packages/client/vite.config.ts +0 -50
  30. package/shells/almadar-shell/packages/server/eslint.config.cjs +0 -19
  31. package/shells/almadar-shell/packages/server/package.json +0 -38
  32. package/shells/almadar-shell/packages/server/src/app.ts +0 -36
  33. package/shells/almadar-shell/packages/server/src/index.ts +0 -30
  34. package/shells/almadar-shell/packages/server/src/routes.ts +0 -11
  35. package/shells/almadar-shell/packages/server/src/types/express.d.ts +0 -15
  36. package/shells/almadar-shell/packages/server/tsconfig.json +0 -23
  37. package/shells/almadar-shell/packages/shared/package.json +0 -10
  38. package/shells/almadar-shell/packages/shared/src/index.ts +0 -2
  39. package/shells/almadar-shell/pnpm-lock.yaml +0 -8792
  40. package/shells/almadar-shell/pnpm-workspace.yaml +0 -2
  41. package/shells/almadar-shell/tsup.config.ts +0 -13
  42. package/shells/almadar-shell/turbo.json +0 -17
  43. package/shells/almadar-shell/vitest.config.ts +0 -8
  44. package/shells/almadar-shell-hono/LICENSE +0 -72
  45. package/shells/almadar-shell-hono/README.md +0 -25
  46. package/shells/almadar-shell-hono/locales/en.json +0 -120
  47. package/shells/almadar-shell-hono/package.json +0 -31
  48. package/shells/almadar-shell-hono/packages/client/eslint.config.cjs +0 -23
  49. package/shells/almadar-shell-hono/packages/client/index.html +0 -13
  50. package/shells/almadar-shell-hono/packages/client/package-lock.json +0 -9750
  51. package/shells/almadar-shell-hono/packages/client/package.json +0 -61
  52. package/shells/almadar-shell-hono/packages/client/postcss.config.js +0 -6
  53. package/shells/almadar-shell-hono/packages/client/src/App.tsx +0 -84
  54. package/shells/almadar-shell-hono/packages/client/src/config/firebase.ts +0 -37
  55. package/shells/almadar-shell-hono/packages/client/src/features/auth/AuthContext.tsx +0 -139
  56. package/shells/almadar-shell-hono/packages/client/src/features/auth/authService.ts +0 -83
  57. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/Login.tsx +0 -218
  58. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/ProtectedRoute.tsx +0 -27
  59. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/UserProfile.tsx +0 -68
  60. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/index.ts +0 -3
  61. package/shells/almadar-shell-hono/packages/client/src/features/auth/index.ts +0 -13
  62. package/shells/almadar-shell-hono/packages/client/src/features/auth/types.ts +0 -24
  63. package/shells/almadar-shell-hono/packages/client/src/index.css +0 -35
  64. package/shells/almadar-shell-hono/packages/client/src/main.tsx +0 -8
  65. package/shells/almadar-shell-hono/packages/client/src/navigation/index.ts +0 -55
  66. package/shells/almadar-shell-hono/packages/client/src/pages/index.ts +0 -12
  67. package/shells/almadar-shell-hono/packages/client/tailwind-preset.cjs +0 -259
  68. package/shells/almadar-shell-hono/packages/client/tailwind.config.js +0 -21
  69. package/shells/almadar-shell-hono/packages/client/tsconfig.json +0 -33
  70. package/shells/almadar-shell-hono/packages/client/vite.config.ts +0 -50
  71. package/shells/almadar-shell-hono/packages/server/eslint.config.cjs +0 -19
  72. package/shells/almadar-shell-hono/packages/server/package.json +0 -37
  73. package/shells/almadar-shell-hono/packages/server/src/app.ts +0 -31
  74. package/shells/almadar-shell-hono/packages/server/src/index.ts +0 -31
  75. package/shells/almadar-shell-hono/packages/server/src/routes.ts +0 -12
  76. package/shells/almadar-shell-hono/packages/server/src/serve.ts +0 -45
  77. package/shells/almadar-shell-hono/packages/server/tsconfig.json +0 -23
  78. package/shells/almadar-shell-hono/packages/shared/package.json +0 -25
  79. package/shells/almadar-shell-hono/packages/shared/src/index.ts +0 -2
  80. package/shells/almadar-shell-hono/packages/shared/tsconfig.json +0 -17
  81. package/shells/almadar-shell-hono/packages/shared/tsup.config.ts +0 -10
  82. package/shells/almadar-shell-hono/pnpm-lock.yaml +0 -9423
  83. package/shells/almadar-shell-hono/pnpm-workspace.yaml +0 -2
  84. package/shells/almadar-shell-hono/tsup.config.ts +0 -13
  85. package/shells/almadar-shell-hono/turbo.json +0 -17
  86. package/shells/almadar-shell-hono/vitest.config.ts +0 -8
@@ -1,36 +0,0 @@
1
- /**
2
- * Express Application Setup
3
- */
4
-
5
- import express, { type Express } from 'express';
6
- import cors from 'cors';
7
- import {
8
- env,
9
- logger,
10
- errorHandler,
11
- notFoundHandler,
12
- debugEventsRouter,
13
- } from '@almadar/server';
14
- import { registerRoutes } from './routes.js';
15
-
16
- export const app: Express = express();
17
-
18
- // Middleware
19
- app.use(cors({ origin: true, credentials: true }));
20
- app.use(express.json());
21
- app.use(express.urlencoded({ extended: true }));
22
-
23
- // Health check
24
- app.get('/health', (_req, res) => {
25
- res.json({ status: 'ok' });
26
- });
27
-
28
- // Debug event bus endpoints (dev-only, no-op in production)
29
- app.use('/api/debug', debugEventsRouter());
30
-
31
- // Register generated routes
32
- registerRoutes(app);
33
-
34
- // Error handling
35
- app.use(notFoundHandler);
36
- app.use(errorHandler);
@@ -1,30 +0,0 @@
1
- /**
2
- * Server Entry Point
3
- */
4
-
5
- import { initializeFirebase, env, logger } from '@almadar/server';
6
-
7
- // Initialize Firebase before anything else uses it
8
- initializeFirebase();
9
-
10
- import { app } from './app.js';
11
-
12
- const PORT = env.PORT || 3030;
13
-
14
- async function start(): Promise<void> {
15
- // Seed mock data when USE_MOCK_DATA is enabled
16
- if (env.USE_MOCK_DATA) {
17
- try {
18
- const { initializeMockData } = await import(/* @vite-ignore */ './seedMockData.js' as string);
19
- await initializeMockData();
20
- } catch {
21
- logger.warn('seedMockData.ts not found — skipping mock data seeding');
22
- }
23
- }
24
-
25
- app.listen(PORT, () => {
26
- logger.info(`Server running on port ${PORT}`);
27
- });
28
- }
29
-
30
- start();
@@ -1,11 +0,0 @@
1
- /**
2
- * Route Registration
3
- *
4
- * Compiler generates route registration code here.
5
- */
6
-
7
- import type { Express } from 'express';
8
-
9
- export function registerRoutes(app: Express): void {
10
- // {{GENERATED_ROUTE_REGISTRATION}}
11
- }
@@ -1,15 +0,0 @@
1
- declare global {
2
- namespace Express {
3
- interface Request {
4
- firebaseUser?: {
5
- uid: string;
6
- email?: string;
7
- name?: string;
8
- picture?: string;
9
- [key: string]: unknown;
10
- };
11
- }
12
- }
13
- }
14
-
15
- export {};
@@ -1,23 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "ESNext",
5
- "moduleResolution": "bundler",
6
- "outDir": "./dist",
7
- "strict": true,
8
- "strictNullChecks": false,
9
- "esModuleInterop": true,
10
- "skipLibCheck": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "declaration": true,
13
- "declarationMap": true,
14
- "baseUrl": ".",
15
- "paths": {
16
- "@/*": ["./src/*"],
17
- "@app/shared": ["../shared/src/index.ts"],
18
- "@app/shared/*": ["../shared/src/*"]
19
- }
20
- },
21
- "include": ["src"],
22
- "exclude": ["node_modules", "dist", "src/**/__tests__/**", "src/**/*.test.ts", "src/**/*.spec.ts"]
23
- }
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@app/shared",
3
- "version": "1.0.0",
4
- "private": true,
5
- "main": "src/index.ts",
6
- "types": "src/index.ts",
7
- "dependencies": {
8
- "zod": "^3.22.0"
9
- }
10
- }
@@ -1,2 +0,0 @@
1
- // Placeholder — the compiler generates actual shared types here.
2
- export {};