moomodding 1.1.0 → 1.1.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 (3) hide show
  1. package/README.md +53 -53
  2. package/dist/cli.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,81 +1,81 @@
1
- # MooModding Developer CLI (`moo`)
1
+ # MooModding CLI (`moo`)
2
2
 
3
- > The official Node.js command-line tool for building, testing, and hot-syncing MooMoo.io mods with the **MooModding.io** ecosystem.
3
+ Official developer command-line tool and game SDK for building, testing, syncing, and publishing MooMoo.io mods on **MooModding.io**.
4
4
 
5
5
  ---
6
6
 
7
- ## ⚡ Features
8
-
9
- - **Zero-Friction Setup:** Use with `npx moomodding` or install globally via `npm i -g moomodding`.
10
- - **Directory-First Auto-Walk:** No manual file lists in `mod.json`. Add, remove, and nest folders (`src/combat/`, `assets/`, `utils/`) freely.
11
- - **Instant Hot-Sync (`moo dev`):** Automatically pushes changes to the cloud on every `Ctrl + S`.
12
- - **Reconciliation:** Deleted local files are cleaned up from the cloud mirror automatically.
13
- - **Smart Ignore:** Built-in `.mooignore` ignores `node_modules`, `.git`, `.env`, and build artifacts.
14
-
15
- ---
16
-
17
- ## 🚀 Quick Start
18
-
19
- ### 1. Installation
7
+ ## Installation
20
8
 
21
9
  ```bash
22
- # Global install (recommended for quick 'moo' alias)
10
+ # Install globally
23
11
  npm install -g moomodding
24
12
 
25
- # Or run directly without installation
13
+ # Or run directly with npx
26
14
  npx moomodding --help
27
15
  ```
28
16
 
29
- ### 2. Login to Your MooModding Account
17
+ ---
18
+
19
+ ## Quick Start
30
20
 
31
21
  ```bash
22
+ # 1. Authenticate with your MooModding account
32
23
  moo login
33
- ```
34
- *Generates or prompts for your Personal Access Token from `https://moomodding.io/settings`.*
35
24
 
36
- ### 3. Create or Clone a Mod
25
+ # 2. Scaffold a new mod project
26
+ moo init my-mod --community
37
27
 
38
- ```bash
39
- # Start a fresh TypeScript mod project
40
- moo init my-combat-mod
41
- cd my-combat-mod
28
+ # 3. Start live sync watcher (pushes to sandbox on save)
29
+ cd my-mod
30
+ moo dev
42
31
 
43
- # Or clone an existing mod from your cloud storage
44
- moo clone elite-combat-suite
45
- cd elite-combat-suite
32
+ # 4. Publish release to the Community Gallery
33
+ moo publish patch -m "Initial release"
46
34
  ```
47
35
 
48
- ### 4. Develop & Test Live
36
+ ---
49
37
 
50
- ```bash
51
- # Run watch mode
52
- moo dev
53
- ```
54
- Open `https://sandbox.moomodding.io/` in your browser. Refresh the page whenever you save code to test your updates live in-game!
38
+ ## Commands
39
+
40
+ | Command | Description |
41
+ | :--- | :--- |
42
+ | `moo login [token]` | Log in to your MooModding account |
43
+ | `moo whoami` | View logged-in account and cloud storage quota |
44
+ | `moo init [dir] [flags]` | Scaffold a new mod project (`--community`, `-t`, `-d`) |
45
+ | `moo list` (or `ls`) | List your cloud mods and storage usage |
46
+ | `moo clone <target> [dir]` | Clone a personal cloud mod or community mod (`@author/slug`) |
47
+ | `moo push` | Scan directory and upload mod files to cloud |
48
+ | `moo pull` | Download latest mod files from cloud |
49
+ | `moo dev` | Watch local directory and auto-sync to cloud on every save |
50
+ | `moo publish [version]` | Publish release to Community Gallery (`patch`, `minor`, `major`, or `1.0.0`) |
51
+ | `moo config <action>` | View or update CLI configuration |
52
+ | `moo logout` | Clear local credentials and log out |
55
53
 
56
54
  ---
57
55
 
58
- ## 📋 Commands Reference
56
+ ## Options & Flags
59
57
 
60
- | Command | Shortcut | Description |
61
- | :--- | :--- | :--- |
62
- | `moomodding login [token]` | `moo login` | Authenticate with your MooModding Personal Access Token |
63
- | `moomodding whoami` | `moo whoami` | Display active user, email, and storage quota |
64
- | `moomodding list` | `moo ls` | List all your cloud mods and their storage sizes |
65
- | `moomodding init [name]` | `moo init` | Scaffold a new mod with template files |
66
- | `moomodding clone <slug>` | `moo clone` | Clone a cloud mod into a local directory |
67
- | `moomodding push` | `moo push` | Auto-scan directory and push files to cloud |
68
- | `moomodding pull` | `moo pull` | Pull latest files from cloud into current folder |
69
- | `moomodding dev` | `moo dev` | Start file watcher (hot-sync on save) |
70
- | `moomodding logout` | `moo logout` | Clear local auth credentials |
58
+ ### `moo init [dir]`
59
+ * `-n, --name <name>`: Mod display name
60
+ * `-t, --type <type>`: Mod architecture (`hook`, `bundle_replacement`, or `html_replacement`)
61
+ * `-c, --community`: Scaffold as an open-source community mod
62
+ * `-d, --description <desc>`: Mod description for showcase
63
+ * `-v, --version <version>`: Initial version (default: `1.0.0`)
64
+
65
+ ### `moo publish [version]`
66
+ * `[version]`: `patch`, `minor`, `major`, or explicit semver (e.g. `1.1.0`)
67
+ * `-m, --message <changelog>`: Release changelog notes
68
+ * `--status <status>`: Visibility status (`active`, `unlisted`, `archived`)
69
+ * `-d, --description <desc>`: Update mod description
70
+ * `--youtube <url>`: Video showcase URL
71
+ * `-y, --yes`: Skip confirmation prompt
72
+
73
+ ### `moo clone <target>`
74
+ * Private mod: `moo clone my-private-mod`
75
+ * Community mod: `moo clone @author/slug`
71
76
 
72
77
  ---
73
78
 
74
- ## 🛠️ Local Development (Developing this CLI)
79
+ ## License
75
80
 
76
- ```bash
77
- cd moomodding-cli
78
- npm install
79
- npm run build
80
- npm link # links 'moo' globally on your machine for testing
81
- ```
81
+ MIT © [MooModding.io](https://moomodding.io)
package/dist/cli.js CHANGED
@@ -14,7 +14,7 @@ const program = new Command();
14
14
  program
15
15
  .name("moo")
16
16
  .description("MooModding Developer CLI — Build, test, and sync MooMoo.io mods with zero friction.")
17
- .version("1.1.0");
17
+ .version("1.1.1");
18
18
  // 1. Auth Commands
19
19
  program
20
20
  .command("login [token]")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moomodding",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Official MooModding.io Developer CLI & Game SDK - Build, test, and sync MooMoo.io mods seamlessly.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",