petdex 0.3.9 → 0.4.1

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 +2 -2
  2. package/dist/petdex.js +249 -121
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -16,7 +16,7 @@ npx petdex --help
16
16
  npm install -g petdex
17
17
  ```
18
18
 
19
- Requires Node.js 18+ (also runs on Bun).
19
+ Requires Node.js 20+ (also runs on Bun).
20
20
 
21
21
  ## Quick start
22
22
 
@@ -121,7 +121,7 @@ install path is just `fetch a JSON manifest, write two files to
121
121
  | Symptom | Cause | Fix |
122
122
  | --- | --- | --- |
123
123
  | Hangs at `Need to install the following packages: petdex@x` | `npx`'s own confirmation prompt, not a hang. Press `y` or auto-confirm | `npx -y petdex install <slug>` |
124
- | `npm ERR! engine Unsupported engine` | Node < 18 | Upgrade Node to 18+ (`nvm install 20` is the easiest path) |
124
+ | `npm ERR! engine Unsupported engine` | Node < 20 | Upgrade Node to 20+ (`nvm install 20` is the easiest path) |
125
125
  | `manifest fetch 5xx` / network timeout | Slow connection or corporate/national firewall blocking `petdex.crafter.run` | Set a proxy: `HTTPS_PROXY=http://your.proxy:port npx petdex install <slug>` |
126
126
  | `EACCES: permission denied … ~/.codex/pets/` | Pets dir owned by another user | `sudo chown -R "$USER" ~/.codex` or remove the dir and retry |
127
127
  | Windows: `'sh' is not recognized` | CLI version older than 0.1.1 piped through `curl … \| sh` | Upgrade: `npm i -g petdex@latest` or `npx petdex@latest install <slug>` |