flagstaff 1.2.3 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +12 -9
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -37,18 +37,21 @@
37
37
  Migrating from: <a href="https://flagstaff.interlace.tools/docs/coming-from/ora">ora</a> · <a href="https://flagstaff.interlace.tools/docs/coming-from/log-update">log-update</a> · <a href="https://flagstaff.interlace.tools/docs/coming-from/boxen">boxen</a> · <a href="https://flagstaff.interlace.tools/docs/coming-from/cli-table3">cli-table3</a>
38
38
  </p>
39
39
 
40
+ **flagstaff** is a terminal frame loop: it hoists a component, holds it, changes it and
41
+ lowers it. Every mode but the terminal gets a **static projection** — one line per state on a
42
+ pipe, one event per transition under `--json`, plain text for a screen reader — so no state is
43
+ lost to the log an agent reads back. Plugins are data. No layout engine, and no dependency
44
+ outside the burgee family.
45
+
46
+ Drop-in for **ora**, **log-update**, **boxen** and **cli-table3**: `npx burgee migrate` moves
47
+ the imports, each path graded by the incumbent's own suite — see [Migrating](#migrating).
48
+
40
49
  ora animates a spinner on a terminal and, off one, writes the line it started with and the
41
- line it stopped with — every state in between is lost to the log an agent reads back. Ink fixes the terminal by shipping React and a layout engine.
42
- **flagstaff** is the staff the flag flies from: a frame loop that hoists a component, holds
43
- it, changes it and lowers it, and a **static projection** that is what every mode but the
44
- terminal gets — one line per state on a pipe, one event per transition under `--json`,
45
- plain text for a screen reader. Plugins are data. No layout engine. Four dependencies, all
46
- from this repository: [roundel](https://github.com/ofri-peretz/burgee/blob/main/packages/roundel/README.md), [paratext](https://github.com/ofri-peretz/burgee/blob/main/packages/paratext/README.md),
50
+ line it stopped with — every state in between is lost. Ink fixes the terminal by shipping
51
+ React and a layout engine. flagstaff takes four dependencies, all from this repository:
52
+ [roundel](https://github.com/ofri-peretz/burgee/blob/main/packages/roundel/README.md), [paratext](https://github.com/ofri-peretz/burgee/blob/main/packages/paratext/README.md),
47
53
  [linegauge](https://github.com/ofri-peretz/burgee/blob/main/packages/linegauge/README.md) and [closeout](https://github.com/ofri-peretz/burgee/blob/main/packages/closeout/README.md).
48
54
 
49
- It replaces **ora**, **log-update**, **boxen** and **cli-table3**, each through a drop-in path
50
- graded by the incumbent's own suite — see [Migrating](#migrating).
51
-
52
55
  A **flagstaff** is the simplest part of the whole apparatus and the only one that is always
53
56
  in view: a flag is hoisted on it, held there, changed, and lowered when it is done. That is a
54
57
  terminal render loop — the place frames are hoisted, held, changed and lowered, in view of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flagstaff",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "The staff the flag flies from. A terminal frame loop with a static projection for agents and screen readers, and a plugin host for spinners, progress, boxes and tables. Drop-in paths for ora, log-update, boxen and cli-table3. No dependency outside the burgee family.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -141,10 +141,10 @@
141
141
  "json"
142
142
  ],
143
143
  "dependencies": {
144
- "closeout": "^1.0.2",
145
- "linegauge": "^1.0.6",
146
- "paratext": "^1.0.2",
147
- "roundel": "^1.0.2"
144
+ "closeout": "^1.0.3",
145
+ "linegauge": "^1.0.7",
146
+ "paratext": "^1.0.3",
147
+ "roundel": "^1.0.3"
148
148
  },
149
149
  "devDependencies": {
150
150
  "fast-check": "^4.10.2",