magicmd 0.1.0 → 0.1.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
@@ -13,9 +13,17 @@ uvx --from magicmd magicmd
13
13
  - Node.js 18+
14
14
  - `uv` available on `PATH`
15
15
 
16
- ## Usage
16
+ If `uvx` is missing, install `uv` first:
17
+
18
+ ```bash
19
+ # macOS/Linux
20
+ curl -LsSf https://astral.sh/uv/install.sh | sh
17
21
 
18
- After the npm package is published:
22
+ # Windows
23
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
24
+ ```
25
+
26
+ ## Usage
19
27
 
20
28
  ```bash
21
29
  npm install -g magicmd
@@ -23,10 +31,11 @@ magicmd --version
23
31
  magicmd batch urls.txt -o output/
24
32
  ```
25
33
 
26
- Until then, install MagicMD directly from PyPI:
34
+ You can also install MagicMD directly from PyPI:
27
35
 
28
36
  ```bash
29
37
  uv tool install magicmd
38
+ pipx install magicmd
30
39
  magicmd doctor
31
40
  ```
32
41
 
package/bin/magicmd.js CHANGED
@@ -11,9 +11,21 @@ const result = spawnSync(command, ["--from", "magicmd", "magicmd", ...args], {
11
11
 
12
12
  if (result.error) {
13
13
  if (result.error.code === "ENOENT") {
14
- console.error(
15
- "MagicMD npm wrapper requires uv. Install it from https://docs.astral.sh/uv/getting-started/installation/ or use: pipx install magicmd"
16
- );
14
+ console.error(`MagicMD npm package needs uv to run the Python CLI.
15
+
16
+ The npm package is a thin wrapper around:
17
+ uvx --from magicmd magicmd
18
+
19
+ Install uv:
20
+ macOS/Linux:
21
+ curl -LsSf https://astral.sh/uv/install.sh | sh
22
+
23
+ Windows:
24
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
25
+
26
+ Or install MagicMD directly:
27
+ uv tool install magicmd
28
+ pipx install magicmd`);
17
29
  process.exit(127);
18
30
  }
19
31
  console.error(result.error.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magicmd",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "npm wrapper for the MagicMD article-to-Markdown CLI.",
5
5
  "license": "MIT",
6
6
  "private": false,