@minhduydev/mdpi 0.3.1 → 0.3.2

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.md CHANGED
@@ -4,10 +4,35 @@
4
4
 
5
5
  ## Install
6
6
 
7
+ > ⚠️ The npm page auto-shows `npm i @minhduydev/mdpi` — that installs **locally** and does **not** put `mdpi` on your PATH. Use one of the commands below instead.
8
+
9
+ **One-off (no install, recommended for first try):**
10
+
11
+ ```bash
12
+ npx @minhduydev/mdpi init
13
+ ```
14
+
15
+ **Global (gives you the `mdpi` command everywhere):**
16
+
7
17
  ```bash
8
- npm install -g @minhduydev/mdpi # or one-off: npx @minhduydev/mdpi init
18
+ npm install -g @minhduydev/mdpi
19
+ mdpi init
9
20
  ```
10
21
 
22
+ <details>
23
+ <summary>I already ran <code>npm i @minhduydev/mdpi</code> and got <code>command not found</code></summary>
24
+
25
+ You installed it locally. Either install it globally with `npm install -g @minhduydev/mdpi`, or run it without installing:
26
+
27
+ ```bash
28
+ npx @minhduydev/mdpi init # no install needed
29
+ # or, using the local copy you just installed:
30
+ npx mdpi init
31
+ ./node_modules/.bin/mdpi init
32
+ ```
33
+
34
+ </details>
35
+
11
36
  ## Commands
12
37
 
13
38
  | Command | What it does |
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import { createHash } from "node:crypto";
8
8
  import { fileURLToPath } from "node:url";
9
9
  import { mkdir, readdir } from "node:fs/promises";
10
10
  //#region package.json
11
- var version = "0.3.1";
11
+ var version = "0.3.2";
12
12
  //#endregion
13
13
  //#region src/utils/manifest.ts
14
14
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minhduydev/mdpi",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "CLI to scaffold and manage a Pi coding-agent kit (.pi/) in any repo",
5
5
  "keywords": [
6
6
  "pi",