flagstaff 1.2.4 → 1.2.5

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 +26 -16
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -502,15 +502,12 @@ Every component, every registered plugin and every border is on the
502
502
  which is generated by running them — the static projection beside the animation, in all
503
503
  five modes.
504
504
 
505
- ## Following along
505
+ ## Design documents
506
506
 
507
- The intent and design are committed before the code is, so you can read what it will be —
508
- and argue with it — before it exists:
509
-
510
- - [`.sdlc/intents/flagstaff/`](https://github.com/ofri-peretz/burgee/tree/main/.sdlc/intents/flagstaff)
511
- — the intent and the design.
512
- - [Open an issue](https://github.com/ofri-peretz/burgee/issues) if your CLI needs something
513
- this list does not cover. That is the cheapest time to say so.
507
+ The intent and the design are committed beside the code, with the status of every
508
+ requirement: [`.sdlc/intents/flagstaff/`](https://github.com/ofri-peretz/burgee/tree/main/.sdlc/intents/flagstaff).
509
+ If your CLI needs a component the [gallery](https://burgee.interlace.tools/docs/gallery) does
510
+ not show, [open an issue](https://github.com/ofri-peretz/burgee/issues).
514
511
 
515
512
  ## API
516
513
 
@@ -525,22 +522,35 @@ Plugins register under the `tokens`, `glyphs`, `spinners`, `borders`, `component
525
522
 
526
523
  ## The family
527
524
 
528
- Ten packages, one repository, one release pipeline. A CLI on burgee declares what it is, roundel
529
- carries its colours, flagstaff flies it and caique answers back; each installs on its own, and none
530
- takes a dependency from outside the family.
525
+ Ten packages, one repository, one release pipeline. Each installs and works on its own, and each
526
+ owns one job. Six of them — `bellpull`, `closeout`, `linegauge`, `paratext`, `roundel`, `seniority`
527
+ — depend on nothing; the others depend only on packages in this table, and every dependency points
528
+ one way, down the [layers](https://burgee.interlace.tools/docs/concepts/family).
529
+
530
+ No package declares a dependency from outside the family; `react` and `react-reconciler` are
531
+ optional peers of `controlroom`, which npm does not install.
532
+ [`package-shape-lock`](https://github.com/ofri-peretz/burgee/blob/main/scripts/package-shape-lock.test.ts)
533
+ holds that for every manifest, and
534
+ [`independence-install-lock`](https://github.com/ofri-peretz/burgee/blob/main/scripts/independence-install-lock.test.ts)
535
+ installs each package alone and finds nothing but the family packages it declares.
536
+
537
+ Releases are published by one workflow through npm trusted publishing: no npm token is used, and
538
+ each release carries SLSA provenance, which `npm view <package> dist.attestations` shows.
539
+ [`trusted-publishing-lock`](https://github.com/ofri-peretz/burgee/blob/main/scripts/trusted-publishing-lock.test.ts)
540
+ keeps both true.
531
541
 
532
- | Package | What it is | Replaces |
542
+ | Package | What it is | Migrates from |
533
543
  | :-- | :-- | :-- |
534
- | [burgee](https://burgee.interlace.tools/docs/packages/burgee) | The CLI framework: one declaration, every surface | commander and yargs |
544
+ | [burgee](https://burgee.interlace.tools/docs/packages/burgee) | The CLI framework: one declaration, every surface | commander, yargs and meow |
535
545
  | [roundel](https://roundel.interlace.tools/docs) | Colour: one output policy, semantic tokens, a theme | chalk |
536
546
  | **flagstaff** (this package) | The frame loop: spinners, progress, boxes and tables | ora, log-update, boxen and cli-table3 |
537
- | [caique](https://caique.interlace.tools/docs) | Prompts that are flags first, and never hang | inquirer and clack |
547
+ | [caique](https://caique.interlace.tools/docs) | Prompts that are flags first, and never hang | @inquirer/core |
538
548
  | [linegauge](https://linegauge.interlace.tools/docs) | Measuring, wrapping, truncating and slicing styled text | string-width, wrap-ansi, strip-ansi and slice-ansi |
539
549
  | [paratext](https://paratext.interlace.tools/docs) | Hyperlinks, images, title, clipboard and notifications | ansi-escapes, terminal-link and term-img |
540
- | [seniority](https://seniority.interlace.tools/docs) | Configuration precedence and discovery, with provenance | cosmiconfig, dotenv and rc |
550
+ | [seniority](https://seniority.interlace.tools/docs) | Configuration precedence and discovery, with provenance | cosmiconfig, lilconfig, dotenv and rc |
541
551
  | [closeout](https://closeout.interlace.tools/docs) | Exit handlers, terminal restore and a bounded shutdown | signal-exit, exit-hook and restore-cursor |
542
552
  | [bellpull](https://bellpull.interlace.tools/docs) | Subprocesses, and which executable actually ran | cross-spawn and which |
543
- | [controlroom](https://controlroom.interlace.tools/docs) | Full-screen, keyboard-driven terminal screens | ink, graded by ink's own suite |
553
+ | [controlroom](https://controlroom.interlace.tools/docs) | Keyboard-driven terminal screens, inline or full-screen | ink |
544
554
 
545
555
  Every migration guide, and the family-wide [compatibility](https://burgee.interlace.tools/docs/compatibility)
546
556
  and [benchmarks](https://burgee.interlace.tools/docs/benchmarks) pages, are on
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flagstaff",
3
- "version": "1.2.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.",
3
+ "version": "1.2.5",
4
+ "description": "Spinners, progress, boxes and tables on one terminal frame loop, with a static projection for pipes, screen readers and agents, and a plugin host. No dependency outside the burgee family. Drop-in paths for ora, log-update, boxen and cli-table3.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": ["./dist/cli.js", "./dist/log-tail.js", "./dist/tab-bar.js"],
@@ -141,10 +141,10 @@
141
141
  "json"
142
142
  ],
143
143
  "dependencies": {
144
- "closeout": "^1.0.3",
145
- "linegauge": "^1.0.7",
146
- "paratext": "^1.0.3",
147
- "roundel": "^1.0.3"
144
+ "closeout": "^1.0.4",
145
+ "linegauge": "^1.0.8",
146
+ "paratext": "^1.0.4",
147
+ "roundel": "^1.0.4"
148
148
  },
149
149
  "devDependencies": {
150
150
  "fast-check": "^4.10.2",