@dialecte/cli 0.8.3 → 0.9.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/README.md +5 -5
- package/dist/cli.js +10004 -7211
- package/dist/lookups.d.ts +356 -1
- package/dist/lookups.js +2579 -210
- package/dist/schemas/config-yml.schema.json +3 -0
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -152,7 +152,7 @@ Each has its page: [`rules`](doc/commands/rules.md), [`gate`](doc/commands/gate.
|
|
|
152
152
|
### The base branch
|
|
153
153
|
|
|
154
154
|
Every command that reads the base branch (the gate's base, `mutants`, `tdd`, `worktree add` and `worktree prune`,
|
|
155
|
-
`lot close`, the hand-over's target) finds it the same way, the first rule that answers winning:
|
|
155
|
+
`lot close`, `lot prune`, the hand-over's target) finds it the same way, the first rule that answers winning:
|
|
156
156
|
|
|
157
157
|
1. `dialecte.baseBranch` when set (an optional override). Set to a branch that
|
|
158
158
|
exists nowhere, it is refused, never replaced by another (a package without a `dialecte.gate` config too: its
|
|
@@ -165,13 +165,13 @@ Every command that reads the base branch (the gate's base, `mutants`, `tdd`, `wo
|
|
|
165
165
|
5. Nothing found: refused with `no base branch found (no dialecte.baseBranch, no origin/HEAD, no main, no master):
|
|
166
166
|
name it as dialecte.baseBranch in package.json`. The gate alone keeps selecting everything (with a note) in that
|
|
167
167
|
case; `worktree add` without `--from` refuses, `worktree prune` skips the repository with the text, `lot close`
|
|
168
|
-
|
|
168
|
+
and `lot prune` hold nothing through the base, and `tdd` measures from HEAD.
|
|
169
169
|
|
|
170
170
|
Each rule reads the branch where it is newest: the local branch or origin's, whichever is ahead of the other, and
|
|
171
171
|
origin's when they diverged. The remote is the truth: a merge queue lands on the host, so a local base branch goes
|
|
172
|
-
stale. `worktree add` (without `--from`) fetches origin before it cuts the branch, and `lot close`
|
|
173
|
-
fast-
|
|
174
|
-
moved otherwise; a line says when it does not move). A fetch that fails says so and the last known refs are read. A
|
|
172
|
+
stale. `worktree add` (without `--from`) fetches origin before it cuts the branch, and `lot close` and `lot prune`
|
|
173
|
+
fetch it and fast-forward the local base branch (merged in the main checkout when it is checked out there and clean,
|
|
174
|
+
its ref moved otherwise; a line says when it does not move). A fetch that fails says so and the last known refs are read. A
|
|
175
175
|
lot's own branch is always read locally.
|
|
176
176
|
|
|
177
177
|
The repository field of `package.json` is a URL and is never read for this. `mutants` finds `origin/<b>` through
|