@almadar/orb 4.0.0 → 4.0.1

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 (93) hide show
  1. package/README.md +57 -19
  2. package/bin/{almadar → orb} +30 -24
  3. package/package.json +10 -10
  4. package/scripts/postinstall.js +25 -15
  5. package/shells/almadar-shell/LICENSE +72 -21
  6. package/shells/almadar-shell/README.md +1 -1
  7. package/shells/almadar-shell/package.json +27 -6
  8. package/shells/almadar-shell/packages/client/eslint.config.cjs +34 -1
  9. package/shells/almadar-shell/packages/client/package.json +34 -26
  10. package/shells/almadar-shell/packages/client/src/App.tsx +26 -2
  11. package/shells/almadar-shell/packages/client/src/config/firebase.ts +23 -2
  12. package/shells/almadar-shell/packages/client/src/config/mockAuth.ts +257 -0
  13. package/shells/almadar-shell/packages/client/src/features/auth/AuthContext.tsx +16 -3
  14. package/shells/almadar-shell/packages/client/src/features/auth/authService.ts +28 -7
  15. package/shells/almadar-shell/packages/client/src/features/auth/components/PersonaSwitcher.tsx +50 -0
  16. package/shells/almadar-shell/packages/client/src/features/auth/components/ProtectedRoute.tsx +9 -0
  17. package/shells/almadar-shell/packages/client/src/features/auth/index.ts +2 -1
  18. package/shells/almadar-shell/packages/client/src/features/auth/types.ts +18 -2
  19. package/shells/almadar-shell/packages/client/src/index.css +4 -20
  20. package/shells/almadar-shell/packages/client/src/main.tsx +1 -3
  21. package/shells/almadar-shell/packages/client/tailwind-preset.cjs +259 -0
  22. package/shells/almadar-shell/packages/client/tailwind.config.js +21 -2
  23. package/shells/almadar-shell/packages/client/vite.config.ts +1 -0
  24. package/shells/almadar-shell/packages/server/eslint.config.cjs +4 -0
  25. package/shells/almadar-shell/packages/server/package.json +13 -8
  26. package/shells/almadar-shell/packages/server/pnpm-lock.yaml +4723 -0
  27. package/shells/almadar-shell/packages/server/src/app.ts +58 -3
  28. package/shells/almadar-shell/packages/server/src/hooks-providers.ts +11 -0
  29. package/shells/almadar-shell/packages/server/src/index.ts +41 -2
  30. package/shells/almadar-shell/packages/server/src/services/clients.ts +17 -0
  31. package/shells/almadar-shell/packages/server/src/sse.ts +20 -0
  32. package/shells/almadar-shell/packages/server/src/types/express.d.ts +3 -7
  33. package/shells/almadar-shell/packages/server/tsconfig.json +0 -1
  34. package/shells/almadar-shell/packages/shared/package.json +1 -0
  35. package/shells/almadar-shell/packages/shared/pnpm-lock.yaml +22 -0
  36. package/shells/almadar-shell/pnpm-lock.yaml +4110 -2183
  37. package/shells/almadar-shell-hono/LICENSE +72 -0
  38. package/shells/almadar-shell-hono/README.md +25 -0
  39. package/shells/almadar-shell-hono/locales/en.json +120 -0
  40. package/shells/almadar-shell-hono/package.json +37 -0
  41. package/shells/almadar-shell-hono/packages/client/eslint.config.cjs +23 -0
  42. package/shells/almadar-shell-hono/packages/client/index.html +13 -0
  43. package/shells/almadar-shell-hono/packages/client/package-lock.json +9750 -0
  44. package/shells/almadar-shell-hono/packages/client/package.json +61 -0
  45. package/shells/almadar-shell-hono/packages/client/postcss.config.js +6 -0
  46. package/shells/almadar-shell-hono/packages/client/src/App.tsx +81 -0
  47. package/shells/almadar-shell-hono/packages/client/src/config/firebase.ts +58 -0
  48. package/shells/almadar-shell-hono/packages/client/src/features/auth/AuthContext.tsx +144 -0
  49. package/shells/almadar-shell-hono/packages/client/src/features/auth/authService.ts +86 -0
  50. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/Login.tsx +218 -0
  51. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/ProtectedRoute.tsx +36 -0
  52. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/UserProfile.tsx +68 -0
  53. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/index.ts +3 -0
  54. package/shells/almadar-shell-hono/packages/client/src/features/auth/index.ts +13 -0
  55. package/shells/almadar-shell-hono/packages/client/src/features/auth/types.ts +24 -0
  56. package/shells/almadar-shell-hono/packages/client/src/index.css +35 -0
  57. package/shells/almadar-shell-hono/packages/client/src/main.tsx +8 -0
  58. package/shells/almadar-shell-hono/packages/client/src/navigation/index.ts +55 -0
  59. package/shells/almadar-shell-hono/packages/client/src/pages/index.ts +12 -0
  60. package/shells/almadar-shell-hono/packages/client/tailwind-preset.cjs +259 -0
  61. package/shells/almadar-shell-hono/packages/client/tailwind.config.js +24 -0
  62. package/shells/almadar-shell-hono/packages/client/tsconfig.json +33 -0
  63. package/shells/almadar-shell-hono/packages/client/vite.config.ts +50 -0
  64. package/shells/almadar-shell-hono/packages/server/eslint.config.cjs +19 -0
  65. package/shells/almadar-shell-hono/packages/server/package.json +38 -0
  66. package/shells/almadar-shell-hono/packages/server/pnpm-lock.yaml +4665 -0
  67. package/shells/almadar-shell-hono/packages/server/src/app.ts +70 -0
  68. package/shells/almadar-shell-hono/packages/server/src/hooks-providers.ts +11 -0
  69. package/shells/almadar-shell-hono/packages/server/src/index.ts +70 -0
  70. package/shells/almadar-shell-hono/packages/server/src/routes.ts +12 -0
  71. package/shells/almadar-shell-hono/packages/server/src/serve.ts +47 -0
  72. package/shells/almadar-shell-hono/packages/server/src/services/clients.ts +17 -0
  73. package/shells/almadar-shell-hono/packages/server/src/sse.ts +20 -0
  74. package/shells/almadar-shell-hono/packages/server/tsconfig.json +22 -0
  75. package/shells/almadar-shell-hono/packages/shared/package.json +25 -0
  76. package/shells/almadar-shell-hono/packages/shared/pnpm-lock.yaml +919 -0
  77. package/shells/almadar-shell-hono/packages/shared/src/index.ts +2 -0
  78. package/shells/almadar-shell-hono/packages/shared/tsconfig.json +17 -0
  79. package/shells/almadar-shell-hono/packages/shared/tsup.config.ts +10 -0
  80. package/shells/almadar-shell-hono/pnpm-lock.yaml +12532 -0
  81. package/shells/almadar-shell-hono/pnpm-workspace.yaml +2 -0
  82. package/shells/almadar-shell-hono/tsup.config.ts +13 -0
  83. package/shells/almadar-shell-hono/turbo.json +17 -0
  84. package/shells/almadar-shell-hono/vitest.config.ts +8 -0
  85. package/shells/orb-shell/README.md +1 -1
  86. package/shells/orb-shell/package.json +1 -1
  87. package/shells/orb-shell/packages/client/package-lock.json +11390 -0
  88. package/shells/orb-shell/packages/client/package.json +1 -1
  89. package/shells/orb-shell/packages/client/tailwind.config.js +1 -1
  90. package/shells/orb-shell/packages/server/package-lock.json +6323 -0
  91. package/shells/orb-shell/packages/shared/package-lock.json +24 -0
  92. package/shells/orb-shell/pnpm-lock.yaml +196 -10
  93. /package/shells/orb-shell/packages/client/{tailwind-preset.js → tailwind-preset.cjs} +0 -0
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@almadar/shell-hono-server",
3
+ "version": "1.0.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "tsx watch src/index.ts",
8
+ "build": "esbuild src/index.ts --bundle --platform=node --format=esm --packages=external --outfile=dist/index.js",
9
+ "start": "node dist/index.js",
10
+ "typecheck": "tsc --noEmit",
11
+ "lint": "eslint src/",
12
+ "test": "vitest run --passWithNoTests",
13
+ "test:watch": "vitest"
14
+ },
15
+ "dependencies": {
16
+ "@almadar/server-hono": "^0.4.13",
17
+ "@almadar/evaluator": "^2.45.0",
18
+ "@almadar/core": "^10.87.0",
19
+ "@almadar/integrations": "^2.33.0",
20
+ "hono": "^4.7.0",
21
+ "@hono/node-server": "^1.14.0",
22
+ "@hono/zod-validator": "^0.4.0",
23
+ "dotenv": "^16.4.7",
24
+ "firebase-admin": "^12.7.0",
25
+ "zod": "^3.22.0"
26
+ },
27
+ "devDependencies": {
28
+ "@almadar/eslint-plugin": "^2.18.0",
29
+ "@typescript-eslint/parser": "8.56.0",
30
+ "@types/bun": "^1.1.0",
31
+ "@types/node": "^20.17.19",
32
+ "eslint": "10.0.0",
33
+ "esbuild": "^0.25.0",
34
+ "tsx": "^4.19.3",
35
+ "typescript": "^5.7.3",
36
+ "vitest": "^2.1.9"
37
+ }
38
+ }