@wirecat/cli-base 0.90.1 → 0.92.0

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/CHANGELOG.md CHANGED
@@ -8,6 +8,26 @@ Versions before 0.8.0 are in the [git tags](https://github.com/WireCatLabs/cli-b
8
8
  Every entry says what changed as a caller sees it, why, and what to watch for — the rules are
9
9
  [`docs/dev/CONVENTIONS.md`](docs/dev/CONVENTIONS.md#the-changelog).
10
10
 
11
+ ## 0.92.0 — 08.11.2026
12
+
13
+ ### Added
14
+
15
+ - **`node-ci.yml` fails a pull request that commits a merge conflict marker, and names the file and line.** A marker
16
+ line left by a stopped merge or rebase still parses in Markdown, so one in a changelog passed CI. A repository gets
17
+ the check when its `node-ci.yml` pin moves; a fixture that keeps markers on purpose goes in the new
18
+ `conflict-marker-ignore` input. A Markdown heading underlined with exactly seven `=` now fails: use more, or `#`.
19
+
20
+ ## 0.91.0 — 08.11.2026
21
+
22
+ ### Changed — may break callers
23
+
24
+ - **A charge's repeat is `--period <count-unit>`, and `--every` takes only `<duration>` again.** Flag
25
+ `--period` (`value`, a count and a calendar unit such as `1-month`) is how often a charge repeats. `--every` lost
26
+ its second value kind `<count-unit>`: one flag with two kinds of value is what `cli-dev audit`'s `same-flag-meaning`
27
+ exists to catch, and memo's `subscriptions --every` failed it beside drive, gcal, mail, max and tg. A CLI that gives
28
+ `--every` a `<count-unit>` now fails `flag-two-meanings` in `cli-dev lint`: rename it to `--period`. memo is the only
29
+ one.
30
+
11
31
  ## 0.90.1 — 08.11.2026
12
32
 
13
33
  ### Fixed
@@ -102,6 +102,13 @@ export const CRM_FLAGS = [
102
102
  type: "choice",
103
103
  meaning: "it renews by itself at its end, or it does not",
104
104
  },
105
+ {
106
+ name: "--period",
107
+ value: "<count-unit>",
108
+ role: "value",
109
+ type: "duration",
110
+ meaning: "how often a charge repeats: a count and a calendar unit, such as 1-month",
111
+ },
105
112
  {
106
113
  name: "--opening-balance",
107
114
  value: "<decimal>",
@@ -736,14 +736,7 @@ export const WHAT_FLAGS = [
736
736
  type: "id",
737
737
  meaning: "the stored calendar event it is linked to, or none to unlink",
738
738
  },
739
- {
740
- name: "--every",
741
- value: "<duration>",
742
- role: "value",
743
- type: "duration",
744
- otherValues: ["count-unit"],
745
- meaning: "repeat this often: a length of time for a timer (<duration>), a count and a calendar unit for a charge, such as 1-month (<count-unit>)",
746
- },
739
+ { name: "--every", value: "<duration>", role: "value", type: "duration", meaning: "repeat this often" },
747
740
  {
748
741
  name: "--evidence",
749
742
  value: "<ref...>",
@@ -43,7 +43,7 @@ the four steps that need a person. A new CLI is ready for its first release when
43
43
  | [Documents](docs.md) | `DOC` | 21 | User pages and developer pages, generated pages, current facts, changelog, repository page |
44
44
  | [Comparisons](comparisons.md) | `CMP` | 11 | Which tools a comparison page lists, rows as user tasks, agents and safety, where others are better, proof of marks |
45
45
  | [Releases](releases.md) | `REL` | 16 | `bin/release`, the release lock, versions, the owner's yes, trusted publishing |
46
- | [CI](ci.md) | `CI` | 12 | Hooks, the pull request budget, full validation, monthly runs |
46
+ | [CI](ci.md) | `CI` | 13 | Hooks, the pull request budget, full validation, monthly runs, conflict markers |
47
47
  | [Time](time.md) | `TIME` | 7 | UTC in the store and in answers, the zone at input and display edges, date-only filters, tests in another zone, the time in answers agents plan by |
48
48
  | [Style](style.md) | `STYLE` | 10 | Comments, TypeScript habits, commit messages |
49
49
  | [New CLI](new-cli.md) | — | — | Starting a new CLI from the template: the command, the four manual steps, the checks |
@@ -231,6 +231,19 @@ its prompt in cli-template says so from cli-template 0.8.0. A CLI on an older te
231
231
  - **Exceptions:** none.
232
232
  - **Applies to:** all CLIs. **Since:** cli-base 0.41.0. **Rulings:** none.
233
233
 
234
+ ### WC-CI-14 · Fail a pull request that commits a merge conflict marker
235
+
236
+ - **Why:** git writes marker lines into a file when a merge, rebase or cherry-pick stops on a conflict. Markdown,
237
+ YAML and JSON strings still parse with them, so a marker left in `CHANGELOG.md` passed every other check twice.
238
+ - **Enforced by:** `node-ci.yml:check`.
239
+ - **Example:** the first step after the checkout runs `git grep` over the tracked text files and fails on a line that
240
+ starts with `<<<<<<<`, `|||||||` or `>>>>>>>` and a space, or is exactly `=======`. It prints one error per hit with
241
+ the file and line. A fixture that keeps markers on purpose goes in the `conflict-marker-ignore` input, as git path
242
+ patterns separated by spaces.
243
+ - **Exceptions:** a Markdown heading underlined with exactly seven `=` fails; underline it with more, or use `#`.
244
+ cli-docs and community do not call `node-ci.yml`. A repository gets the check when its `node-ci.yml` pin moves.
245
+ - **Applies to:** the CLIs, cli-base, cli-core and cli-testing. **Since:** cli-base 0.90.0. **Rulings:** none.
246
+
234
247
  ## Sources
235
248
 
236
249
  These documents explain the rules on this page in more detail. Where one of them disagrees with this page, this page
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-base",
3
- "version": "0.90.1",
3
+ "version": "0.92.0",
4
4
  "description": "The parts every command line tool needs: output modes, terminal rendering, error model, exit codes, credentials, clocks",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Viacheslav Ptsarev",