@minhduydev/mdpi 0.3.0 → 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 +26 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
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
|
|
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.
|
|
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.
|
|
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",
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"template",
|
|
11
11
|
"agent-kit"
|
|
12
12
|
],
|
|
13
|
-
"homepage": "https://github.com/MinhDuyDEV/
|
|
13
|
+
"homepage": "https://github.com/MinhDuyDEV/mdpi#readme",
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/MinhDuyDEV/
|
|
15
|
+
"url": "https://github.com/MinhDuyDEV/mdpi/issues"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"author": "MinhDuyDEV <buub1309120@gmail.com>",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/MinhDuyDEV/
|
|
21
|
+
"url": "git+https://github.com/MinhDuyDEV/mdpi.git"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|