create-morax 1.0.4 → 1.0.15

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.
package/README.github.md CHANGED
@@ -1,139 +1,139 @@
1
- <div align="center">
2
-
3
- <div style="display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 12px;">
4
- <img src="https://res.cloudinary.com/dnvl8mqba/image/upload/v1779642846/Morax/morax_yhqyn8.webp" alt="Morax Logo" width="70" style="border-radius: 12px;" />
5
- <h1 style="border-bottom: none; margin: 0; font-size: 2.8rem; font-weight: 900; letter-spacing: 3px; line-height: 1;">MORAX</h1>
6
- </div>
7
-
8
- ### _The Next-Generation `pnpm` Monorepo & Workspace Orchestrator_
9
-
10
- [![npm version](https://img.shields.io/npm/v/create-morax.svg?style=for-the-badge&color=8A2BE2)](https://www.npmjs.com/package/create-morax)
11
- [![TypeScript](https://img.shields.io/badge/TypeScript-5.8-blue.svg?style=for-the-badge&logo=typescript)](https://www.typescriptlang.org/)
12
- [![pnpm](https://img.shields.io/badge/pnpm-orange?style=for-the-badge&logo=pnpm)](https://pnpm.io/)
13
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
14
-
15
- <p align="center">
16
- A highly polished, interactive CLI that bootstraps custom, modern, high-performance <b>pnpm workspaces</b> in seconds.
17
- </p>
18
-
19
- [Quick Start](#-quick-start) • [Features](#-features-matrix) • [Workflow](#-dynamic-workspace-orchestration) • [Contributing](#-contributing)
20
-
21
- ---
22
-
23
- </div>
24
-
25
- ## 🚀 Quick Start
26
-
27
- Initialize your new workspace instantly using:
28
-
29
- ```bash
30
- npm create morax@latest
31
- ```
32
-
33
- Or using `pnpm`:
34
-
35
- ```bash
36
- pnpm create morax
37
- ```
38
-
39
- Or using `bun`:
40
-
41
- ```bash
42
- bun create morax
43
- ```
44
-
45
- ---
46
-
47
- ## ⚡ Dynamic Workspace Orchestration
48
-
49
- 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:
50
-
51
- ```mermaid
52
- graph TD
53
- A[npm create morax@latest] --> B[Interactive Configuration Prompt]
54
- B -->|Setup Root| C[Create pnpm-workspace.yaml & turbo.json]
55
-
56
- C --> D[Scaffold Applications]
57
- D --> D1[Next.js App: npx create-next-app]
58
- D --> D2[Express API: TypeScript Backend]
59
-
60
- C --> E[Scaffold Shared Libraries]
61
- E --> E1[packages/ui: shadcn init]
62
- E --> E2[packages/db: prisma/drizzle init]
63
- E --> E3[packages/configs: tsconfig & eslint]
64
-
65
- D1 & D2 & E1 & E2 & E3 --> F[Link Workspace Packages]
66
- F --> G[Inject workspace:* references into Package Manifests]
67
- G --> H[Run pnpm install at Workspace Root]
68
- H --> I[Ready to Code!]
69
-
70
- style A fill:#8A2BE2,stroke:#fff,stroke-width:2px,color:#fff
71
- style B fill:#1f1f1f,stroke:#8A2BE2,stroke-width:1px,color:#fff
72
- style C fill:#1f1f1f,stroke:#8A2BE2,stroke-width:1px,color:#fff
73
- style D fill:#007acc,stroke:#fff,stroke-width:1px,color:#fff
74
- style E fill:#e25c00,stroke:#fff,stroke-width:1px,color:#fff
75
- style F fill:#2ea44f,stroke:#fff,stroke-width:2px,color:#fff
76
- style I fill:#2ea44f,stroke:#fff,stroke-width:2px,color:#fff
77
- ```
78
-
79
- ---
80
-
81
- ### Interactive Prompts
82
-
83
- Morax guides you step-by-step to customize your developer experience:
84
-
85
- ```ansi
86
- ? What is the name of your workspace? › my-morax-monorepo
87
- ? Which applications would you like to scaffold? ›
88
- 🎯 [x] Next.js Web App
89
- 🔌 [x] Express.js API
90
- ? Which packages would you like to configure? ›
91
- 🎨 [x] Shared UI Library (Tailwind + Shadcn)
92
- 🗃️ [x] Shared Database Client (Prisma + PostgreSQL)
93
- ⚙️ [x] Shared Linting & TypeScript Configurations
94
- ```
95
-
96
- ### Launch Development Server
97
-
98
- Once setup is complete, navigate into your directory and launch the unified development server:
99
-
100
- ```bash
101
- cd my-morax-monorepo
102
- pnpm dev
103
- ```
104
-
105
- ---
106
-
107
- ## ✨ Features Matrix
108
-
109
- ### 🛠️ Workspace & Orchestration
110
-
111
- - **create pnpm workspace monorepo with ease**
112
- - **Zero-Config Workspaces:** Complete setup of `pnpm-workspace.yaml` and unified root lockfiles.
113
- - **Turborepo Pipeline:** Lightning-fast, cached builds and concurrent tasks (`dev`, `build`, `lint`).
114
- - **Automated Symlinking:** Direct injection of `"@workspace/ui": "workspace:*"` cross-package references.
115
- - **Always Up-to-Date:** Pulls from the latest official framework generators dynamically.
116
-
117
- ---
118
-
119
- ## 🤝 Contributing
120
-
121
- We welcome contributions to make Morax even better!
122
-
123
- 1. **Fork** the repository
124
- 2. **Create** your feature branch (`git checkout -b feature/AmazingFeature`)
125
- 3. **Commit** your changes (`git commit -m 'Add some AmazingFeature'`)
126
- 4. **Push** to the branch (`git push origin feature/AmazingFeature`)
127
- 5. **Open** a Pull Request
128
-
129
- ---
130
-
131
- ## 📝 License
132
-
133
- Distributed under the MIT License. See [LICENSE](file:///c:/Users/runak/Coding/Development/Morax/LICENSE) for details.
134
-
135
- ---
136
-
137
- <div align="center">
138
- <sub>Made with 💜 by <a href="https://github.com/AshutoshDM1">AshutoshDM1</a> & <a href="https://github.com/elitedv">EliteDV Team</a></sub>
139
- </div>
1
+ <div align="center">
2
+
3
+ <div style="display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 12px;">
4
+ <img src="https://res.cloudinary.com/dnvl8mqba/image/upload/v1779642846/Morax/morax_yhqyn8.webp" alt="Morax Logo" width="70" style="border-radius: 12px;" />
5
+ <h1 style="border-bottom: none; margin: 0; font-size: 2.8rem; font-weight: 900; letter-spacing: 3px; line-height: 1;">MORAX</h1>
6
+ </div>
7
+
8
+ ### _The Next-Generation `pnpm` Monorepo & Workspace Orchestrator_
9
+
10
+ [![npm version](https://img.shields.io/npm/v/create-morax.svg?style=for-the-badge&color=8A2BE2)](https://www.npmjs.com/package/create-morax)
11
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.8-blue.svg?style=for-the-badge&logo=typescript)](https://www.typescriptlang.org/)
12
+ [![pnpm](https://img.shields.io/badge/pnpm-orange?style=for-the-badge&logo=pnpm)](https://pnpm.io/)
13
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
14
+
15
+ <p align="center">
16
+ A highly polished, interactive CLI that bootstraps custom, modern, high-performance <b>pnpm workspaces</b> in seconds.
17
+ </p>
18
+
19
+ [Quick Start](#-quick-start) • [Features](#-features-matrix) • [Workflow](#-dynamic-workspace-orchestration) • [Contributing](#-contributing)
20
+
21
+ ---
22
+
23
+ </div>
24
+
25
+ ## 🚀 Quick Start
26
+
27
+ Initialize your new workspace instantly using:
28
+
29
+ ```bash
30
+ npm create morax@latest
31
+ ```
32
+
33
+ Or using `pnpm`:
34
+
35
+ ```bash
36
+ pnpm create morax
37
+ ```
38
+
39
+ Or using `bun`:
40
+
41
+ ```bash
42
+ bun create morax
43
+ ```
44
+
45
+ ---
46
+
47
+ ## ⚡ Dynamic Workspace Orchestration
48
+
49
+ 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:
50
+
51
+ ```mermaid
52
+ graph TD
53
+ A[npm create morax@latest] --> B[Interactive Configuration Prompt]
54
+ B -->|Setup Root| C[Create pnpm-workspace.yaml & turbo.json]
55
+
56
+ C --> D[Scaffold Applications]
57
+ D --> D1[Next.js App: npx create-next-app]
58
+ D --> D2[Express API: TypeScript Backend]
59
+
60
+ C --> E[Scaffold Shared Libraries]
61
+ E --> E1[packages/ui: shadcn init]
62
+ E --> E2[packages/db: prisma/drizzle init]
63
+ E --> E3[packages/configs: tsconfig & eslint]
64
+
65
+ D1 & D2 & E1 & E2 & E3 --> F[Link Workspace Packages]
66
+ F --> G[Inject workspace:* references into Package Manifests]
67
+ G --> H[Run pnpm install at Workspace Root]
68
+ H --> I[Ready to Code!]
69
+
70
+ style A fill:#8A2BE2,stroke:#fff,stroke-width:2px,color:#fff
71
+ style B fill:#1f1f1f,stroke:#8A2BE2,stroke-width:1px,color:#fff
72
+ style C fill:#1f1f1f,stroke:#8A2BE2,stroke-width:1px,color:#fff
73
+ style D fill:#007acc,stroke:#fff,stroke-width:1px,color:#fff
74
+ style E fill:#e25c00,stroke:#fff,stroke-width:1px,color:#fff
75
+ style F fill:#2ea44f,stroke:#fff,stroke-width:2px,color:#fff
76
+ style I fill:#2ea44f,stroke:#fff,stroke-width:2px,color:#fff
77
+ ```
78
+
79
+ ---
80
+
81
+ ### Interactive Prompts
82
+
83
+ Morax guides you step-by-step to customize your developer experience:
84
+
85
+ ```ansi
86
+ ? What is the name of your workspace? › my-morax-monorepo
87
+ ? Which applications would you like to scaffold? ›
88
+ 🎯 [x] Next.js Web App
89
+ 🔌 [x] Express.js API
90
+ ? Which packages would you like to configure? ›
91
+ 🎨 [x] Shared UI Library (Tailwind + Shadcn)
92
+ 🗃️ [x] Shared Database Client (Prisma + PostgreSQL)
93
+ ⚙️ [x] Shared Linting & TypeScript Configurations
94
+ ```
95
+
96
+ ### Launch Development Server
97
+
98
+ Once setup is complete, navigate into your directory and launch the unified development server:
99
+
100
+ ```bash
101
+ cd my-morax-monorepo
102
+ pnpm dev
103
+ ```
104
+
105
+ ---
106
+
107
+ ## ✨ Features Matrix
108
+
109
+ ### 🛠️ Workspace & Orchestration
110
+
111
+ - **create pnpm workspace monorepo with ease**
112
+ - **Zero-Config Workspaces:** Complete setup of `pnpm-workspace.yaml` and unified root lockfiles.
113
+ - **Turborepo Pipeline:** Lightning-fast, cached builds and concurrent tasks (`dev`, `build`, `lint`).
114
+ - **Automated Symlinking:** Direct injection of `"@workspace/ui": "workspace:*"` cross-package references.
115
+ - **Always Up-to-Date:** Pulls from the latest official framework generators dynamically.
116
+
117
+ ---
118
+
119
+ ## 🤝 Contributing
120
+
121
+ We welcome contributions to make Morax even better!
122
+
123
+ 1. **Fork** the repository
124
+ 2. **Create** your feature branch (`git checkout -b feature/AmazingFeature`)
125
+ 3. **Commit** your changes (`git commit -m 'Add some AmazingFeature'`)
126
+ 4. **Push** to the branch (`git push origin feature/AmazingFeature`)
127
+ 5. **Open** a Pull Request
128
+
129
+ ---
130
+
131
+ ## 📝 License
132
+
133
+ Distributed under the MIT License. See [LICENSE](file:///c:/Users/runak/Coding/Development/Morax/LICENSE) for details.
134
+
135
+ ---
136
+
137
+ <div align="center">
138
+ <sub>Made with 💜 by <a href="https://github.com/AshutoshDM1">AshutoshDM1</a> & <a href="https://github.com/elitedv">EliteDV Team</a></sub>
139
+ </div>