@antelopejs/tooling-configs 0.2.8 → 0.2.9

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 CHANGED
@@ -33,6 +33,17 @@ The AntelopeJS guardrail pack: shared lint, format and dead-code presets, the co
33
33
  | bin | `antelopejs-api-diff <base-ref>` | Compares published declaration bundles against committed HEAD |
34
34
  | bin | `antelopejs-comment-proof <base-ref>` | Compares comment-free JavaScript emit against committed HEAD |
35
35
  | bin | `antelopejs-check-interface-ranges` | Fails on interface ranges that break module startup |
36
+ | bin | `antelopejs-garden [--json] [--apply-pauses]` | The Gardener's scans of the organization through the GitHub API and npm |
37
+
38
+ ## antelopejs-garden
39
+
40
+ `antelopejs-garden` is the Gardener's deterministic scan. It reads the non-archived AntelopeJS repositories whose `pack` property is `full` or `template` and whose `tier` is N1 to N3, through the GitHub API and the npm registry, authenticated with the token `gh` is logged in with. It never clones.
41
+
42
+ - `--json` prints `{ generatedAt, findings, pauses, skipped }`. A finding is `{ key, repo, check, subject, severity, evidence, doneMeans }` with the key `repo|check|subject`, sorted. `skipped` lists every check whose source does not exist yet, or that could not run.
43
+ - Without `--json` it prints failures only. The exit code is non-zero only when a check could not run.
44
+ - `--apply-pauses` sets the repository variable `NEXT_AUTOMERGE` to `shadow` on repositories where it is `on`, when `checks` is red on `next`, the ratchet file is back on a Clean repository, or governance drifted. It never sets `on` and writes nothing else.
45
+
46
+ `antelopejs-sync` (full profile) writes the weekly mutation caller `.github/workflows/mutation.yml`, and both profiles keep the shared CI caller on the job id `ci`, so the check is reported as `ci / checks`.
36
47
 
37
48
  ## Install
38
49
 
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { l as runCli, o as repositoryRoot } from "../files-BMxKg5IR.mjs";
2
+ import { t as runCli } from "../cli-4Tv71vYk.mjs";
3
+ import { o as repositoryRoot } from "../files-2FikHZ9F.mjs";
3
4
  import { i as parseManifest, r as packageManager } from "../package-Dtjt_lSa.mjs";
4
- import { a as unpublishedAt, c as revisionCounts, d as describeAllowance, f as fillStars, i as packagesAt, l as allowedByGlob, n as isTestSource, o as DIRECTORY_LINK, p as recordVerdict, r as outputRoot, s as compareRevisions, t as emitPackage, u as createAddedPolicy } from "../typescript-YufoJnck.mjs";
5
+ import { a as unpublishedAt, c as revisionCounts, d as describeAllowance, f as fillStars, i as packagesAt, l as allowedByGlob, n as isTestSource, o as DIRECTORY_LINK, p as recordVerdict, r as outputRoot, s as compareRevisions, t as emitPackage, u as createAddedPolicy } from "../typescript-C54ONh9m.mjs";
5
6
  import { createRequire } from "node:module";
6
7
  import { copyFileSync, cpSync, existsSync, mkdirSync, readFileSync, readdirSync, rmSync, symlinkSync, writeFileSync } from "node:fs";
7
8
  import { basename, dirname, join, relative, resolve } from "node:path";
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { a as repositoryPath, l as runCli, o as repositoryRoot, t as authoredSizes } from "../files-BMxKg5IR.mjs";
3
- import { t as checkSize } from "../size-Fp3aWSkN.mjs";
4
- import { a as revisionSuppressions, o as worktreeSuppressions } from "../suppressions-C3AE6_I-.mjs";
2
+ import { t as runCli } from "../cli-4Tv71vYk.mjs";
3
+ import { a as repositoryPath, o as repositoryRoot, t as authoredSizes } from "../files-2FikHZ9F.mjs";
4
+ import { t as checkSize } from "../size-BVgNbLO6.mjs";
5
+ import { a as revisionSuppressions, o as worktreeSuppressions } from "../suppressions-BJAngUxo.mjs";
5
6
  import { resolve } from "node:path";
6
7
  import { parseArgs } from "node:util";
7
8
  //#region src/guardrails/directives.ts
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import "../ceilings-BSw9p4YB.mjs";
3
- import { l as runCli, o as repositoryRoot } from "../files-BMxKg5IR.mjs";
3
+ import { t as runCli } from "../cli-4Tv71vYk.mjs";
4
+ import { o as repositoryRoot } from "../files-2FikHZ9F.mjs";
4
5
  import { i as parseManifest, r as packageManager } from "../package-Dtjt_lSa.mjs";
5
6
  import { existsSync, readFileSync } from "node:fs";
6
7
  import { join } from "node:path";
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { l as runCli, o as repositoryRoot } from "../files-BMxKg5IR.mjs";
3
- import { c as revisionCounts, i as packagesAt, s as compareRevisions, t as emitPackage } from "../typescript-YufoJnck.mjs";
2
+ import { t as runCli } from "../cli-4Tv71vYk.mjs";
3
+ import { o as repositoryRoot } from "../files-2FikHZ9F.mjs";
4
+ import { c as revisionCounts, i as packagesAt, s as compareRevisions, t as emitPackage } from "../typescript-C54ONh9m.mjs";
4
5
  import { copyFileSync, mkdirSync } from "node:fs";
5
6
  import { dirname, join, relative } from "node:path";
6
7
  //#region src/guardrails/comment-proof.ts
@@ -0,0 +1 @@
1
+ export {}