create-momo 0.1.0

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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +79 -0
  3. package/package.json +61 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Shahrear Ahamed
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,79 @@
1
+ # create-momo
2
+
3
+ A modern, high-performance CLI tool for scaffolding and managing monorepo projects with ease. Built for speed, consistency, and a premium developer experience.
4
+
5
+ ## ✨ Features
6
+
7
+ - **Instant Scaffolding**: Create a production-ready monorepo project in seconds.
8
+ - **Component Management**: Effortlessly add apps and packages with pre-configured TypeScript and workspaces.
9
+ - **Premium UI**: Beautiful CLI interface with interactive prompts and status indicators.
10
+ - **Built-in Workflows**: Integrated commands for configuration, setup, and deployment.
11
+
12
+ ## 🚀 Quick Start
13
+
14
+ Get started immediately without installation:
15
+
16
+ ```bash
17
+ pnpm create momo
18
+ # or
19
+ npx create-momo@latest
20
+ ```
21
+
22
+ ## 🛠 Commands
23
+
24
+ ### Core
25
+
26
+ #### `create [project-name]`
27
+ Initialize a new monorepo project. If no name is provided, it will prompt you.
28
+ ```bash
29
+ momo create my-awesome-project
30
+ ```
31
+
32
+ #### `add`
33
+ Add a new application or package to your monorepo. It will guide you through selecting a location (`/apps` or `/packages`) and a technology flavor.
34
+ ```bash
35
+ momo add
36
+ ```
37
+
38
+ ### Setup & Config
39
+
40
+ #### `setup`
41
+ Configure project-wide settings and documentation.
42
+ - `momo setup publish`: Configure npm registry and publishing settings.
43
+ - `momo setup open-source`: Add community files (LICENSE, CONTRIBUTING).
44
+ - `momo setup close-source`: Configure for proprietary use.
45
+
46
+ #### `config`
47
+ Manage CLI global and project-specific configurations.
48
+ - `momo config list`: View all settings.
49
+ - `momo config set <key> <value>`: Update a setting.
50
+
51
+ ### Utility
52
+
53
+ #### `doctor`
54
+ Check the health of your monorepo, verifying dependencies and configurations.
55
+ ```bash
56
+ momo doctor
57
+ ```
58
+
59
+ #### `list`
60
+ List all available component flavors and templates.
61
+ ```bash
62
+ momo list
63
+ ```
64
+
65
+ ---
66
+
67
+ ## ⏳ Coming Soon
68
+
69
+ We're constantly improving `create-momo`. Here’s what’s on the horizon:
70
+
71
+ - **Shortcut Commands**: `momo push` for instant deployment. `[Coming Soon]`
72
+ - **Direct Addition**: `momo add app <name>` and `momo add package <name>` to skip prompts. `[Coming Soon]`
73
+ - **Auto Documentation**: `momo setup readme` to generate standard READMEs for your sub-packages. `[Coming Soon]`
74
+ - **Pre-configured Blueprints**: SaaS Starters (Next.js + Supabase) and API Services (Express + Docker). `[Coming Soon]`
75
+ - **Plugin System**: Extend the CLI with your own custom commands and templates. `[Coming Soon]`
76
+
77
+ ## 📄 License
78
+
79
+ MIT © [Shahrear Ahamed](https://github.com/shahrear-ahamed)
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "create-momo",
3
+ "version": "0.1.0",
4
+ "description": "CLI tool to scaffold monorepo projects",
5
+ "keywords": [
6
+ "monorepo",
7
+ "cli",
8
+ "generator",
9
+ "turborepo"
10
+ ],
11
+ "author": "Shahrear Ahamed",
12
+ "license": "MIT",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/shahrear-ahamed/create-momo.git",
16
+ "directory": "packages/create-momo"
17
+ },
18
+ "homepage": "https://github.com/shahrear-ahamed/create-momo/tree/main/packages/create-momo#readme",
19
+ "bugs": {
20
+ "url": "https://github.com/shahrear-ahamed/create-momo/issues"
21
+ },
22
+ "main": "dist/index.js",
23
+ "module": "dist/index.mjs",
24
+ "types": "dist/index.d.ts",
25
+ "type": "module",
26
+ "bin": {
27
+ "create-momo": "./dist/index.js",
28
+ "momo": "./dist/index.js"
29
+ },
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "dependencies": {
34
+ "@clack/prompts": "^1.0.0",
35
+ "commander": "^14.0.3",
36
+ "execa": "^9.6.1",
37
+ "fs-extra": "^11.3.3",
38
+ "gradient-string": "^3.0.0",
39
+ "ora": "^9.1.0",
40
+ "picocolors": "^1.1.1",
41
+ "zod": "^4.3.6"
42
+ },
43
+ "devDependencies": {
44
+ "@types/fs-extra": "^11.0.4",
45
+ "@types/gradient-string": "^1.1.6",
46
+ "@types/node": "^25.2.0",
47
+ "tsup": "^8.5.1",
48
+ "typescript": "^5.9.3",
49
+ "vitest": "^4.0.18"
50
+ },
51
+ "publishConfig": {
52
+ "access": "public"
53
+ },
54
+ "scripts": {
55
+ "build": "tsup",
56
+ "dev": "tsup --watch",
57
+ "lint": "biome check .",
58
+ "type-check": "tsc --noEmit",
59
+ "test": "vitest run"
60
+ }
61
+ }