filecafe 0.4.1 → 0.4.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
@@ -19,6 +19,8 @@ npm i -g filecafe
19
19
  filecafe --help
20
20
  ```
21
21
 
22
+ A global install also adds `cafe` as a shorter name for the same command, so `cafe upload report.pdf` works too. With npx, use `npx filecafe`: the `cafe` package on npm is unrelated.
23
+
22
24
  Requires Node.js 20 or newer.
23
25
 
24
26
  When you run filecafe in a terminal and a new version is out, it tells you and offers to upgrade it with the package manager you installed it with. It checks npm in the background once a day (retrying on the next run if npm can't be reached), mentions an update at most every three days, and never shows this in CI or when its output is piped (scripts and AI agents). Set `FILECAFE_NO_UPDATE_CHECK=1` or `NO_UPDATE_NOTIFIER=1` to turn it off.
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as updateCachePath, c as configPath, d as readConfig, f as resolveSettings, l as deleteConfig, m as VERSION, n as fetchLatestVersion, o as updateUpdateCache, p as writeConfig, r as readUpdateCache, t as CHECK_INTERVAL_MS, u as normalizeBaseUrl } from "./update-cache-INu00cnB.js";
2
+ import { a as updateCachePath, c as configPath, d as readConfig, f as resolveSettings, l as deleteConfig, m as VERSION, n as fetchLatestVersion, o as updateUpdateCache, p as writeConfig, r as readUpdateCache, t as CHECK_INTERVAL_MS, u as normalizeBaseUrl } from "./update-cache-BWGardR9.js";
3
3
  import { Command } from "commander";
4
4
  import { execFile, spawn } from "node:child_process";
5
5
  import { realpath, stat } from "node:fs/promises";
@@ -3,7 +3,7 @@ import "node:os";
3
3
  import { basename, dirname, join } from "node:path";
4
4
  import { randomUUID } from "node:crypto";
5
5
  // src/version.ts
6
- const VERSION = "0.4.1";
6
+ const VERSION = "0.4.2";
7
7
  // src/config.ts
8
8
  const DEFAULT_BASE_URL = "https://file.cafe";
9
9
  /**
@@ -1,4 +1,4 @@
1
- import { i as refreshUpdateCache, m as VERSION } from "./update-cache-INu00cnB.js";
1
+ import { i as refreshUpdateCache, m as VERSION } from "./update-cache-BWGardR9.js";
2
2
  // src/update-worker.ts
3
3
  /**
4
4
  * Spawned detached by the CLI to refresh the update cache, so no command ever waits on npm.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "filecafe",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Upload files to file.cafe from the command line. Built for AI coding agents, humans, and CI.",
5
5
  "keywords": [
6
6
  "file.cafe",
@@ -12,7 +12,8 @@
12
12
  "homepage": "https://file.cafe",
13
13
  "type": "module",
14
14
  "bin": {
15
- "filecafe": "dist/cli.js"
15
+ "filecafe": "dist/cli.js",
16
+ "cafe": "dist/cli.js"
16
17
  },
17
18
  "files": [
18
19
  "dist"