@mark1russell7/conventions 0.29.2 → 0.29.3

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
@@ -50,6 +50,7 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
50
50
  | `no-local-paths` | No tracked file has the home folder of a user: `C:\Users\<name>`, `/Users/<name>` or `/home/<name>`. A CI user (`runner`), a name of one character and a placeholder (`<you>`) are not a break. | client `I12`. systems `no-identifying-names`, `no-private-identifiers`, `no-private-names`. coeval `no-private-names`. |
51
51
  | `release-files` | A pull request changes `.github/workflows/release.yml` or `scripts/release/` only with a line `Release-Edit: <reason>` in a commit message or in the body of the pull request. The commits of the release bot (the sync of the template) need no reason. | coeval `no-release-edit`, `no-release-edits`. crawler `no-release-edit`, `no-release-edits`. headroom `no-release-edits`, `release-files-frozen`. |
52
52
  | `unreleased-change` | A change does not set a version that npm has: the release skips such a version. The rule compares the version of the head of the change with the version of its merge base, so a version that only the base branch changed does not count. A repository where each pull request sets its version sets the option `versionEachChange`. Then a change of the shipped files also raises the version, when npm has that version already. The files that ship are the files of the folder of the package, without the tests, the fixtures, the Markdown files and the configs (the option `unshipped`). When git tracks each entry of the field `files`, only those entries ship. A change of `package.json` ships when a field of the option `fields` changes, for example `exports`, but not the dependencies. On a push to the default branch, a version that the push sets breaks only when npm had it before the push. The release of the same push can publish it. An error of the registry makes the rule show `skip`. A repository with `.changeset/config.json`, a private package and a version `0.0.0` or `0.0.0-<stage>` are not examined. | rigor #18 and #20 (2026-11-02): two pull requests set the same version, and the second change did not get to npm. crawler, coeval, template `release.yml`. |
53
+ | `published-minor` | A consumer does not stay behind the newest published minor of a package that the option `packages` names. The rule compares each range, and each version of `pnpm-lock.yaml`, with the tag `latest` of npm. A caret range of a `0.x` version cannot reach the next minor. With no `packages`, the rule does not start. | a consumer that stayed behind a published minor |
53
54
  | `changelog-version` | The top version section of the changelog of a package (`CHANGELOG.md` in its folder) is not above the version of its `package.json`. A section "Unreleased" does not count. With the option `everyVersion`, the top section is the same version. On 2026-11-03 a pull request added the section 0.5.0 with two breaking changes and left `package.json` at 0.4.1. A change of a dependency range then made the train plan the PATCH 0.4.2. | packing #249 and #253, release-train (2026-11-03). |
54
55
  | `typed-scripts` | Git keeps no JavaScript source (`.js`, `.mjs`, `.cjs`, `.jsx`, or a file with a `#!` line of `node`) and no shell script (`.sh`, `.bash`, `.zsh`, `.ps1`, or a `#!` line of a shell) of more than one line of code. Each script is TypeScript, which Node 22.18 and later starts directly. A file that must stay (generated output, vendored code, a configuration that a tool reads only as JavaScript) goes in `ignore` with its reason, so the list of exceptions can only get shorter. | private `typed-everything` (STRATEGY.md, direction 15). |
55
56
  | `typed-files` | Each TypeScript file that git keeps (`.ts`, `.tsx`, `.mts`, `.cts`, not `.d.ts`) is in the program of a tsconfig that a `typecheck` script names: the tests, the e2e specs, the scripts, the benches and the configs too. The rule reads the configs of each `tsc`, `tsgo` or `vue-tsc` (`-p`, `--project`, `-b`, or `tsconfig.json`) and of `svelte-check --tsconfig`, follows their `references`, and lists the files with `tsc --listFilesOnly`. A file that a covered file imports is covered. A config that does not exist, and a repository where no typecheck names a config, are a break. | private `fail-closed` (STRATEGY.md, 2026-10-30). |
@@ -117,6 +118,9 @@ An unknown rule, an unknown option, or an exception or a changed option without
117
118
  | `unreleased-change.unshipped` | tests, fixtures, Markdown, configs, `docs/`, `scripts/` and dot folders | With `versionEachChange`: the globs of the files of a package, relative to its folder, that do not ship. `conventions --list` shows the full list. |
118
119
  | `unreleased-change.fields` | `main`, `exports`, `bin`, `files`, `publishConfig` and more | With `versionEachChange`: the fields of `package.json` whose change ships. |
119
120
  | `unreleased-change.registry` | `https://registry.npmjs.org` | The URL of the registry that has the versions. |
121
+ | `published-minor.packages` | `[]` | The patterns of the package names that the rule examines, for example `@scope/*`. |
122
+ | `published-minor.graceDays` | `0` | The days that a consumer has, from the first publish of a minor that it does not have. |
123
+ | `published-minor.registry` | `https://registry.npmjs.org` | The URL of the registry that has the versions. |
120
124
  | `changelog-version.file` | `CHANGELOG.md` | The name of the changelog in the folder of each package. |
121
125
  | `changelog-version.everyVersion` | `false` | When `true`, the top section also names the version of `package.json`, so each version has its section. |
122
126
  | `typed-scripts.javascript` | `[".js", ".mjs", ".cjs", ".jsx"]` | The extensions of JavaScript source. |
package/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as runCli } from "./run-NWNXpkly.js";
2
+ import { c as runCli } from "./run-COJ2_vAb.js";
3
3
  // src/cli.ts
4
4
  try {
5
5
  process.exitCode = runCli(process.argv.slice(2), {
package/build/index.d.ts CHANGED
@@ -281,6 +281,51 @@ export declare function isGitSpecifier(spec: string): boolean;
281
281
  export declare function isPinned(spec: string, fullSha: boolean): boolean;
282
282
  export declare const pinnedGitDeps: Rule;
283
283
  export declare const pushMainOnly: Rule;
284
+ /**
285
+ * The answer of the registry for one package, or an error. The answer has each version that npm has or had (none for a
286
+ * new package), the time of each publish (ISO 8601) and the version of the tag `latest`.
287
+ */
288
+ type RegistryAnswer = {
289
+ readonly versions: readonly string[];
290
+ readonly times?: Readonly<Record<string, string>>;
291
+ readonly latest?: string;
292
+ } | {
293
+ readonly error: string;
294
+ };
295
+ /** This function gives the answer of the registry at the URL `registry` for each package name of `names`. */
296
+ type RegistryLookup = (names: readonly string[], registry: string) => ReadonlyMap<string, RegistryAnswer>;
297
+ /** The registry of npm. */
298
+ export declare const NPM_REGISTRY = "https://registry.npmjs.org";
299
+ /** The globs of the files of a package, relative to its folder, that do not ship: tests, fixtures, docs and configs. */
300
+ export declare const UNSHIPPED_FILES: readonly string[];
301
+ /** The fields of `package.json` that change what the package gives to a user. A change of the dependencies is not here. */
302
+ export declare const SHIPPED_FIELDS: readonly string[];
303
+ /**
304
+ * This function asks the registry for the versions of each package, in one child process of Node. A version that npm
305
+ * removed stays in the answer, because npm does not accept it again.
306
+ */
307
+ export declare const npmLookup: RegistryLookup;
308
+ /** This function makes the rule with the registry lookup `lookup`. The tests give a fake lookup. */
309
+ export declare function unreleasedChangeRule(lookup?: RegistryLookup): Rule;
310
+ export declare const unreleasedChange: Rule;
311
+ /** A major and a minor. The minor `Infinity` means each minor of the major. */
312
+ type Minor = readonly [major: number, minor: number];
313
+ /** This function gives the major and the minor of a release version, or undefined for a pre-release and for other text. */
314
+ export declare function minorOf(version: string): Minor | undefined;
315
+ /**
316
+ * This function gives the highest minor that a range can reach. It gives undefined for a form that the rule does not read.
317
+ * These forms are a `workspace:` or `github:` specifier, a tag, a partial version and a compound range. Below `1.0.0`, a caret stays in
318
+ * its minor. From `1.0.0`, a caret reaches each minor of its major.
319
+ */
320
+ export declare function reachOf(specifier: string): Minor | undefined;
321
+ /**
322
+ * This function gives the locked version of each dependency of each importer of the text of a `pnpm-lock.yaml` file. The
323
+ * key of the outer map is the folder of the importer, with `""` for the root.
324
+ */
325
+ export declare function lockedVersions(text: string): ReadonlyMap<string, ReadonlyMap<string, string>>;
326
+ /** This function makes the rule with the registry lookup `lookup` and the clock `now`. The tests give fakes. */
327
+ export declare function publishedMinorRule(lookup?: RegistryLookup, now?: () => number): Rule;
328
+ export declare const publishedMinor: Rule;
284
329
  export declare const releaseFiles: Rule;
285
330
  export declare const requiredScripts: Rule;
286
331
  /** This function gives the value of a `roadmap: <file>` line, or undefined for another line, an empty value or an expression. */
@@ -334,32 +379,6 @@ export declare const TRAIN_SCOPES: readonly ["@mark1russell7/*", "@procedures/*"
334
379
  /** 7 days, in minutes. */
335
380
  export declare const IGNORE_AFTER = 10080;
336
381
  export declare const trustPolicy: Rule;
337
- /**
338
- * The answer of the registry for one package, or an error. The answer has each version that npm has or had (none for a
339
- * new package) and the time of each publish (ISO 8601).
340
- */
341
- type RegistryAnswer = {
342
- readonly versions: readonly string[];
343
- readonly times?: Readonly<Record<string, string>>;
344
- } | {
345
- readonly error: string;
346
- };
347
- /** This function gives the answer of the registry at the URL `registry` for each package name of `names`. */
348
- type RegistryLookup = (names: readonly string[], registry: string) => ReadonlyMap<string, RegistryAnswer>;
349
- /** The registry of npm. */
350
- export declare const NPM_REGISTRY = "https://registry.npmjs.org";
351
- /** The globs of the files of a package, relative to its folder, that do not ship: tests, fixtures, docs and configs. */
352
- export declare const UNSHIPPED_FILES: readonly string[];
353
- /** The fields of `package.json` that change what the package gives to a user. A change of the dependencies is not here. */
354
- export declare const SHIPPED_FIELDS: readonly string[];
355
- /**
356
- * This function asks the registry for the versions of each package, in one child process of Node. A version that npm
357
- * removed stays in the answer, because npm does not accept it again.
358
- */
359
- export declare const npmLookup: RegistryLookup;
360
- /** This function makes the rule with the registry lookup `lookup`. The tests give a fake lookup. */
361
- export declare function unreleasedChangeRule(lookup?: RegistryLookup): Rule;
362
- export declare const unreleasedChange: Rule;
363
382
  export declare const workspaceProtocol: Rule;
364
383
  /** Each rule of the check. */
365
384
  export declare const RULES: readonly Rule[];
@@ -525,5 +544,5 @@ export declare function workspaceGlobs(root: string): string[] | undefined;
525
544
  * The result has absolute paths, in the order of the code units.
526
545
  */
527
546
  export declare function packageFolders(root: string, globs?: readonly string[] | undefined): string[];
528
- export type { AuditSource, Break, CheckOptions, CheckResult, CliIo, ConventionsConfig, Edit, FixResult, Home, HomeAnswer, HomeFetch, HomeState, Manifest, OptionSpec, OptionValue, Options, PackageInfo, PagesCall, PathFilter, RegistryAnswer, RegistryLookup, Rule, RuleConfig, RuleContext, RuleOutcome, RuleResult, Workflow, WorkflowInput, WorkflowJob, WorkflowStep };
547
+ export type { AuditSource, Break, CheckOptions, CheckResult, CliIo, ConventionsConfig, Edit, FixResult, Home, HomeAnswer, HomeFetch, HomeState, Manifest, Minor, OptionSpec, OptionValue, Options, PackageInfo, PagesCall, PathFilter, RegistryAnswer, RegistryLookup, Rule, RuleConfig, RuleContext, RuleOutcome, RuleResult, Workflow, WorkflowInput, WorkflowJob, WorkflowStep };
529
548
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-trigger.ts","../src/map.ts","../src/rules/home-package.ts","../src/rules/license-file.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-local-paths.ts","../src/rules/api-report-script.ts","../src/rules/pages-site.ts","../src/rules/pinned-git-deps.ts","../src/rules/push-main-only.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/rules/shared-docs.ts","../src/rules/source-main.ts","../src/rules/tests-required.ts","../src/rules/tsconfig-test.ts","../src/rules/typed-files.ts","../src/rules/typed-scripts.ts","../src/rules/trust-policy.ts","../src/rules/unreleased-change.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/home-exports.ts","../src/workflow.ts","../src/run.ts","../src/release-text.ts","../src/workspace.ts"],"mappings":";UASiB;WACN;WACA;WACA;;;UAIM;;WAEN;;WAEA;WACA;;WAEA;;WAEA,iBAAiB;;;;;;UAOX;;WAEN;;WAEA;;WAEA;;;wBAIK,YAAY,cAAc,cAAc;;KAQ5C;;KAGA,UAAU,SAAS,eAAe;;UAG7B;WACN;WACA,SAAS;WACT;;;KAIC,WAAW,SAAS;;UAGf;;WAEN;;WAEA;;WAEA;;WAEA;WACA,UAAU;;;UAIJ;;WAEN;;WAEA,aAAa;;WAEb,mBAAmB;;WAEnB,KAAK,SAAS;;WAEd;;EAET;;EAEA,IAAI;;;KAIM,uBAAuB;WAAqB;;;UAGvC;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;;;;;WAKjC;EACT,MAAM,SAAS,aAAa,SAAS,UAAU;;;qBAIpC;;wBAGG,aAAa,UAAU,UAAU;;wBAOjC,OAAO,cAAc,gBAAgB;;wBAOrC,QAAQ,cAAc,eAAe;;qBAMxC,WAAY,gBAAgB;;qBAG5B,YAAa;;wBAGV,WAAW,cAAc;;;;;;wBASzB,WAAW;;wB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QAAQ;;;;;;;wBAWH,OAAO,SAAS,eAAe;;wBAyC/B,aAAa,QAAQ;;wBA0BrB,gBAAgB,QAAQ;;wBAsBxB,YAAY,QAAQ;;wBAYpB,UAAU,QAAQ,+BAA+B,iBAAgB;;UAkBhE;WACN;WACA,KAAK,SAAS;WACd,SAAS;WACT,SAAS;;;qBAIP;;wBA6CG,OAAO,yBAAyB,IAAI;;;;;;;;qBChUvC;;wBAGG,QAAQ,cAAc,iBAAiB;;;;;;;;wBAavC,iBAAiB,kBAAkB,iBAAiB;;wBA+BpD,OAAO,cAAc;;;;;wBAQrB,aAAa,cAAc,iBAAiB;;;;;;wBCzC5C,aAAa,eAAe;;;;;wBAsD5B,YAAY,cAAc;;;;;;wBA8B1B,eAAe;;;;;;;wBAwCf,eAAe,cAAc"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-trigger.ts","../src/map.ts","../src/rules/home-package.ts","../src/rules/license-file.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-local-paths.ts","../src/rules/api-report-script.ts","../src/rules/pages-site.ts","../src/rules/pinned-git-deps.ts","../src/rules/push-main-only.ts","../src/rules/unreleased-change.ts","../src/rules/published-minor.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/rules/shared-docs.ts","../src/rules/source-main.ts","../src/rules/tests-required.ts","../src/rules/tsconfig-test.ts","../src/rules/typed-files.ts","../src/rules/typed-scripts.ts","../src/rules/trust-policy.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/home-exports.ts","../src/workflow.ts","../src/run.ts","../src/release-text.ts","../src/workspace.ts"],"mappings":";UASiB;WACN;WACA;WACA;;;UAIM;;WAEN;;WAEA;WACA;;WAEA;;WAEA,iBAAiB;;;;;;UAOX;;WAEN;;WAEA;;WAEA;;;wBAIK,YAAY,cAAc,cAAc;;KAQ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js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as noLocalPaths, A as pathsOf, At as cuePreset, B as roadmapParses, Bt as readJsonc, C as configsOfScript, Ct as ACTIONS_COMMIT, D as hasTests, Dt as summaryName, E as testsRequired, Et as prPathFilters, F as sharedDocsRule, Ft as inFolder, G as isPinned, Gt as globToRegExp, H as releaseFiles, Ht as runGit, I as repositoryOfRemote, It as keyLine, J as pagesCalls, Jt as defaultOptions, K as pinnedGitDeps, Kt as packageFolders, L as runnerBudget, Lt as lineOf, M as HOME_TIMEOUT_MS, Mt as cleanPath, N as blockHash, Nt as codePackages, O as tsconfigTest, Ot as readWorkflow, P as githubFetch, Pt as hasFile, Q as HOME_PATTERNS, R as scheduleMinute, Rt as matchesAny, S as typedScripts, St as HOME_EXPORTS, T as typedFiles, Tt as gateTrigger, U as pushMainOnly, Ut as specifiersOf, V as requiredScripts, Vt as replaceLine, W as isGitSpecifier, Wt as globFolders, X as apiReportScript, Y as pagesSite, Yt as parseConfig, Z as DEFAULT_ALLOWED, _ as unreleasedChange, _t as findHomes, a as listRules, at as authorOf, b as TRAIN_SCOPES, bt as mergeHomes, c as runCli, ct as mitText, d as RULES, dt as homePackage, et as noBuildOutput, f as workspaceProtocol, ft as messageOf, g as npmLookup, gt as MAP_RULE, h as UNSHIPPED_FILES, ht as HOMES, i as formatResult, it as LICENSE_TEXTS, j as sourceMain, jt as DEPENDENCY_FIELDS, k as isSourcePath, kt as STRICT_OPTIONS, l as runFix, lt as repositoryIsPublic, m as SHIPPED_FIELDS, mt as signaturesOf, n as annotations, nt as hasImportMetaMain, o as readConfig, ot as licenseFile, p as NPM_REGISTRY, pt as repoOf, q as PAGES_WORKFLOWS, qt as workspaceGlobs, r as createContext, rt as mainCheck, s as runChecks, st as licenseFileOf, t as USAGE, tt as REAL_COMPARE, u as summaryMarkdown, ut as declaredName, v as unreleasedChangeRule, vt as mapMarkdown, w as scriptsOf, wt as convertGate, x as trustPolicy, xt as readOverlay, y as IGNORE_AFTER, yt as mapText, z as roadmapOfLine, zt as parseJsonc } from "./run-NWNXpkly.js";
1
+ import { $ as pagesCalls, $t as defaultOptions, A as repositoryOfRemote, At as gateTrigger, B as publishedMinorRule, Bt as inFolder, C as isSourcePath, Ct as mapMarkdown, D as blockHash, Dt as HOME_EXPORTS, E as HOME_TIMEOUT_MS, Et as readOverlay, F as requiredScripts, Ft as cuePreset, G as npmLookup, Gt as readJsonc, H as NPM_REGISTRY, Ht as lineOf, I as releaseFiles, It as DEPENDENCY_FIELDS, J as pushMainOnly, Jt as specifiersOf, K as unreleasedChange, Kt as replaceLine, L as lockedVersions, Lt as cleanPath, M as scheduleMinute, Mt as summaryName, N as roadmapOfLine, Nt as readWorkflow, O as githubFetch, Ot as ACTIONS_COMMIT, P as roadmapParses, Pt as STRICT_OPTIONS, Q as PAGES_WORKFLOWS, Qt as workspaceGlobs, R as minorOf, Rt as codePackages, S as tsconfigTest, St as findHomes, T as sourceMain, Tt as mergeHomes, U as SHIPPED_FIELDS, Ut as matchesAny, V as reachOf, Vt as keyLine, W as UNSHIPPED_FILES, Wt as parseJsonc, X as isPinned, Xt as globToRegExp, Y as isGitSpecifier, Yt as globFolders, Z as pinnedGitDeps, Zt as packageFolders, _ as configsOfScript, _t as messageOf, a as listRules, at as noBuildOutput, b as testsRequired, bt as HOMES, c as runCli, ct as mainCheck, d as RULES, dt as licenseFile, en as parseConfig, et as pagesSite, f as workspaceProtocol, ft as licenseFileOf, g as typedScripts, gt as homePackage, h as trustPolicy, ht as declaredName, i as formatResult, it as noLocalPaths, j as runnerBudget, jt as prPathFilters, k as sharedDocsRule, kt as convertGate, l as runFix, lt as LICENSE_TEXTS, m as TRAIN_SCOPES, mt as repositoryIsPublic, n as annotations, nt as DEFAULT_ALLOWED, o as readConfig, ot as REAL_COMPARE, p as IGNORE_AFTER, pt as mitText, q as unreleasedChangeRule, qt as runGit, r as createContext, rt as HOME_PATTERNS, s as runChecks, st as hasImportMetaMain, t as USAGE, tt as apiReportScript, u as summaryMarkdown, ut as authorOf, v as scriptsOf, vt as repoOf, w as pathsOf, wt as mapText, x as hasTests, xt as MAP_RULE, y as typedFiles, yt as signaturesOf, z as publishedMinor, zt as hasFile } from "./run-COJ2_vAb.js";
2
2
  // src/release-text.ts
3
3
  /**
4
4
  * The rule for the git tag and the text of a GitHub release of a package version.
@@ -64,6 +64,6 @@ function releaseNotes(name, version, changelog) {
64
64
  if (section.length <= 1e5) return section;
65
65
  return `${section.slice(0, MAX_NOTES)}\n\n(The CHANGELOG.md of \`${name}\` has the full text.)`;
66
66
  }
67
- export { ACTIONS_COMMIT, DEFAULT_ALLOWED, DEPENDENCY_FIELDS, HOMES, HOME_EXPORTS, HOME_PATTERNS, HOME_TIMEOUT_MS, IGNORE_AFTER, LICENSE_TEXTS, MAP_RULE, MAX_NOTES, NPM_REGISTRY, PAGES_WORKFLOWS, REAL_COMPARE, RULES, SHIPPED_FIELDS, STRICT_OPTIONS, TRAIN_SCOPES, UNSHIPPED_FILES, USAGE, annotations, apiReportScript, authorOf, blockHash, changelogSection, cleanPath, codePackages, configsOfScript, convertGate, createContext, cuePreset, declaredName, defaultOptions, findHomes, formatResult, gateTrigger, githubFetch, globFolders, globToRegExp, hasFile, hasImportMetaMain, hasTests, homePackage, inFolder, isGitSpecifier, isPinned, isSourcePath, keyLine, licenseFile, licenseFileOf, lineOf, listRules, mainCheck, mapMarkdown, mapText, matchesAny, mergeHomes, messageOf, mitText, noBuildOutput, noLocalPaths, npmLookup, npmUrl, packageFolders, pagesCalls, pagesSite, parseConfig, parseJsonc, pathsOf, pinnedGitDeps, prPathFilters, pushMainOnly, readConfig, readJsonc, readOverlay, readWorkflow, releaseFiles, releaseNotes, replaceLine, repoOf, repositoryIsPublic, repositoryOfRemote, requiredScripts, roadmapOfLine, roadmapParses, runChecks, runCli, runFix, runGit, runnerBudget, scheduleMinute, scriptsOf, sharedDocsRule, signaturesOf, sourceMain, specifiersOf, summaryMarkdown, summaryName, tagName, testsRequired, trustPolicy, tsconfigTest, typedFiles, typedScripts, unreleasedChange, unreleasedChangeRule, workspaceGlobs, workspaceProtocol };
67
+ export { ACTIONS_COMMIT, DEFAULT_ALLOWED, DEPENDENCY_FIELDS, HOMES, HOME_EXPORTS, HOME_PATTERNS, HOME_TIMEOUT_MS, IGNORE_AFTER, LICENSE_TEXTS, MAP_RULE, MAX_NOTES, NPM_REGISTRY, PAGES_WORKFLOWS, REAL_COMPARE, RULES, SHIPPED_FIELDS, STRICT_OPTIONS, TRAIN_SCOPES, UNSHIPPED_FILES, USAGE, annotations, apiReportScript, authorOf, blockHash, changelogSection, cleanPath, codePackages, configsOfScript, convertGate, createContext, cuePreset, declaredName, defaultOptions, findHomes, formatResult, gateTrigger, githubFetch, globFolders, globToRegExp, hasFile, hasImportMetaMain, hasTests, homePackage, inFolder, isGitSpecifier, isPinned, isSourcePath, keyLine, licenseFile, licenseFileOf, lineOf, listRules, lockedVersions, mainCheck, mapMarkdown, mapText, matchesAny, mergeHomes, messageOf, minorOf, mitText, noBuildOutput, noLocalPaths, npmLookup, npmUrl, packageFolders, pagesCalls, pagesSite, parseConfig, parseJsonc, pathsOf, pinnedGitDeps, prPathFilters, publishedMinor, publishedMinorRule, pushMainOnly, reachOf, readConfig, readJsonc, readOverlay, readWorkflow, releaseFiles, releaseNotes, replaceLine, repoOf, repositoryIsPublic, repositoryOfRemote, requiredScripts, roadmapOfLine, roadmapParses, runChecks, runCli, runFix, runGit, runnerBudget, scheduleMinute, scriptsOf, sharedDocsRule, signaturesOf, sourceMain, specifiersOf, summaryMarkdown, summaryName, tagName, testsRequired, trustPolicy, tsconfigTest, typedFiles, typedScripts, unreleasedChange, unreleasedChangeRule, workspaceGlobs, workspaceProtocol };
68
68
 
69
69
  //# sourceMappingURL=index.js.map