@almadar/cli 1.6.8 → 1.7.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 (39) hide show
  1. package/package.json +6 -6
  2. package/shells/almadar-shell/LICENSE +21 -0
  3. package/shells/almadar-shell/README.md +25 -0
  4. package/shells/almadar-shell/package.json +28 -0
  5. package/shells/almadar-shell/packages/client/eslint.config.cjs +23 -0
  6. package/shells/almadar-shell/packages/client/index.html +13 -0
  7. package/shells/almadar-shell/packages/client/package.json +53 -0
  8. package/shells/almadar-shell/packages/client/postcss.config.js +6 -0
  9. package/shells/almadar-shell/packages/client/src/App.tsx +74 -0
  10. package/shells/almadar-shell/packages/client/src/config/firebase.ts +37 -0
  11. package/shells/almadar-shell/packages/client/src/features/auth/AuthContext.tsx +139 -0
  12. package/shells/almadar-shell/packages/client/src/features/auth/authService.ts +83 -0
  13. package/shells/almadar-shell/packages/client/src/features/auth/components/Login.tsx +218 -0
  14. package/shells/almadar-shell/packages/client/src/features/auth/components/ProtectedRoute.tsx +27 -0
  15. package/shells/almadar-shell/packages/client/src/features/auth/components/UserProfile.tsx +68 -0
  16. package/shells/almadar-shell/packages/client/src/features/auth/components/index.ts +3 -0
  17. package/shells/almadar-shell/packages/client/src/features/auth/index.ts +13 -0
  18. package/shells/almadar-shell/packages/client/src/features/auth/types.ts +24 -0
  19. package/shells/almadar-shell/packages/client/src/index.css +6 -0
  20. package/shells/almadar-shell/packages/client/src/main.tsx +10 -0
  21. package/shells/almadar-shell/packages/client/src/navigation/index.ts +55 -0
  22. package/shells/almadar-shell/packages/client/src/pages/index.ts +12 -0
  23. package/shells/almadar-shell/packages/client/tailwind.config.js +12 -0
  24. package/shells/almadar-shell/packages/client/tsconfig.json +33 -0
  25. package/shells/almadar-shell/packages/client/vite.config.ts +49 -0
  26. package/shells/almadar-shell/packages/server/eslint.config.cjs +19 -0
  27. package/shells/almadar-shell/packages/server/package.json +37 -0
  28. package/shells/almadar-shell/packages/server/src/app.ts +36 -0
  29. package/shells/almadar-shell/packages/server/src/index.ts +30 -0
  30. package/shells/almadar-shell/packages/server/src/routes.ts +11 -0
  31. package/shells/almadar-shell/packages/server/src/types/express.d.ts +15 -0
  32. package/shells/almadar-shell/packages/server/tsconfig.json +23 -0
  33. package/shells/almadar-shell/packages/shared/package.json +10 -0
  34. package/shells/almadar-shell/packages/shared/src/index.ts +2 -0
  35. package/shells/almadar-shell/pnpm-lock.yaml +9642 -0
  36. package/shells/almadar-shell/pnpm-workspace.yaml +2 -0
  37. package/shells/almadar-shell/tsup.config.ts +13 -0
  38. package/shells/almadar-shell/turbo.json +17 -0
  39. package/shells/almadar-shell/vitest.config.ts +8 -0
@@ -0,0 +1,2 @@
1
+ packages:
2
+ - 'packages/*'
@@ -0,0 +1,13 @@
1
+ import { defineConfig } from 'tsup';
2
+
3
+ export default defineConfig({
4
+ entry: ['src/index.ts'],
5
+ format: ['esm'],
6
+ dts: true,
7
+ clean: true,
8
+ sourcemap: false,
9
+ minify: true,
10
+ treeshake: true,
11
+ splitting: false,
12
+ outDir: 'dist',
13
+ });
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://turbo.build/schema.json",
3
+ "tasks": {
4
+ "dev": {
5
+ "cache": false,
6
+ "persistent": true
7
+ },
8
+ "build": {
9
+ "dependsOn": ["^build"],
10
+ "outputs": ["dist/**"]
11
+ },
12
+ "typecheck": {
13
+ "dependsOn": ["^typecheck"]
14
+ },
15
+ "lint": {}
16
+ }
17
+ }
@@ -0,0 +1,8 @@
1
+ import { defineConfig } from 'vitest/config';
2
+
3
+ export default defineConfig({
4
+ test: {
5
+ include: ['__tests__/**/*.test.ts', 'test/**/*.test.ts'],
6
+ globals: true,
7
+ },
8
+ });