gui4cli 0.0.3 → 0.0.4

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
@@ -1,6 +1,6 @@
1
1
  # GUI4CLI
2
2
 
3
- Turn a Node.js CLI script into a desktop form — inputs, a Run button, and live output without rewriting the script.
3
+ Turn a Node.js CLI script into a desktop form. Inputs, a Run button, and live output. The original file is unchanged.
4
4
 
5
5
  **Docs:** [gui4cli.dev/docs](https://gui4cli.dev/docs) · **Site:** [gui4cli.dev](https://gui4cli.dev) · **GitHub:** [Catalyst-Forge-LLC/gui4cli](https://github.com/Catalyst-Forge-LLC/gui4cli)
6
6
 
@@ -21,15 +21,13 @@ gui4cli my-script.js
21
21
 
22
22
  A folder works too: `gui4cli . --entry bin/cli.js`.
23
23
 
24
- The first windowd launch may download the NW.js runtime (~200 MB). If the window flashes and closes, run from a normal terminal — not Cursor's JavaScript Debug Terminal.
25
-
26
24
  ## What you get
27
25
 
28
26
  - Detects Commander and yargs (JSDoc and `--help` are fallbacks)
29
- - One window: fields, command preview, **Run**, live stdout/stderr, exit code
30
- - Last-run values under `~/.gui4cli/lastrun/`
27
+ - One window: fields, command preview, Run, live stdout/stderr, exit code
28
+ - Remembers last-run values
31
29
  - `--json` prints the form and exits (CI, no GUI)
32
- - `--build` writes a reusable windowd folder that wraps the original script **in place** (no `.exe`, no rewrite)
30
+ - `--build` writes a reusable windowd folder that wraps the original script in place (no `.exe`, no rewrite)
33
31
 
34
32
  Optional overrides: `gui4cli.config.js` or `gui4cli.json` next to the script. Flags: [CLI](https://gui4cli.dev/docs/cli).
35
33
 
@@ -42,7 +40,9 @@ pnpm exec tsx src/cli.ts fixtures/resize.js --json
42
40
  pnpm dev
43
41
  ```
44
42
 
45
- `pnpm dev` opens the Commander fixture. Site (FilePress): `pnpm site:dev` (LocalSlip `gui4cli-site` on **5201**). Redeploy: `pnpm ship`.
43
+ `pnpm dev` opens the Commander fixture. The first windowd launch may download the NW.js runtime (~200 MB). If the window flashes and closes, run from a normal terminal, not Cursor's JavaScript Debug Terminal.
44
+
45
+ Site (FilePress): `pnpm site:dev` (LocalSlip `gui4cli-site` on **5201**). Redeploy: `pnpm ship`.
46
46
 
47
47
  ## License
48
48
 
package/bin/gui4cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gui4cli",
3
- "version": "0.0.3",
4
- "description": "Turn a Node.js CLI script into a desktop form app — inputs, run button, live output.",
3
+ "version": "0.0.4",
4
+ "description": "Turn a Node.js CLI script into a desktop form. Inputs, Run, live output. The original file is unchanged.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "gui4cli": "bin/gui4cli.js"
@@ -12,6 +12,20 @@
12
12
  "README.md",
13
13
  "LICENSE"
14
14
  ],
15
+ "scripts": {
16
+ "dev": "tsx src/cli.ts fixtures/resize.js",
17
+ "detect": "tsx src/cli.ts fixtures/resize.js --json",
18
+ "build": "tsc",
19
+ "typecheck": "tsc --noEmit",
20
+ "test": "vitest run",
21
+ "prepare": "tsc",
22
+ "prepublishOnly": "node scripts/publish-gate.mjs && pnpm test && pnpm build",
23
+ "site:dev": "pnpm --dir site dev",
24
+ "site:build": "pnpm --dir site build",
25
+ "site:check": "pnpm --dir site check",
26
+ "site:deploy": "pnpm --dir site run ship",
27
+ "ship": "pnpm --dir site run ship"
28
+ },
15
29
  "keywords": [
16
30
  "cli",
17
31
  "desktop",
@@ -40,21 +54,10 @@
40
54
  "devDependencies": {
41
55
  "@types/node": "^24.0.0",
42
56
  "commander": "^14.0.0",
57
+ "smellcheck": "^0.3.4",
43
58
  "tsx": "^4.20.0",
44
59
  "typescript": "^5.9.0",
45
60
  "vitest": "^3.2.0",
46
61
  "yargs": "^18.0.0"
47
- },
48
- "scripts": {
49
- "dev": "tsx src/cli.ts fixtures/resize.js",
50
- "detect": "tsx src/cli.ts fixtures/resize.js --json",
51
- "build": "tsc",
52
- "typecheck": "tsc --noEmit",
53
- "test": "vitest run",
54
- "site:dev": "pnpm --dir site dev",
55
- "site:build": "pnpm --dir site build",
56
- "site:check": "pnpm --dir site check",
57
- "site:deploy": "pnpm --dir site run ship",
58
- "ship": "pnpm --dir site run ship"
59
62
  }
60
- }
63
+ }