@demogo-cn/cli 0.2.5 → 0.2.6

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 +11 -3
  2. package/lib/core.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@ DemoGo CLI lets AI coding tools publish a local project to DemoGo and return a s
6
6
 
7
7
  Current MVP delivery uses a local install package.
8
8
 
9
- 1. Unzip `demogo-cli-v0.2.5.zip`.
9
+ 1. Unzip `demogo-cli-v0.2.6.zip`.
10
10
  2. Open a terminal in the extracted folder.
11
11
  3. Run:
12
12
 
@@ -32,6 +32,14 @@ Reset it only when it is lost, invalid, or exposed in chat/logs.
32
32
 
33
33
  ## Deploy
34
34
 
35
+ Use without installing:
36
+
37
+ ```bash
38
+ npx --yes @demogo-cn/cli deploy
39
+ ```
40
+
41
+ Or use the installed command:
42
+
35
43
  ```bash
36
44
  demogo deploy
37
45
  ```
@@ -48,10 +56,10 @@ DemoGo supports static pages, single HTML pages, built frontend output, and fron
48
56
 
49
57
  ## npm / npx Status
50
58
 
51
- After npm publication, AI coding tools can run:
59
+ AI coding tools can run:
52
60
 
53
61
  ```bash
54
- npx @demogo-cn/cli deploy
62
+ npx --yes @demogo-cn/cli deploy
55
63
  ```
56
64
 
57
65
  Or install it globally:
package/lib/core.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { mkdir, readdir, readFile, stat, writeFile } from "node:fs/promises";
3
3
  import path from "node:path";
4
4
 
5
- export const VERSION = "0.2.5";
5
+ export const VERSION = "0.2.6";
6
6
  export const MAX_FILES = 800;
7
7
  export const MAX_BYTES = 50 * 1024 * 1024;
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demogo-cn/cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "DemoGo CLI for generating shareable trial links from AI-built pages.",
5
5
  "type": "module",
6
6
  "bin": {