@mark1russell7/conventions 0.49.0 → 0.49.2

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
@@ -323,4 +323,10 @@ The package also exports the functions of the tool:
323
323
  - `lineNameHits(list, line, place)` and `nameMatches(line, names)` give each name of a line, one hit for each name. A scan that counts the names uses them. The gate takes the first hit.
324
324
  - `privateNamesFiles(env, git)`, `privateNamesFile(env, git)`, `privatePatterns(env)` and `invalidPatternBreaks(patterns)` read the settings and the patterns. `privateNamesFiles` gives each path, and `privateNamesFile` gives one.
325
325
  - `mergePrivateNames(lists)` merges the lists in order. It throws a `PrivateNameListError` when two lists have the same id.
326
+ - `readWorkflow(file, text)` and `readAction(file, text)` read a workflow or a composite action by the indent of its lines. The site of the template shows their result.
327
+ - `parseWorkflow(file, text)` reads a workflow with the YAML parser. It gives the triggers, the permissions, the jobs and their steps, and the secrets that each job and each step read. A gate uses this reader.
328
+ - `permissions` is `null` when the key is not there. Else it is a text (for example `read-all`) or a record (for example `{}`).
329
+ - A secret is `secrets.NAME` or `secrets['NAME']` in an expression, or in the value of a key `if`. The name `*` is the whole context, and `inherit` is `secrets: inherit`.
330
+ - The reader does not throw. A file that does not parse gives its `faults` and no job, because GitHub starts no job of it. Two documents and a version of YAML that is not 1.2 are faults too.
331
+ - `yamlFaults(text)` gives the faults of the parser alone. The rule `workflow-parses` uses it.
326
332
  - `prePush(options, io)` is the command `pre-push`. With the option `base`, it is the check of a change in CI. `parsePrePushArgs(args)` reads its arguments, and `runPrePushArgs(args, io)` starts it in the git root. The bundle `private-names.mjs` of the shared actions uses these two functions. `installHook(options, io)` is the command `hook install`. `PRE_PUSH_HOOK` is the text of the hook.
package/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as runCli } from "./run-BY_nuN_V.js";
2
+ import { c as runCli } from "./run-DHR-sa4C.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  // src/cli.ts
5
5
  try {
package/build/index.d.ts CHANGED
@@ -775,8 +775,52 @@ export declare function namedVersions(title: string): string[];
775
775
  /** This function gives the versions that the change from `from` to `to` sets: each `package.json` whose version changes. */
776
776
  export declare function setVersions(context: RuleContext, from: string, to: string): string[] | undefined;
777
777
  export declare const versionTitle: Rule;
778
- /** A file that GitHub reads as YAML: a workflow, or the file `action.yml` of an action of the repository. */
779
- export declare const GITHUB_YAML: RegExp;
778
+ interface WorkflowInput {
779
+ readonly name: string;
780
+ readonly type: string;
781
+ readonly description: string;
782
+ /** The default value, as YAML text. An empty text is no default. */
783
+ readonly default: string;
784
+ readonly required: boolean;
785
+ }
786
+ /** A step of a job. */
787
+ interface WorkflowStep {
788
+ /** The name of the step, or else its action, its id or its first command. */
789
+ readonly label: string;
790
+ /** The condition of the step (`if`), or an empty text. */
791
+ readonly if: string;
792
+ /** The action of the step (`uses`), with no pin, or an empty text. */
793
+ readonly uses: string;
794
+ }
795
+ /** A job of a workflow. */
796
+ interface WorkflowJob {
797
+ readonly id: string;
798
+ readonly if: string;
799
+ readonly needs: readonly string[];
800
+ readonly steps: readonly WorkflowStep[];
801
+ }
802
+ /** A shared workflow of the repository, or a composite action in the same form. */
803
+ interface Workflow {
804
+ /** The file name, for example `reusable-pages.yml`. */
805
+ readonly file: string;
806
+ /** The value `action` marks a composite action of {@link readAction}. A workflow has no value here. */
807
+ readonly kind?: "action";
808
+ /** The value of `name`. */
809
+ readonly name: string;
810
+ /** The first lines of the comment at the top of the file. */
811
+ readonly summary: string;
812
+ readonly inputs: readonly WorkflowInput[];
813
+ readonly jobs: readonly WorkflowJob[];
814
+ }
815
+ /** This function reads a shared workflow file. The file name goes into the result. */
816
+ export declare function readWorkflow(file: string, text: string): Workflow;
817
+ /**
818
+ * This function reads a composite action (`action.yml`) in the form of a workflow. The steps of `runs` are the steps of
819
+ * one job `steps`. An input of a composite action has no type, so an input with the default `true` or `false` gets the
820
+ * type `boolean`. The value of such an input is still a string for the runner. The description of the action is the
821
+ * summary. An action that is not composite gives no job.
822
+ */
823
+ export declare function readAction(file: string, text: string): Workflow;
780
824
  /** A fault of the YAML of a file: its line and column (from 1), and the first line of the message of the parser. */
781
825
  interface YamlFault {
782
826
  readonly line: number;
@@ -785,6 +829,65 @@ interface YamlFault {
785
829
  }
786
830
  /** This function gives the faults of a YAML text. A text with no fault gives an empty list. */
787
831
  export declare function yamlFaults(text: string): YamlFault[];
832
+ /**
833
+ * The permissions of a workflow or a job (`permissions`).
834
+ *
835
+ * - `null`: the key is not there. A job then gets the permissions of its workflow, and a workflow gets the default of the
836
+ * repository.
837
+ * - A text: `read-all`, `write-all`, or another value as JSON text (`permissions:` with no value gives `null` as text).
838
+ * - A record: the level of each scope, for example `{ contents: "read" }`. The record `{}` gives no scope to the token.
839
+ */
840
+ type WorkflowPermissions = string | Readonly<Record<string, string>> | null;
841
+ /** A step of a job, as the YAML parser reads it. */
842
+ interface ParsedStep {
843
+ /** The name of the step, or else its action, its first command or its id, as in {@link WorkflowStep}. */
844
+ readonly label: string;
845
+ /** The condition of the step (`if`), or an empty text. */
846
+ readonly if: string;
847
+ /** The action of the step (`uses`), with no pin, or an empty text. */
848
+ readonly uses: string;
849
+ /** The secrets that the expressions of the step read. The name `*` is the whole context, as in `toJSON(secrets)`. */
850
+ readonly secrets: readonly string[];
851
+ }
852
+ /** A job of a workflow, as the YAML parser reads it. */
853
+ interface ParsedJob {
854
+ readonly id: string;
855
+ /** The condition of the job (`if`), or an empty text. */
856
+ readonly if: string;
857
+ readonly needs: readonly string[];
858
+ /** The workflow that the job calls (`uses`), with no pin, or an empty text. */
859
+ readonly uses: string;
860
+ readonly permissions: WorkflowPermissions;
861
+ /** The secrets that the job and its steps read. The name `inherit` is `secrets: inherit`, and `*` is the whole context. */
862
+ readonly secrets: readonly string[];
863
+ readonly steps: readonly ParsedStep[];
864
+ }
865
+ /** The facts of a workflow file from the YAML parser. */
866
+ interface ParsedWorkflow {
867
+ /** The file name, for example `ci.yml`. */
868
+ readonly file: string;
869
+ /** The value of `name`, or the file name. */
870
+ readonly name: string;
871
+ /** The events of `on`, in the order of the file. */
872
+ readonly triggers: readonly string[];
873
+ readonly permissions: WorkflowPermissions;
874
+ /** The secrets that each part of the file reads, with each job. */
875
+ readonly secrets: readonly string[];
876
+ readonly jobs: readonly ParsedJob[];
877
+ /**
878
+ * The faults of the file. GitHub starts no job of a file that does not parse, so a file with a fault gives no trigger
879
+ * and no job. A gate fails on each fault. The reader also refuses two documents in one file. It refuses a version of
880
+ * YAML that is not 1.2, because YAML 1.1 reads the key `on` as `true`.
881
+ */
882
+ readonly faults: readonly YamlFault[];
883
+ }
884
+ /**
885
+ * This function reads a workflow file with the YAML parser. The file name goes into the result. It does not throw: each
886
+ * problem is a fault of the result. A file with a fault gives no trigger and no job.
887
+ */
888
+ export declare function parseWorkflow(file: string, text: string): ParsedWorkflow;
889
+ /** A file that GitHub reads as YAML: a workflow, or the file `action.yml` of an action of the repository. */
890
+ export declare const GITHUB_YAML: RegExp;
788
891
  export declare const workflowParses: Rule;
789
892
  export declare const workspaceProtocol: Rule;
790
893
  /** Each rule of the check. */
@@ -965,52 +1068,6 @@ export declare const HOME_EXPORTS: Readonly<Record<string, {
965
1068
  readonly version: string;
966
1069
  readonly names: readonly string[];
967
1070
  }>>;
968
- interface WorkflowInput {
969
- readonly name: string;
970
- readonly type: string;
971
- readonly description: string;
972
- /** The default value, as YAML text. An empty text is no default. */
973
- readonly default: string;
974
- readonly required: boolean;
975
- }
976
- /** A step of a job. */
977
- interface WorkflowStep {
978
- /** The name of the step, or else its action, its id or its first command. */
979
- readonly label: string;
980
- /** The condition of the step (`if`), or an empty text. */
981
- readonly if: string;
982
- /** The action of the step (`uses`), with no pin, or an empty text. */
983
- readonly uses: string;
984
- }
985
- /** A job of a workflow. */
986
- interface WorkflowJob {
987
- readonly id: string;
988
- readonly if: string;
989
- readonly needs: readonly string[];
990
- readonly steps: readonly WorkflowStep[];
991
- }
992
- /** A shared workflow of the repository, or a composite action in the same form. */
993
- interface Workflow {
994
- /** The file name, for example `reusable-pages.yml`. */
995
- readonly file: string;
996
- /** The value `action` marks a composite action of {@link readAction}. A workflow has no value here. */
997
- readonly kind?: "action";
998
- /** The value of `name`. */
999
- readonly name: string;
1000
- /** The first lines of the comment at the top of the file. */
1001
- readonly summary: string;
1002
- readonly inputs: readonly WorkflowInput[];
1003
- readonly jobs: readonly WorkflowJob[];
1004
- }
1005
- /** This function reads a shared workflow file. The file name goes into the result. */
1006
- export declare function readWorkflow(file: string, text: string): Workflow;
1007
- /**
1008
- * This function reads a composite action (`action.yml`) in the form of a workflow. The steps of `runs` are the steps of
1009
- * one job `steps`. An input of a composite action has no type, so an input with the default `true` or `false` gets the
1010
- * type `boolean`. The value of such an input is still a string for the runner. The description of the action is the
1011
- * summary. An action that is not composite gives no job.
1012
- */
1013
- export declare function readAction(file: string, text: string): Workflow;
1014
1071
  /**
1015
1072
  * The rule for the git tag and the text of a GitHub release of a package version.
1016
1073
  *
@@ -1036,5 +1093,5 @@ export declare function npmUrl(name: string, version: string): string;
1036
1093
  * link to npm. The Releases page of `site-pages` reads each list item as a change.
1037
1094
  */
1038
1095
  export declare function releaseNotes(name: string, version: string, changelog: string | undefined): string;
1039
- export { type Advisory, type AllowedHit, type AuditSource, type Break, type CheckOptions, type CheckResult, type CliIo, type ConventionsConfig, type Edit, type FixResult, type HiddenFailure, type Home, type HomeAnswer, type HomeFetch, type HomeModule, type HomeState, type HookOptions, type LinePlace, type Manifest, type Minor, type ModuleUse, type NameHit, type NameRule, type NpmDrift, type NpmDriftKind, type NpmPresence, OWNERS, type OptionSpec, type OptionValue, type Options, type Owner, type PackageInfo, type PagesCall, type PathFilter, type PrePushArgs, 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, isWorkspaceFolder, ownerOf, ownersOf, packageFolders, parseWorkspaceGlobs, sharedNames, workspaceGlobs };
1096
+ export { type Advisory, type AllowedHit, type AuditSource, type Break, type CheckOptions, type CheckResult, type CliIo, type ConventionsConfig, type Edit, type FixResult, type HiddenFailure, type Home, type HomeAnswer, type HomeFetch, type HomeModule, type HomeState, type HookOptions, type LinePlace, type Manifest, type Minor, type ModuleUse, type NameHit, type NameRule, type NpmDrift, type NpmDriftKind, type NpmPresence, OWNERS, type OptionSpec, type OptionValue, type Options, type Owner, type PackageInfo, type PagesCall, type ParsedJob, type ParsedStep, type ParsedWorkflow, type PathFilter, type PrePushArgs, 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 WorkflowPermissions, type WorkflowStep, type YamlFault, globFolders, globToRegExp, isWorkspaceFolder, ownerOf, ownersOf, packageFolders, parseWorkspaceGlobs, sharedNames, workspaceGlobs };
1040
1097
  //# 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-module.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/publish-text-safe.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/site-check-in-ci.ts","../src/rules/pinned-git-deps.ts","../src/rules/pipe-fails.ts","../src/rules/job-fails.ts","../src/rules/playwright-install.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;;WAEA;;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;;;;;;EAM/C,QAAQ,SAAS,aAAa,SAAS;;;qBAO5B;;wBAGG,aAAa,UAAU,UAAU;;wBAOjC,OAAO,cAAc,gBAAgB;;wBAOrC,QAAQ,cAAc,eAAe;;qBAMxC,WAAY,gBAAgB;;qBAG5B,YAAa;;wBAGV,WAAW,cAAc;;;;;;wBASzB,WAAW;;wBA2BX,UAAU;;w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AEA;WACA,KAAK,SAAS;;WAEd;;WAEA,MAAM;;WAEN,YAAY;;;;;;;;;;;;wBA0MP,QAAQ,SAAS,gBAAgB,IAAI,KAAK;;UA6GzC;;WAEN;WACA;WACA;WACA;;;;;;wBAOK,iBAAiB,0BAA0B;;;;;wBAuB3C,eAAe,MAAM,aAAa,IAAI,KAAK;;qBAS9C;;;;;;;;qBAgCA;;UAgBI;;WAEN;WACA,KAAK,SAAS;;WAEd,MAAM;;;;;;;wBAQD,YAAY,SAAS,aAAa,IAAI,KAAK;;qBCnd9C,cAAc,SAAS;WAA0B;WAA0B;;UCuIvE;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;;;;;;;;qBC1T3C;;wBAGG,QAAQ,cAAc,iBAAiB;;;;;;;;wBAavC,iBAAiB,kBAAkB,iBAAiB;;wBA+BpD,OAAO,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-module.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/publish-text-safe.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/site-check-in-ci.ts","../src/rules/pinned-git-deps.ts","../src/rules/pipe-fails.ts","../src/rules/job-fails.ts","../src/rules/playwright-install.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/workflow.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/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;;WAEA;;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;;;;;;EAM/C,QAAQ,SAAS,aAAa,SAAS;;;qBAO5B;;wBAGG,aAAa,UAAU,UAAU;;wBAOjC,OAAO,cAAc,gBAAgB;;wBAOrC,QAAQ,cAAc,eAAe;;qBAMxC,WAAY,gBAAgB;;qBAG5B,YAAa;;wBAGV,WAAW,cAAc;;;;;;wBASzB,WAAW;;wBA2BX,UAAU;;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EjB;;;wBAaK,WAAW,cAAc,iBAAgB,SAAiB;;wBAO1D,cAAc,cAAc,QAAQ,mBAAmB,UAAS,KAAK,0CAA+C;;wBAyBpH,UAAU,SAAS,eAAe;;UAkEjC;;WAEN;;WAEA;;WAEA,QAAQ;;;;;;;wBAWH,OAAO,SAAS,eAAe;;wBAyC/B,aAAa,QAAQ;;wBA4BrB,gBAAgB,QAAQ;;;;;;wBA2BxB,YAAY,QAAQ;;wBAapB,UAAU,QAAQ,+BAA+B,iBAAgB;;UAkBhE;WACN;WACA,KAAK,SAAS;WACd,SAAS;WACT,SAAS;;WAET;;;qBAIE;;wBAwEG,OAAO,yBAAyB,IAAI;;qBCjXvC;;UAGI;;WAEN;;;;;WAKA;;;;;WAKA;;;;;WAKA;;WAEA;WACA,KAAK,SAAS;;WAEd;;WAEA,MAAM;;WAEN,YAAY;;;;;;;;;;;;wBA0MP,QAAQ,SAAS,gBAAgB,IAAI,KAAK;;UA6GzC;;WAEN;WACA;WACA;WACA;;;;;;wBAOK,iBAAiB,0BAA0B;;;;;wBAuB3C,eAAe,MAAM,aAAa,IAAI,KAAK;;qBAS9C;;;;;;;;qBAgCA;;UAgBI;;WAEN;WACA,KAAK,SAAS;;WAEd,MAAM;;;;;;;wBAQD,YAAY,SAAS,aAAa,IAAI,KAAK;;qBCnd9C,cAAc,SAAS;WAA0B;WAA0B;;;;;;;;;qBCM3E;;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 npmLookup, $n as codePackages, $t as licenseFile, A as configsOfScript, An as SHARED_WORKFLOWS, At as privateNamesFile, B as sharedDocsRule, Bn as ACTIONS_COMMIT, Bt as lineNameHits, C as namedVersions, Cn as SERVICE_PACKAGE, Ct as DEFAULT_ALLOWED, D as TRAIN_SCOPES, Dn as tsconfigTest, Dt as PRIVATE_PATTERNS_VARIABLE, E as IGNORE_AFTER, En as hasTests, Et as PRIVATE_NAMES_FILE_VARIABLE, F as pathsOf, Fn as SECURITY_SCAN_INPUTS, Ft as PrivateNameListError, G as lockedVersions, Gn as gateAfterCancel, Gt as noBuildOutput, H as roadmapParses, Hn as gateTrigger, Ht as nameMatches, I as sourceMain, In as SECURITY_TIMEOUT_MINUTES, It as firstNameMatch, J as publishedMinorRule, Jn as STRICT_OPTIONS, Jt as mainCheck, K as minorOf, Kn as readAction, Kt as REAL_COMPARE, L as HOME_TIMEOUT_MS, Ln as securityCallers, Lt as isAllowedHit, M as typedFiles, Mn as sharedCi, Mt as privatePatterns, N as testsRequired, Nn as setupCue, Nt as privateTextBreaks, O as trustPolicy, On as SHARED_ACTIONS, Ot as invalidPatternBreaks, P as isSourcePath, Pn as SECURITY_SCAN_COMMIT, Pt as PRIVATE_NAME_LIST, Q as UNSHIPPED_FILES, Qn as cleanPath, Qt as authorOf, R as blockHash, Rn as securityOneJob, Rt as isCommonUse, S as yamlFaults, Sn as readOverlay, St as packNoBuildinfo, T as versionTitle, Tn as serviceRunMain, Tt as PRIVATE_NAMES_FILE_CONFIG, U as requiredScripts, Un as prPathFilters, Ut as parsePrivateNames, V as roadmapOfLine, Vn as convertGate, Vt as mergePrivateNames, W as releaseFiles, Wn as summaryName, Wt as pathNameHit, X as NPM_REGISTRY, Xn as DEPENDENCY_FIELDS, Xt as apiReportScript, Y as reachOf, Yn as cuePreset, Yt as coverageProvider, Z as SHIPPED_FIELDS, Zn as RULE_WARN_DAYS, Zt as LICENSE_TEXTS, _ as runPrePushArgs, _n as mapMarkdown, _t as PAGES_WORKFLOWS, a as listRules, an as moduleUses, ar as parseJsonc, at as parseAdvisory, b as GITHUB_YAML, bn as npmDrift, bt as exportsRequire, c as runCli, cn as homePackage, cr as repositoryOfRemote, ct as pipeFails, d as HOOK_MARKER, dn as reposOf, dr as defaultOptions, dt as pinnedGitDeps, en as licenseFileOf, er as hasFile, et as unreleasedChange, f as NO_READ_LINE, fn as signaturesOf, fr as parseConfig, ft as siteCheckInCi, g as prePush, gn as findHomes, gt as pushMainOnly, h as parsePrePushArgs, hn as MAP_RULE, ht as scheduleMinute, i as formatResult, in as moduleMessage, ir as matchesAny, it as jobFails, j as scriptsOf, jn as callsSharedCi, jt as privateNamesFiles, k as typedScripts, kn as SHARED_CI, kt as noLocalPaths, l as runFix, ln as messageOf, lr as runGit, lt as isGitSpecifier, m as installHook, mn as HOMES, mt as runnerBudget, n as annotations, nn as repositoryIsPublic, nr as keyLine, nt as playwrightInstall, o as readConfig, on as modulesOf, or as readJsonc, ot as startsTests, p as PRE_PUSH_HOOK, pn as HOME_EXPORTS, pr as parseRuleConfig, pt as pagesAfterRelease, q as publishedMinor, qn as readWorkflow, qt as hasImportMetaMain, r as createContext, rn as homeModule, rr as lineOf, rt as hiddenFailures, s as runChecks, sn as declaredName, sr as replaceLine, st as swallowsTests, t as USAGE, tn as mitText, tr as inFolder, tt as unreleasedChangeRule, u as summaryMarkdown, un as repoOf, ur as specifiersOf, ut as isPinned, v as RULES, vn as mapText, vt as pagesCalls, w as setVersions, wn as runCalls, wt as HOME_PATTERNS, x as workflowParses, xn as npmNames, xt as publishTextSafe, y as workspaceProtocol, yn as mergeHomes, yt as pagesSite, z as githubFetch, zn as withOneJob, zt as lineNameHit } from "./run-BY_nuN_V.js";
1
+ import { $ as unreleasedChange, $n as cleanPath, $t as licenseFileOf, A as scriptsOf, An as callsSharedCi, At as privateNamesFiles, B as roadmapOfLine, Bn as convertGate, Bt as mergePrivateNames, C as setVersions, Cn as runCalls, Ct as HOME_PATTERNS, D as trustPolicy, Dn as SHARED_ACTIONS, Dt as invalidPatternBreaks, E as TRAIN_SCOPES, En as tsconfigTest, Et as PRIVATE_PATTERNS_VARIABLE, F as sourceMain, Fn as SECURITY_TIMEOUT_MINUTES, Ft as firstNameMatch, G as minorOf, Gn as parseWorkflow, Gt as REAL_COMPARE, H as requiredScripts, Hn as prPathFilters, Ht as parsePrivateNames, I as HOME_TIMEOUT_MS, In as securityCallers, It as isAllowedHit, J as reachOf, Jn as yamlFaults, Jt as coverageProvider, K as publishedMinor, Kn as readAction, Kt as hasImportMetaMain, L as blockHash, Ln as securityOneJob, Lt as isCommonUse, M as testsRequired, Mn as setupCue, Mt as privateTextBreaks, N as isSourcePath, Nn as SECURITY_SCAN_COMMIT, Nt as PRIVATE_NAME_LIST, O as typedScripts, On as SHARED_CI, Ot as noLocalPaths, P as pathsOf, Pn as SECURITY_SCAN_INPUTS, Pt as PrivateNameListError, Q as npmLookup, Qn as RULE_WARN_DAYS, Qt as licenseFile, R as githubFetch, Rn as withOneJob, Rt as lineNameHit, S as namedVersions, Sn as SERVICE_PACKAGE, St as DEFAULT_ALLOWED, T as IGNORE_AFTER, Tn as hasTests, Tt as PRIVATE_NAMES_FILE_VARIABLE, U as releaseFiles, Un as summaryName, Ut as pathNameHit, V as roadmapParses, Vn as gateTrigger, Vt as nameMatches, W as lockedVersions, Wn as gateAfterCancel, Wt as noBuildOutput, X as SHIPPED_FIELDS, Xn as cuePreset, Xt as LICENSE_TEXTS, Y as NPM_REGISTRY, Yn as STRICT_OPTIONS, Yt as apiReportScript, Z as UNSHIPPED_FILES, Zn as DEPENDENCY_FIELDS, Zt as authorOf, _ as runPrePushArgs, _n as mapText, _t as pagesCalls, a as listRules, an as modulesOf, ar as matchesAny, at as startsTests, b as GITHUB_YAML, bn as npmNames, bt as publishTextSafe, c as runCli, cn as messageOf, cr as replaceLine, ct as isGitSpecifier, d as HOOK_MARKER, dn as signaturesOf, dr as specifiersOf, dt as siteCheckInCi, en as mitText, er as codePackages, et as unreleasedChangeRule, f as NO_READ_LINE, fn as HOME_EXPORTS, fr as defaultOptions, ft as pagesAfterRelease, g as prePush, gn as mapMarkdown, gt as PAGES_WORKFLOWS, h as parsePrePushArgs, hn as findHomes, ht as pushMainOnly, i as formatResult, in as moduleUses, ir as lineOf, it as parseAdvisory, j as typedFiles, jn as sharedCi, jt as privatePatterns, k as configsOfScript, kn as SHARED_WORKFLOWS, kt as privateNamesFile, l as runFix, ln as repoOf, lr as repositoryOfRemote, lt as isPinned, m as installHook, mn as MAP_RULE, mr as parseRuleConfig, mt as scheduleMinute, n as annotations, nn as homeModule, nr as inFolder, nt as hiddenFailures, o as readConfig, on as declaredName, or as parseJsonc, ot as swallowsTests, p as PRE_PUSH_HOOK, pn as HOMES, pr as parseConfig, pt as runnerBudget, q as publishedMinorRule, qn as readWorkflow, qt as mainCheck, r as createContext, rn as moduleMessage, rr as keyLine, rt as jobFails, s as runChecks, sn as homePackage, sr as readJsonc, st as pipeFails, t as USAGE, tn as repositoryIsPublic, tr as hasFile, tt as playwrightInstall, u as summaryMarkdown, un as reposOf, ur as runGit, ut as pinnedGitDeps, v as RULES, vn as mergeHomes, vt as pagesSite, w as versionTitle, wn as serviceRunMain, wt as PRIVATE_NAMES_FILE_CONFIG, x as workflowParses, xn as readOverlay, xt as packNoBuildinfo, y as workspaceProtocol, yn as npmDrift, yt as exportsRequire, z as sharedDocsRule, zn as ACTIONS_COMMIT, zt as lineNameHits } from "./run-DHR-sa4C.js";
2
2
  import { OWNERS, ownerOf, ownersOf, sharedNames } from "./owners.js";
3
3
  import { a as packageFolders, i as isWorkspaceFolder, l as workspaceGlobs, n as globFolders, o as parseWorkspaceGlobs, r as globToRegExp } from "./workspace-_CIq-8ei.js";
4
4
  // src/release-text.ts
@@ -66,6 +66,6 @@ function releaseNotes(name, version, changelog) {
66
66
  if (section.length <= 1e5) return section;
67
67
  return `${section.slice(0, MAX_NOTES)}\n\n(The CHANGELOG.md of \`${name}\` has the full text.)`;
68
68
  }
69
- 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, OWNERS, 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, hiddenFailures, homeModule, homePackage, inFolder, installHook, invalidPatternBreaks, isAllowedHit, isCommonUse, isGitSpecifier, isPinned, isSourcePath, isWorkspaceFolder, jobFails, keyLine, licenseFile, licenseFileOf, lineNameHit, lineNameHits, lineOf, listRules, lockedVersions, mainCheck, mapMarkdown, mapText, matchesAny, mergeHomes, mergePrivateNames, messageOf, minorOf, mitText, moduleMessage, moduleUses, modulesOf, nameMatches, namedVersions, noBuildOutput, noLocalPaths, npmDrift, npmLookup, npmNames, npmUrl, ownerOf, ownersOf, packNoBuildinfo, packageFolders, pagesAfterRelease, pagesCalls, pagesSite, parseAdvisory, parseConfig, parseJsonc, parsePrePushArgs, parsePrivateNames, parseRuleConfig, parseWorkspaceGlobs, pathNameHit, pathsOf, pinnedGitDeps, pipeFails, playwrightInstall, prPathFilters, prePush, privateNamesFile, privateNamesFiles, privatePatterns, privateTextBreaks, publishTextSafe, publishedMinor, publishedMinorRule, pushMainOnly, reachOf, readAction, readConfig, readJsonc, readOverlay, readWorkflow, releaseFiles, releaseNotes, replaceLine, repoOf, reposOf, repositoryIsPublic, repositoryOfRemote, requiredScripts, roadmapOfLine, roadmapParses, runCalls, runChecks, runCli, runFix, runGit, runPrePushArgs, runnerBudget, scheduleMinute, scriptsOf, securityCallers, securityOneJob, serviceRunMain, setVersions, setupCue, sharedCi, sharedDocsRule, sharedNames, signaturesOf, siteCheckInCi, sourceMain, specifiersOf, startsTests, summaryMarkdown, summaryName, swallowsTests, tagName, testsRequired, trustPolicy, tsconfigTest, typedFiles, typedScripts, unreleasedChange, unreleasedChangeRule, versionTitle, withOneJob, workflowParses, workspaceGlobs, workspaceProtocol, yamlFaults };
69
+ 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, OWNERS, 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, hiddenFailures, homeModule, homePackage, inFolder, installHook, invalidPatternBreaks, isAllowedHit, isCommonUse, isGitSpecifier, isPinned, isSourcePath, isWorkspaceFolder, jobFails, keyLine, licenseFile, licenseFileOf, lineNameHit, lineNameHits, lineOf, listRules, lockedVersions, mainCheck, mapMarkdown, mapText, matchesAny, mergeHomes, mergePrivateNames, messageOf, minorOf, mitText, moduleMessage, moduleUses, modulesOf, nameMatches, namedVersions, noBuildOutput, noLocalPaths, npmDrift, npmLookup, npmNames, npmUrl, ownerOf, ownersOf, packNoBuildinfo, packageFolders, pagesAfterRelease, pagesCalls, pagesSite, parseAdvisory, parseConfig, parseJsonc, parsePrePushArgs, parsePrivateNames, parseRuleConfig, parseWorkflow, parseWorkspaceGlobs, pathNameHit, pathsOf, pinnedGitDeps, pipeFails, playwrightInstall, prPathFilters, prePush, privateNamesFile, privateNamesFiles, privatePatterns, privateTextBreaks, publishTextSafe, publishedMinor, publishedMinorRule, pushMainOnly, reachOf, readAction, readConfig, readJsonc, readOverlay, readWorkflow, releaseFiles, releaseNotes, replaceLine, repoOf, reposOf, repositoryIsPublic, repositoryOfRemote, requiredScripts, roadmapOfLine, roadmapParses, runCalls, runChecks, runCli, runFix, runGit, runPrePushArgs, runnerBudget, scheduleMinute, scriptsOf, securityCallers, securityOneJob, serviceRunMain, setVersions, setupCue, sharedCi, sharedDocsRule, sharedNames, signaturesOf, siteCheckInCi, sourceMain, specifiersOf, startsTests, summaryMarkdown, summaryName, swallowsTests, tagName, testsRequired, trustPolicy, tsconfigTest, typedFiles, typedScripts, unreleasedChange, unreleasedChangeRule, versionTitle, withOneJob, workflowParses, workspaceGlobs, workspaceProtocol, yamlFaults };
70
70
 
71
71
  //# sourceMappingURL=index.js.map