@mark1russell7/conventions 0.41.9 → 0.41.11

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
@@ -240,6 +240,17 @@ conventions map --overlay homes.json --markdown # with more homes from a JSON
240
240
 
241
241
  Each home can give `signatures`: the names of functions that only the home has, as regular expressions of a whole name. The rule `home-package` breaks on a new function with such a name in another repository. Its message says if the home already exports the name. The index of the exports is `src/home-exports.ts`. The script `scripts/homes/exports.ts` of the template writes it from the latest version of each home on npm.
242
242
 
243
+ A home can give `pending`: the names of its packages that are not on npm yet. The table marks such a package "(not on npm)". A planned home has no packages, so its `pending` names are its planned packages.
244
+
245
+ The function `npmDrift(homes, facts)` compares the map with the answers of npm. It finds these differences:
246
+
247
+ - A package of a published home that is not on npm.
248
+ - A pending name that is on npm.
249
+ - A package of an unpublished home that is on npm.
250
+ - A name that npm did not answer.
251
+
252
+ A planned home with no pending name is a no read. In the template repository, `node scripts/homes/npm-drift.ts --check` asks npm for each name of the map and exits 1 on a difference. A workflow runs it each week, on each change of the map and on each pull request.
253
+
243
254
  An overlay file has the shape `{ "homes": [...] }`. A home of the overlay takes the place of the home with the same area. The private repositories use an overlay, because the public map names only public packages.
244
255
 
245
256
  ## Add a rule
package/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as runCli } from "./run-ByfXAlgu.js";
2
+ import { c as runCli } from "./run-CjnFX0bm.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  // src/cli.ts
5
5
  try {
package/build/index.d.ts CHANGED
@@ -273,6 +273,12 @@ interface Home {
273
273
  * The rule home-package does not break in them. Remove an entry when the move ends.
274
274
  */
275
275
  readonly alsoIn?: readonly string[];
276
+ /**
277
+ * The package names of the home that are not on npm yet. A name of a published or unpublished home is also in
278
+ * `packages`. A planned home has no packages, so its names here are the planned names. The function `npmDrift` reads
279
+ * each name of the map on npm.
280
+ */
281
+ readonly pending?: readonly string[];
276
282
  /** The state of the home. */
277
283
  readonly state: HomeState;
278
284
  /** More words that find the area in a search. */
@@ -296,6 +302,36 @@ export declare function readOverlay(file: string): readonly Home[];
296
302
  export declare function mergeHomes(base: readonly Home[], extra: readonly Home[]): readonly Home[];
297
303
  /** This function gives the homes that match each word of `query`, best match first. */
298
304
  export declare function findHomes(query: string, homes?: readonly Home[]): readonly Home[];
305
+ /** What npm says of one package name: on npm or not, or no read, with the error of the read. */
306
+ type NpmPresence = {
307
+ readonly onNpm: boolean;
308
+ } | {
309
+ readonly error: string;
310
+ };
311
+ /**
312
+ * The kind of a difference between the map and npm:
313
+ * - `missing`: a package of a published home is not on npm, and the home does not name it in `pending`.
314
+ * - `stale-pending`: a name in `pending` is on npm. Remove it from `pending`. When it is the last planned name of a
315
+ * planned home, the home is published: move the names to `packages`.
316
+ * - `stale-state`: a package of an unpublished home is on npm. The state of the home is published.
317
+ * - `no-read`: npm gave no answer for a name. A no read is not a pass.
318
+ * - `unnamed`: a planned home names no planned package, so nothing can be read for it.
319
+ */
320
+ type NpmDriftKind = "missing" | "stale-pending" | "stale-state" | "no-read" | "unnamed";
321
+ /** One difference between the map and npm. `name` is the package, absent for the kind `unnamed`. */
322
+ interface NpmDrift {
323
+ readonly area: string;
324
+ readonly kind: NpmDriftKind;
325
+ readonly name?: string;
326
+ readonly text: string;
327
+ }
328
+ /** This function gives each package name of the homes that npm must answer for: the packages and the pending names. */
329
+ export declare function npmNames(homes?: readonly Home[]): readonly string[];
330
+ /**
331
+ * This function compares the map with the answers of npm (`facts`, by package name). A name with no answer is a no read.
332
+ * It gives each difference, in the order of the homes. An empty list means that each name of the map agrees with npm.
333
+ */
334
+ export declare function npmDrift(homes: readonly Home[], facts: ReadonlyMap<string, NpmPresence>): readonly NpmDrift[];
299
335
  /** This function writes the map as a Markdown table, with the rule first. */
300
336
  export declare function mapMarkdown(homes?: readonly Home[]): string;
301
337
  /** This function writes the homes as plain text for a terminal. */
@@ -863,5 +899,5 @@ export declare function npmUrl(name: string, version: string): string;
863
899
  * link to npm. The Releases page of `site-pages` reads each list item as a change.
864
900
  */
865
901
  export declare function releaseNotes(name: string, version: string, changelog: string | undefined): string;
866
- export { type AllowedHit, type AuditSource, type Break, type CheckOptions, type CheckResult, type CliIo, type ConventionsConfig, type Edit, type FixResult, type Home, type HomeAnswer, type HomeFetch, type HomeState, type HookOptions, type LinePlace, type Manifest, type Minor, type NameHit, type NameRule, type OptionSpec, type OptionValue, type Options, type PackageInfo, type PagesCall, type PathFilter, type PrePushOptions, type PrivateNameList, type PrivatePattern, type PrivateSources, type RegistryAnswer, type RegistryLookup, type Rule, type RuleConfig, type RuleContext, type RuleOutcome, type RuleResult, type SecurityCaller, type TextBreakOptions, type Workflow, type WorkflowInput, type WorkflowJob, type WorkflowStep, type YamlFault, globFolders, globToRegExp, packageFolders, workspaceGlobs };
902
+ export { type AllowedHit, type AuditSource, type Break, type CheckOptions, type CheckResult, type CliIo, type ConventionsConfig, type Edit, type FixResult, type Home, type HomeAnswer, type HomeFetch, type HomeState, type HookOptions, type LinePlace, type Manifest, type Minor, type NameHit, type NameRule, type NpmDrift, type NpmDriftKind, type NpmPresence, type OptionSpec, type OptionValue, type Options, type PackageInfo, type PagesCall, type PathFilter, type PrePushOptions, type PrivateNameList, type PrivatePattern, type PrivateSources, type RegistryAnswer, type RegistryLookup, type Rule, type RuleConfig, type RuleContext, type RuleOutcome, type RuleResult, type SecurityCaller, type TextBreakOptions, type Workflow, type WorkflowInput, type WorkflowJob, type WorkflowStep, type YamlFault, globFolders, globToRegExp, packageFolders, workspaceGlobs };
867
903
  //# 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-after-cancel.ts","../src/rules/gate-trigger.ts","../src/rules/security-one-job.ts","../src/rules/setup-cue.ts","../src/rules/shared-ci.ts","../src/rules/service-run-main.ts","../src/map.ts","../src/rules/home-package.ts","../src/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/private-names.ts","../src/rules/no-local-paths.ts","../src/rules/pack-no-buildinfo.ts","../src/rules/exports-require.ts","../src/rules/api-report-script.ts","../src/rules/pages-after-release.ts","../src/rules/pages-site.ts","../src/rules/pinned-git-deps.ts","../src/rules/pipe-fails.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/version-title.ts","../src/rules/workflow-parses.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/pre-push.ts","../src/home-exports.ts","../src/workflow.ts","../src/release-text.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;;;qBAG3C;;UAGI;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;;;;;WAKjC;;;;;;;WAOA;EACT,MAAM,SAAS,aAAa,SAAS,UAAU;;;qBAIpC;;wBAGG,aAAa,UAAU,UAAU;;wBAOjC,OAAO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cAAc;;;;;wBAQrB,aAAa,cAAc,iBAAiB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-after-cancel.ts","../src/rules/gate-trigger.ts","../src/rules/security-one-job.ts","../src/rules/setup-cue.ts","../src/rules/shared-ci.ts","../src/rules/service-run-main.ts","../src/map.ts","../src/rules/home-package.ts","../src/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/private-names.ts","../src/rules/no-local-paths.ts","../src/rules/pack-no-buildinfo.ts","../src/rules/exports-require.ts","../src/rules/api-report-script.ts","../src/rules/pages-after-release.ts","../src/rules/pages-site.ts","../src/rules/pinned-git-deps.ts","../src/rules/pipe-fails.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/version-title.ts","../src/rules/workflow-parses.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/pre-push.ts","../src/home-exports.ts","../src/workflow.ts","../src/release-text.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;;WAE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;;;;;;;wBAWD,YAAY,SAAS,aAAa,IAAI,KAAK;;qBCzX9C,cAAc,SAAS;WAA0B;WAA0B;;UC6EvE;WACN;WACA;WACA;;WAEA;WACA;;;UAIM;;WAEN;;WAEA;;WAEA;;;UAIM;WACN;WACA;WACA;WACA,gBAAgB;;;UAIV;;WAEN;;WAEA;;WAEA;;WAEA;WACA,iBAAiB;WACjB,eAAe;;;wBAgGV,aAAa,cAAc,eAAe;;;;;;;wBAmD1C,WAAW,cAAc,eAAe;;;;;;;;qBChQ3C;;wBAGG,QAAQ,cAAc,iBAAiB;;;;;;;;wBAavC,iBAAiB,kBAAkB,iBAAiB;;wBA+BpD,OAAO,cAAc;;;;;wBAQrB,aAAa,cAAc,iBAAiB"}
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as unreleasedChangeRule, $t as MAP_RULE, A as typedFiles, An as readWorkflow, At as lineNameHits, B as roadmapParses, Bn as lineOf, Bt as LICENSE_TEXTS, C as versionTitle, Cn as ACTIONS_COMMIT, Ct as privateTextBreaks, D as typedScripts, Dn as summaryName, Dt as isAllowedHit, E as trustPolicy, En as prPathFilters, Et as firstNameMatch, F as HOME_TIMEOUT_MS, Fn as cleanPath, Ft as REAL_COMPARE, G as publishedMinor, Gn as runGit, Gt as repositoryIsPublic, H as releaseFiles, Hn as parseJsonc, Ht as licenseFile, I as blockHash, In as codePackages, It as hasImportMetaMain, J as NPM_REGISTRY, Jn as parseConfig, Jt as messageOf, K as publishedMinorRule, Kn as specifiersOf, Kt as declaredName, L as githubFetch, Ln as hasFile, Lt as mainCheck, M as isSourcePath, Mn as cuePreset, Mt as parsePrivateNames, N as pathsOf, Nn as DEPENDENCY_FIELDS, Nt as pathNameHit, O as configsOfScript, On as gateAfterCancel, Ot as isCommonUse, P as sourceMain, Pn as RULE_WARN_DAYS, Pt as noBuildOutput, Q as unreleasedChange, Qt as HOMES, R as sharedDocsRule, Rn as inFolder, Rt as coverageProvider, S as setVersions, Sn as withOneJob, St as privatePatterns, T as TRAIN_SCOPES, Tn as gateTrigger, Tt as PrivateNameListError, U as lockedVersions, Un as readJsonc, Ut as licenseFileOf, V as requiredScripts, Vn as matchesAny, Vt as authorOf, W as minorOf, Wn as replaceLine, Wt as mitText, X as UNSHIPPED_FILES, Xt as reposOf, Y as SHIPPED_FIELDS, Yt as repoOf, Z as npmLookup, Zt as signaturesOf, _ as workspaceProtocol, _n as SECURITY_SCAN_COMMIT, _t as PRIVATE_NAMES_FILE_VARIABLE, a as listRules, an as HOME_EXPORTS, at as repositoryOfRemote, b as yamlFaults, bn as securityCallers, bt as noLocalPaths, c as runCli, cn as serviceRunMain, ct as pushMainOnly, d as HOOK_MARKER, dn as SHARED_ACTIONS, dt as pagesSite, en as findHomes, et as pipeFails, f as NO_READ_LINE, fn as SHARED_CI, ft as exportsRequire, g as RULES, gn as setupCue, gt as PRIVATE_NAMES_FILE_CONFIG, h as prePush, hn as sharedCi, ht as HOME_PATTERNS, i as formatResult, in as readOverlay, it as pagesAfterRelease, j as testsRequired, jn as STRICT_OPTIONS, jt as nameMatches, k as scriptsOf, kn as readAction, kt as lineNameHit, l as runFix, ln as hasTests, lt as PAGES_WORKFLOWS, m as installHook, mn as callsSharedCi, mt as DEFAULT_ALLOWED, n as annotations, nn as mapText, nt as isPinned, o as readConfig, on as SERVICE_PACKAGE, ot as runnerBudget, p as PRE_PUSH_HOOK, pn as SHARED_WORKFLOWS, pt as packNoBuildinfo, q as reachOf, qn as defaultOptions, qt as homePackage, r as createContext, rn as mergeHomes, rt as pinnedGitDeps, s as runChecks, sn as runCalls, st as scheduleMinute, t as USAGE, tn as mapMarkdown, tt as isGitSpecifier, u as summaryMarkdown, un as tsconfigTest, ut as pagesCalls, v as GITHUB_YAML, vn as SECURITY_SCAN_INPUTS, vt as PRIVATE_PATTERNS_VARIABLE, w as IGNORE_AFTER, wn as convertGate, wt as PRIVATE_NAME_LIST, x as namedVersions, xn as securityOneJob, xt as privateNamesFile, y as workflowParses, yn as SECURITY_TIMEOUT_MINUTES, yt as invalidPatternBreaks, z as roadmapOfLine, zn as keyLine, zt as apiReportScript } from "./run-ByfXAlgu.js";
1
+ import { $ as unreleasedChangeRule, $t as MAP_RULE, A as typedFiles, An as gateAfterCancel, At as lineNameHits, B as roadmapParses, Bn as inFolder, Bt as LICENSE_TEXTS, C as versionTitle, Cn as securityOneJob, Ct as privateTextBreaks, D as typedScripts, Dn as gateTrigger, Dt as isAllowedHit, E as trustPolicy, En as convertGate, Et as firstNameMatch, F as HOME_TIMEOUT_MS, Fn as DEPENDENCY_FIELDS, Ft as REAL_COMPARE, G as publishedMinor, Gn as readJsonc, Gt as repositoryIsPublic, H as releaseFiles, Hn as lineOf, Ht as licenseFile, I as blockHash, In as RULE_WARN_DAYS, It as hasImportMetaMain, J as NPM_REGISTRY, Jn as specifiersOf, Jt as messageOf, K as publishedMinorRule, Kn as replaceLine, Kt as declaredName, L as githubFetch, Ln as cleanPath, Lt as mainCheck, M as isSourcePath, Mn as readWorkflow, Mt as parsePrivateNames, N as pathsOf, Nn as STRICT_OPTIONS, Nt as pathNameHit, O as configsOfScript, On as prPathFilters, Ot as isCommonUse, P as sourceMain, Pn as cuePreset, Pt as noBuildOutput, Q as unreleasedChange, Qt as HOMES, R as sharedDocsRule, Rn as codePackages, Rt as coverageProvider, S as setVersions, Sn as securityCallers, St as privatePatterns, T as TRAIN_SCOPES, Tn as ACTIONS_COMMIT, Tt as PrivateNameListError, U as lockedVersions, Un as matchesAny, Ut as licenseFileOf, V as requiredScripts, Vn as keyLine, Vt as authorOf, W as minorOf, Wn as parseJsonc, Wt as mitText, X as UNSHIPPED_FILES, Xn as parseConfig, Xt as reposOf, Y as SHIPPED_FIELDS, Yn as defaultOptions, Yt as repoOf, Z as npmLookup, Zt as signaturesOf, _ as workspaceProtocol, _n as sharedCi, _t as PRIVATE_NAMES_FILE_VARIABLE, a as listRules, an as npmNames, at as repositoryOfRemote, b as yamlFaults, bn as SECURITY_SCAN_INPUTS, bt as noLocalPaths, c as runCli, cn as SERVICE_PACKAGE, ct as pushMainOnly, d as HOOK_MARKER, dn as hasTests, dt as pagesSite, en as findHomes, et as pipeFails, f as NO_READ_LINE, fn as tsconfigTest, ft as exportsRequire, g as RULES, gn as callsSharedCi, gt as PRIVATE_NAMES_FILE_CONFIG, h as prePush, hn as SHARED_WORKFLOWS, ht as HOME_PATTERNS, i as formatResult, in as npmDrift, it as pagesAfterRelease, j as testsRequired, jn as readAction, jt as nameMatches, k as scriptsOf, kn as summaryName, kt as lineNameHit, l as runFix, ln as runCalls, lt as PAGES_WORKFLOWS, m as installHook, mn as SHARED_CI, mt as DEFAULT_ALLOWED, n as annotations, nn as mapText, nt as isPinned, o as readConfig, on as readOverlay, ot as runnerBudget, p as PRE_PUSH_HOOK, pn as SHARED_ACTIONS, pt as packNoBuildinfo, q as reachOf, qn as runGit, qt as homePackage, r as createContext, rn as mergeHomes, rt as pinnedGitDeps, s as runChecks, sn as HOME_EXPORTS, st as scheduleMinute, t as USAGE, tn as mapMarkdown, tt as isGitSpecifier, u as summaryMarkdown, un as serviceRunMain, ut as pagesCalls, v as GITHUB_YAML, vn as setupCue, vt as PRIVATE_PATTERNS_VARIABLE, w as IGNORE_AFTER, wn as withOneJob, wt as PRIVATE_NAME_LIST, x as namedVersions, xn as SECURITY_TIMEOUT_MINUTES, xt as privateNamesFile, y as workflowParses, yn as SECURITY_SCAN_COMMIT, yt as invalidPatternBreaks, z as roadmapOfLine, zn as hasFile, zt as apiReportScript } from "./run-CjnFX0bm.js";
2
2
  import { i as packageFolders, n as globFolders, r as globToRegExp, s as workspaceGlobs } from "./workspace-Cx7p7bWn.js";
3
3
  // src/release-text.ts
4
4
  /**
@@ -65,6 +65,6 @@ function releaseNotes(name, version, changelog) {
65
65
  if (section.length <= 1e5) return section;
66
66
  return `${section.slice(0, MAX_NOTES)}\n\n(The CHANGELOG.md of \`${name}\` has the full text.)`;
67
67
  }
68
- export { ACTIONS_COMMIT, DEFAULT_ALLOWED, DEPENDENCY_FIELDS, GITHUB_YAML, HOMES, HOME_EXPORTS, HOME_PATTERNS, HOME_TIMEOUT_MS, HOOK_MARKER, IGNORE_AFTER, LICENSE_TEXTS, MAP_RULE, MAX_NOTES, NO_READ_LINE, NPM_REGISTRY, PAGES_WORKFLOWS, PRE_PUSH_HOOK, PRIVATE_NAMES_FILE_CONFIG, PRIVATE_NAMES_FILE_VARIABLE, PRIVATE_NAME_LIST, PRIVATE_PATTERNS_VARIABLE, PrivateNameListError, REAL_COMPARE, RULES, RULE_WARN_DAYS, SECURITY_SCAN_COMMIT, SECURITY_SCAN_INPUTS, SECURITY_TIMEOUT_MINUTES, SERVICE_PACKAGE, SHARED_ACTIONS, SHARED_CI, SHARED_WORKFLOWS, SHIPPED_FIELDS, STRICT_OPTIONS, TRAIN_SCOPES, UNSHIPPED_FILES, USAGE, annotations, apiReportScript, authorOf, blockHash, callsSharedCi, changelogSection, cleanPath, codePackages, configsOfScript, convertGate, coverageProvider, createContext, cuePreset, declaredName, defaultOptions, exportsRequire, findHomes, firstNameMatch, formatResult, gateAfterCancel, gateTrigger, githubFetch, globFolders, globToRegExp, hasFile, hasImportMetaMain, hasTests, homePackage, inFolder, installHook, invalidPatternBreaks, isAllowedHit, isCommonUse, isGitSpecifier, isPinned, isSourcePath, keyLine, licenseFile, licenseFileOf, lineNameHit, lineNameHits, lineOf, listRules, lockedVersions, mainCheck, mapMarkdown, mapText, matchesAny, mergeHomes, messageOf, minorOf, mitText, nameMatches, namedVersions, noBuildOutput, noLocalPaths, npmLookup, npmUrl, packNoBuildinfo, packageFolders, pagesAfterRelease, pagesCalls, pagesSite, parseConfig, parseJsonc, parsePrivateNames, pathNameHit, pathsOf, pinnedGitDeps, pipeFails, prPathFilters, prePush, privateNamesFile, privatePatterns, privateTextBreaks, publishedMinor, publishedMinorRule, pushMainOnly, reachOf, readAction, readConfig, readJsonc, readOverlay, readWorkflow, releaseFiles, releaseNotes, replaceLine, repoOf, reposOf, repositoryIsPublic, repositoryOfRemote, requiredScripts, roadmapOfLine, roadmapParses, runCalls, runChecks, runCli, runFix, runGit, runnerBudget, scheduleMinute, scriptsOf, securityCallers, securityOneJob, serviceRunMain, setVersions, setupCue, sharedCi, sharedDocsRule, signaturesOf, sourceMain, specifiersOf, summaryMarkdown, summaryName, tagName, testsRequired, trustPolicy, tsconfigTest, typedFiles, typedScripts, unreleasedChange, unreleasedChangeRule, versionTitle, withOneJob, workflowParses, workspaceGlobs, workspaceProtocol, yamlFaults };
68
+ export { ACTIONS_COMMIT, DEFAULT_ALLOWED, DEPENDENCY_FIELDS, GITHUB_YAML, HOMES, HOME_EXPORTS, HOME_PATTERNS, HOME_TIMEOUT_MS, HOOK_MARKER, IGNORE_AFTER, LICENSE_TEXTS, MAP_RULE, MAX_NOTES, NO_READ_LINE, NPM_REGISTRY, PAGES_WORKFLOWS, PRE_PUSH_HOOK, PRIVATE_NAMES_FILE_CONFIG, PRIVATE_NAMES_FILE_VARIABLE, PRIVATE_NAME_LIST, PRIVATE_PATTERNS_VARIABLE, PrivateNameListError, REAL_COMPARE, RULES, RULE_WARN_DAYS, SECURITY_SCAN_COMMIT, SECURITY_SCAN_INPUTS, SECURITY_TIMEOUT_MINUTES, SERVICE_PACKAGE, SHARED_ACTIONS, SHARED_CI, SHARED_WORKFLOWS, SHIPPED_FIELDS, STRICT_OPTIONS, TRAIN_SCOPES, UNSHIPPED_FILES, USAGE, annotations, apiReportScript, authorOf, blockHash, callsSharedCi, changelogSection, cleanPath, codePackages, configsOfScript, convertGate, coverageProvider, createContext, cuePreset, declaredName, defaultOptions, exportsRequire, findHomes, firstNameMatch, formatResult, gateAfterCancel, gateTrigger, githubFetch, globFolders, globToRegExp, hasFile, hasImportMetaMain, hasTests, homePackage, inFolder, installHook, invalidPatternBreaks, isAllowedHit, isCommonUse, isGitSpecifier, isPinned, isSourcePath, keyLine, licenseFile, licenseFileOf, lineNameHit, lineNameHits, lineOf, listRules, lockedVersions, mainCheck, mapMarkdown, mapText, matchesAny, mergeHomes, messageOf, minorOf, mitText, nameMatches, namedVersions, noBuildOutput, noLocalPaths, npmDrift, npmLookup, npmNames, npmUrl, packNoBuildinfo, packageFolders, pagesAfterRelease, pagesCalls, pagesSite, parseConfig, parseJsonc, parsePrivateNames, pathNameHit, pathsOf, pinnedGitDeps, pipeFails, prPathFilters, prePush, privateNamesFile, privatePatterns, privateTextBreaks, publishedMinor, publishedMinorRule, pushMainOnly, reachOf, readAction, readConfig, readJsonc, readOverlay, readWorkflow, releaseFiles, releaseNotes, replaceLine, repoOf, reposOf, repositoryIsPublic, repositoryOfRemote, requiredScripts, roadmapOfLine, roadmapParses, runCalls, runChecks, runCli, runFix, runGit, runnerBudget, scheduleMinute, scriptsOf, securityCallers, securityOneJob, serviceRunMain, setVersions, setupCue, sharedCi, sharedDocsRule, signaturesOf, sourceMain, specifiersOf, summaryMarkdown, summaryName, tagName, testsRequired, trustPolicy, tsconfigTest, typedFiles, typedScripts, unreleasedChange, unreleasedChangeRule, versionTitle, withOneJob, workflowParses, workspaceGlobs, workspaceProtocol, yamlFaults };
69
69
 
70
70
  //# sourceMappingURL=index.js.map