Mirror of github.com/Memo-2023/mana-monorepo
Find a file
Till-JS af8bb9bcb0 fix(wisekeep): improve auth flow and redirect handling
- Fix login redirect to use /dashboard instead of /
- Simplify protected layout auth check with proper error handling
- Use static import and onMount for root page auth check
- Ensure isChecking is always set to false to prevent loader stuck

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 06:06:47 +01:00
.claude/plans style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
.claude-flow/metrics fix(ci): resolve turbo recursive build loop and filter issues 2025-11-27 19:26:28 +01:00
.github fix(ci): make format check non-blocking 2025-11-27 19:53:03 +01:00
apps fix(wisekeep): improve auth flow and redirect handling 2025-11-29 06:06:47 +01:00
cicd fix(cicd): docker paths, formatting config, 2025-11-27 18:33:08 +01:00
docker style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
docs style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
games feat(games): add mana-games - AI-powered browser games platform 2025-11-28 20:13:14 +01:00
packages feat(nutriphi): migrate to shared auth UI components 2025-11-29 06:04:35 +01:00
scripts feat(nutriphi): migrate to shared auth UI components 2025-11-29 06:04:35 +01:00
services/mana-core-auth feat(presi): add PillNavigation and fix auth service JWT parsing 2025-11-28 20:49:45 +01:00
tests/e2e first implementation 2025-11-27 17:26:18 +01:00
.dockerignore make auth working 2025-11-26 01:31:12 +01:00
.editorconfig feat: add monorepo configuration and shared packages structure 2025-11-22 23:41:52 +01:00
.env.development feat(nutriphi): migrate to shared auth UI components 2025-11-29 06:04:35 +01:00
.env.example add mana core 2025-11-25 18:56:35 +01:00
.gitignore fix(cicd): docker paths, formatting config, 2025-11-27 18:33:08 +01:00
.nvmrc feat: add monorepo configuration and shared packages structure 2025-11-22 23:41:52 +01:00
.prettierignore fix(cicd): docker paths, formatting config, 2025-11-27 18:33:08 +01:00
.prettierrc feat: add monorepo configuration and shared packages structure 2025-11-22 23:41:52 +01:00
.prettierrc.json fix(cicd): docker paths, formatting config, 2025-11-27 18:33:08 +01:00
CI_CD_IMPLEMENTATION_SUMMARY.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
CI_CD_README.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
CLAUDE.md feat(zitare): rename quote project to zitare and add global search 2025-11-28 20:14:19 +01:00
docker-compose.dev.yml refactor: restructure 2025-11-26 03:03:24 +01:00
docker-compose.production.yml first implementation 2025-11-27 17:26:18 +01:00
docker-compose.staging.yml first implementation 2025-11-27 17:26:18 +01:00
docker-compose.yml refactor: restructure 2025-11-26 03:03:24 +01:00
DOCKER_REGISTRY_SETUP.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
FILES_CREATED.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
HIVE_MIND_FINAL_REPORT.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
jest.config.js first implementation 2025-11-27 17:26:18 +01:00
package.json feat(zitare): rename quote project to zitare and add global search 2025-11-28 20:14:19 +01:00
playwright.config.ts style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
pnpm-lock.yaml chore: update pnpm lockfile 2025-11-28 21:03:34 +01:00
pnpm-workspace.yaml chore: add games folder structure to monorepo 2025-11-27 15:06:59 +01:00
QA_TESTING_CHECKLIST.md add mana core 2025-11-25 18:56:35 +01:00
QUICK_START_CICD.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
README.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
TEST_CASES_SAMPLES.md add mana core 2025-11-25 18:56:35 +01:00
TESTING_STRATEGY_AUTH_CREDITS.md add mana core 2025-11-25 18:56:35 +01:00
TESTING_STRATEGY_EXECUTIVE_SUMMARY.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
turbo.json style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
vitest.config.ts first implementation 2025-11-27 17:26:18 +01:00

Manacore Monorepo

Monorepo containing all Manacore projects with shared packages and unified tooling.

Projects

Project Description Tech Stack
maerchenzauber AI-powered story generation app NestJS, Expo, SvelteKit, Astro
manacore Multi-app ecosystem platform Expo, SvelteKit, Astro
manadeck Card/deck management app NestJS, Expo, SvelteKit
memoro Voice memo & AI analysis app Expo, SvelteKit, Astro

Getting Started

Prerequisites

  • Node.js 20+
  • pnpm 9.15.0+

Installation

# Install pnpm globally (if not installed)
npm install -g pnpm

# Install all dependencies
pnpm install

Development

# Start all projects in dev mode
pnpm run dev

# Start a specific project
pnpm run maerchenzauber:dev
pnpm run manacore:dev
pnpm run manadeck:dev
pnpm run memoro:dev

# Build all projects
pnpm run build

# Run tests
pnpm run test

# Type check
pnpm run type-check

# Format code
pnpm run format

Shared Packages

Located in packages/:

Package Description
@manacore/shared-types Common TypeScript types
@manacore/shared-supabase Unified Supabase client
@manacore/shared-utils Utility functions (date, string, async)
@manacore/shared-ui React Native UI components

Using Shared Packages

// In any project
import { User, ApiResponse } from '@manacore/shared-types';
import { createSupabaseClient } from '@manacore/shared-supabase';
import { formatDate, truncate, retry } from '@manacore/shared-utils';

Repository Structure

manacore-monorepo/
├── packages/                 # Shared packages
│   ├── shared-types/         # TypeScript types
│   ├── shared-supabase/      # Supabase utilities
│   ├── shared-utils/         # Common utilities
│   └── shared-ui/            # React Native components
├── maerchenzauber/           # Storyteller project
├── manacore/                 # Manacore apps project
├── manadeck/                 # ManaDeck project
├── memoro/                   # Memoro project
├── turbo.json                # Turborepo configuration
├── pnpm-workspace.yaml       # Workspace configuration
└── package.json              # Root package

Tooling

  • Package Manager: pnpm 9.15.0
  • Build System: Turborepo
  • Formatting: Prettier
  • Node Version: 20 (see .nvmrc)

Adding Dependencies

# Add to root (dev tools)
pnpm add -D <package> -w

# Add to specific project
pnpm add <package> --filter maerchenzauber

# Add to shared package
pnpm add <package> --filter @manacore/shared-utils

Contributing

  1. Create a feature branch
  2. Make changes
  3. Run pnpm run format and pnpm run type-check
  4. Commit with conventional commit messages
  5. Create pull request

License

Private - All rights reserved