Skip to content
ElitedvPublic

About

Morax - A highly polished, interactive CLI that bootstraps custom, modern, high-performance pnpm workspaces in seconds.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

Morax Logo

MORAX

The Next-Generation pnpm Monorepo & Workspace Orchestrator

npm version TypeScript pnpm License: MIT

A highly polished, interactive CLI that bootstraps custom, modern, high-performance pnpm workspaces in seconds.

Quick Start • Features • Workflow • Contributing


🚀 Quick Start

Initialize your new workspace instantly using:

npm create morax@latest

Or using pnpm:

pnpm create morax

Or using bun:

bun create morax

⚡ Dynamic Workspace Orchestration

Morax acts as a smart orchestrator. Instead of copy-pasting outdated boilerplate code, it executes official framework CLIs and programmatically connects them under the hood:

graph TD
    A[npm create morax@latest] --> B[Interactive Configuration Prompt]
    B -->|Setup Root| C[Create pnpm-workspace.yaml & turbo.json]

    C --> D[Scaffold Applications]
    D --> D1[Next.js App: npx create-next-app]
    D --> D2[Express API: TypeScript Backend]

    C --> E[Scaffold Shared Libraries]
    E --> E1[packages/ui: shadcn init]
    E --> E2[packages/db: prisma/drizzle init]
    E --> E3[packages/configs: tsconfig & eslint]

    D1 & D2 & E1 & E2 & E3 --> F[Link Workspace Packages]
    F --> G[Inject workspace:* references into Package Manifests]
    G --> H[Run pnpm install at Workspace Root]
    H --> I[Ready to Code!]

    style A fill:#8A2BE2,stroke:#fff,stroke-width:2px,color:#fff
    style B fill:#1f1f1f,stroke:#8A2BE2,stroke-width:1px,color:#fff
    style C fill:#1f1f1f,stroke:#8A2BE2,stroke-width:1px,color:#fff
    style D fill:#007acc,stroke:#fff,stroke-width:1px,color:#fff
    style E fill:#e25c00,stroke:#fff,stroke-width:1px,color:#fff
    style F fill:#2ea44f,stroke:#fff,stroke-width:2px,color:#fff
    style I fill:#2ea44f,stroke:#fff,stroke-width:2px,color:#fff
Loading

Interactive Prompts

Morax guides you step-by-step to customize your developer experience:

? What is the name of your workspace? › my-morax-monorepo
? Which applications would you like to scaffold? ›
 🎯 [x] Next.js Web App
 🔌 [x] Express.js API
? Which packages would you like to configure? ›
 🎨 [x] Shared UI Library (Tailwind + Shadcn)
 🗃️ [x] Shared Database Client (Prisma + PostgreSQL)
 ⚙️ [x] Shared Linting & TypeScript Configurations

Launch Development Server

Once setup is complete, navigate into your directory and launch the unified development server:

cd my-morax-monorepo
pnpm dev

✨ Features Matrix

🛠️ Workspace & Orchestration

  • create pnpm workspace monorepo with ease
  • Zero-Config Workspaces: Complete setup of pnpm-workspace.yaml and unified root lockfiles.
  • Turborepo Pipeline: Lightning-fast, cached builds and concurrent tasks (dev, build, lint).
  • Automated Symlinking: Direct injection of "@workspace/ui": "workspace:*" cross-package references.
  • Always Up-to-Date: Pulls from the latest official framework generators dynamically.

🤝 Contributing

We welcome contributions to make Morax even better!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

Distributed under the MIT License. See LICENSE for details.


Made with 💜 by AshutoshDM1 & EliteDV Team

About

Morax - A highly polished, interactive CLI that bootstraps custom, modern, high-performance pnpm workspaces in seconds.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages