@theholocron/cli 5.0.0-alpha.274 → 5.0.0-alpha.276
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 -3
- package/dist/cli.mjs +5205 -4766
- package/dist/cli.mjs.map +1 -1
- package/dist/{index-EayNimLh.d.mts → index-Czpb0oQX.d.mts} +98 -2
- package/dist/{index-CmNllp81.d.mts → index-DvgH4Vvm.d.mts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/plugin/capabilities.d.mts +2 -2
- package/dist/presets.d.mts +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -274,8 +274,9 @@ unverified/unattributed commit. Repository-admin bypass still covers the real
|
|
|
274
274
|
risk. And the `codecov.yml` `holocron repo setup` writes carries `if_not_found:
|
|
275
275
|
success` on every status default, so an infra-only PR (dep bump, config,
|
|
276
276
|
lockfile — no coverable change) passes instead of hanging on a `codecov/*`
|
|
277
|
-
required check that never posts.
|
|
278
|
-
an
|
|
277
|
+
required check that never posts. It also ignores `**/*.mdx`, so a docs-only PR that
|
|
278
|
+
adds pages is not judged to change testable files and left with an empty upload.
|
|
279
|
+
A re-run of `holocron repo setup` backfills all of these into an existing repo.
|
|
279
280
|
|
|
280
281
|
### Default branch (`repo.defaultBranch`)
|
|
281
282
|
|
|
@@ -550,6 +551,7 @@ commands and the config are provider-neutral; Discord is the first provider.
|
|
|
550
551
|
| `holocron doctor notifications [--built-only] [--deliver]` | Step by step: does the server match the layout, do the secrets exist, and does a person (not the bot) own it. A full run also leaves one `🧪 test:` post in the layout's `testChannel`; `--built-only` posts nothing; `--deliver` posts to every channel and removes each post |
|
|
551
552
|
| `holocron doctor variables` | Do the Actions variables `repo.variables` declares exist, with those values (and, for the organization's, that visibility)? One row for the repository and one for the organization, each only when declared. Read-only. An undeclared variable counts only with `prune`; a scope that cannot be read (no provider, no org token) is a skip, not a failure |
|
|
552
553
|
| `holocron doctor environments` | Do the deployment environments exist? The ones `repo setup` creates (`staging`, `production`, when an `environments` provider is configured) plus every environment `repo.secrets.environments` names. One row. A missing one fails; an extra one is never a problem; no provider with some named is a skip |
|
|
554
|
+
| `holocron doctor repo` | Do the repository settings `repo setup` writes match the config? One row per group the config declares: description and homepage, default branch and merge settings, topics, custom properties, team access, branch protection; labels and security settings are always checked. Read-only. Reads through optional `Source` methods (`getRepoInfo`, `getProperties`, `listLabels`, `listTeamAccess`, `getRulesetDetail`, `getSecurity`); a group that cannot be read is a skip, not a failure |
|
|
553
555
|
| `holocron doctor dns` | Do the DNS records the config makes setup write exist, pointing where they should? The preview domain's apex and wildcard CNAMEs (Cloudflare), the docs host a wiki provider asks for, and the relay Worker's proxied placeholder; one row per zone. A missing record, another target or a missing proxy fails; an extra record never does. A record `ensureCustomDomain()` returns is not checked, because asking for it creates the domain |
|
|
554
556
|
| `holocron doctor monitoring` | Do the checks the `monitoring` provider declares exist in its account, matched by name, with the URL, method and (when stated) frequency, locations, activated, should-fail, body and assertions the config sets? One row. A check in the account that is not declared is never a problem. A provider that cannot list its checks, failed to load or has no token is a skip |
|
|
555
557
|
| `holocron doctor secrets` | Do the secrets the config says must exist (`repo.secrets`, plus the notification layout's webhook and role secrets and the Chromatic token) exist? One row for the repository, the organization and each environment, each only when something is expected there. Names only; an undeclared secret is never a problem. A scope that cannot be read is a skip |
|
|
@@ -776,7 +778,7 @@ the local override exists to exempt.
|
|
|
776
778
|
`package bump-versions`, `sync github`, `repo upgrade node`,
|
|
777
779
|
`repo upgrade deps`, `new plugin`, `auth`, `notifications setup`,
|
|
778
780
|
`notifications channel add`, `notifications link`,
|
|
779
|
-
`notifications sync-roles`, `doctor dns`, `doctor environments`, `doctor monitoring`, `doctor notifications`, `doctor secrets`, `doctor tokens`, `doctor variables`
|
|
781
|
+
`notifications sync-roles`, `doctor dns`, `doctor environments`, `doctor monitoring`, `doctor notifications`, `doctor repo`, `doctor secrets`, `doctor tokens`, `doctor variables`
|
|
780
782
|
- `src/commands/doctor-checks/` and `src/commands/deep-checks/` — the shared row
|
|
781
783
|
renderer and `declaredVsActual` helper, and `DEEP_CHECKS`, the registry every
|
|
782
784
|
`doctor <capability>` is listed in
|