flagstaff 1.2.2 → 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.
- package/README.md +13 -10
- 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
|
|
42
|
-
|
|
43
|
-
|
|
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
|
|
@@ -537,7 +540,7 @@ takes a dependency from outside the family.
|
|
|
537
540
|
| [seniority](https://seniority.interlace.tools/docs) | Configuration precedence and discovery, with provenance | cosmiconfig, dotenv and rc |
|
|
538
541
|
| [closeout](https://closeout.interlace.tools/docs) | Exit handlers, terminal restore and a bounded shutdown | signal-exit, exit-hook and restore-cursor |
|
|
539
542
|
| [bellpull](https://bellpull.interlace.tools/docs) | Subprocesses, and which executable actually ran | cross-spawn and which |
|
|
540
|
-
| [controlroom](https://
|
|
543
|
+
| [controlroom](https://controlroom.interlace.tools/docs) | Full-screen, keyboard-driven terminal screens | ink, graded by ink's own suite |
|
|
541
544
|
|
|
542
545
|
Every migration guide, and the family-wide [compatibility](https://burgee.interlace.tools/docs/compatibility)
|
|
543
546
|
and [benchmarks](https://burgee.interlace.tools/docs/benchmarks) pages, are on
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flagstaff",
|
|
3
|
-
"version": "1.2.
|
|
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.
|
|
145
|
-
"linegauge": "^1.0.
|
|
146
|
-
"paratext": "^1.0.
|
|
147
|
-
"roundel": "^1.0.
|
|
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",
|