@mark1russell7/conventions 0.41.13 → 0.41.14
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 +16 -5
- package/build/cli.js +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -1
- package/build/{run-DH2lQ2Lm.js → run-fxiGe-ig.js} +345 -91
- package/build/run-fxiGe-ig.js.map +1 -0
- package/package.json +1 -1
- package/build/run-DH2lQ2Lm.js.map +0 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
|
|
|
53
53
|
| `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. The commit messages of the change (a pull request, or `--base`) and the title and the body of the pull request do not have one either. The same is true for each pattern of the option `patterns` and of the environment variable `CONVENTIONS_PRIVATE_PATTERNS`. A break of a private pattern shows only the line of the pattern in the variable, not the text. A line of the variable that is not a valid regular expression is a break of its own. | client `I12`. systems `no-identifying-names`, `no-private-identifiers`, `no-private-names`. coeval `no-private-names`. |
|
|
54
54
|
| `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`. |
|
|
55
55
|
| `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`. |
|
|
56
|
-
| `version-title` | A merge whose title names a version sets a version in a `package.json`. A title names a version in parentheses at its end, for example `(0.3.3)` before the `(#212)` of a squash, or after `Release` at its start. On a push to the default branch, the rule examines each commit of the first-parent line against its first parent. On a pull request, it reads the title of the event file and examines the merge commit against the base. A title with no version passes. A title that names an other version than the version that the merge sets also passes, because the change gets a release. | template #212 (`5933b34`) and #215 (`e077054`), 2026-11-06: both set `site-pages` 0.3.3, so the squash of #215 changed no `package.json`, and no release started. Template #162 and #164 (2026-11-04) did the same with 0.2.5. crawler, coeval `release.yml`. |
|
|
56
|
+
| `version-title` | A merge whose title names a version sets a version in a `package.json`. A title names a version in parentheses at its end, for example `(0.3.3)` before the `(#212)` of a squash, or after `Release` at its start. On a push to the default branch, the rule examines each commit of the first-parent line against its first parent. On a pull request, it reads the title of the event file and examines the merge commit against the base. On a dispatched run of a pull request, the file of `CONVENTIONS_PULL_REQUEST` gives the title. Then the rule examines the change from the merge base to the head. A version counts only when the base branch does not have it already. A title with no version passes. A title that names an other version than the version that the merge sets also passes, because the change gets a release. | template #212 (`5933b34`) and #215 (`e077054`), 2026-11-06: both set `site-pages` 0.3.3, so the squash of #215 changed no `package.json`, and no release started. Template #162 and #164 (2026-11-04) did the same with 0.2.5. crawler, coeval `release.yml`. |
|
|
57
57
|
| `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 |
|
|
58
58
|
| `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). |
|
|
59
59
|
| `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). |
|
|
@@ -81,9 +81,11 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
|
|
|
81
81
|
| `pages-after-release` | A repository with a public package and a release workflow starts its Pages workflow after a release and on each day. `conventions fix` writes the triggers. A workflow with its own deploy steps needs a person. |
|
|
82
82
|
| `shared-docs` | Each lock file `shared.lock.json` names a document in its field `file`. Each shared block of the document (`<!-- shared:<id> -->` to `<!-- /shared:<id> -->`) has the SHA-256 that the lock gives, and the lock has each block. A linked block has its home in another repository. Its lock entry gives `{repo, path, commit, sha256}`, with a full commit. The document has a `<!-- linked:<id> -->` block with the link to the home at that commit, and no copy. In CI, the rule downloads each home and compares the hash. A home that does not answer in 30 seconds is a break. On 2026-11-03 three repositories kept copies of a block whose home in rigor had a different hash. | layout-contract `scripts/check-shared.mjs` (#155). |
|
|
83
83
|
|
|
84
|
-
The rule `release-files` needs the base of the change. On a pull request, the checkout is a merge commit, and the rule reads its two parents (`fetch-depth` 2 or more). In other runs, give `--base <ref>`.
|
|
84
|
+
The rule `release-files` needs the base of the change. On a pull request, the checkout is a merge commit, and the rule reads its two parents (`fetch-depth` 2 or more). In other runs, give `--base <ref>`. On a dispatched run of a pull request, the CI of the template gives the base in `CONVENTIONS_BASE` (refer to "Commands"). Without a base, the rule shows `skip`.
|
|
85
85
|
|
|
86
|
-
The rule `
|
|
86
|
+
The rule `release-files` also needs each commit of the change. A shallow checkout can end inside the change. Then the authors and the messages that the rule reads are not those of the change, so the rule shows `error`. A pull request of one commit is complete at depth 2. For a longer one, the CI of the template deepens the checkout to the merge base.
|
|
87
|
+
|
|
88
|
+
The rule `unreleased-change` also needs the base of the change and its merge base. The CI of the template deepens the checkout of each pull request to the merge base, also on a dispatched run of a pull request. Without it, the rule shows `skip`. The rule also reads a push to the default branch: the event file gives the commit before the push and the time of the push. With `versionEachChange`, two pull requests that set the same version break only on the push. The check of the second pull request passed before the first release.
|
|
87
89
|
|
|
88
90
|
A repository that collects changes and raises the version in a separate pull request keeps the default. Each pull request can then change the code with no version change.
|
|
89
91
|
|
|
@@ -165,12 +167,21 @@ An unknown rule, an unknown option, or an exception or a changed option without
|
|
|
165
167
|
| `--list` | Show each rule: the reason, the fix, the options, the state and the audit rows. |
|
|
166
168
|
| `--root <folder>` | The root of the repository. The default is the current folder. |
|
|
167
169
|
| `--rule <id>` | Only this rule. Use it again for more rules. |
|
|
168
|
-
| `--base <ref>` | The base commit of the change, for the rules `release-files`, `home-package` and `
|
|
169
|
-
| `--no-base` | Do not use
|
|
170
|
+
| `--base <ref>` | The base commit of the change, for the rules `release-files`, `home-package`, `unreleased-change` and `version-title`. The first default is the environment variable `CONVENTIONS_BASE`, when it is not empty. Outside CI, the next default is the default branch of origin. Thus a local check examines the same added lines as the check of the pull request. |
|
|
171
|
+
| `--no-base` | Do not use a default base. |
|
|
170
172
|
| `--json` | Write the result as JSON. |
|
|
171
173
|
| `pre-push <remote> [<url>]` | Examine the new commits of a push with the private name list. The git hook `pre-push` starts it. |
|
|
172
174
|
| `hook install` | Write the git hook `pre-push`. In CI, or outside a git repository, the command does nothing. |
|
|
173
175
|
|
|
176
|
+
A run that `workflow_dispatch` starts has no pull request in its event file. The queue of the template starts the gates of a pull request in this way. For such a run, the shared CI finds the pull request of the branch, and gives two environment variables to the check:
|
|
177
|
+
|
|
178
|
+
| Variable | What it gives |
|
|
179
|
+
|---|---|
|
|
180
|
+
| `CONVENTIONS_BASE` | The base commit of the change: the tip of the base branch of the pull request. It is the default of `--base`. An empty value gives no base. |
|
|
181
|
+
| `CONVENTIONS_PULL_REQUEST` | The path of a JSON file with the pull request of the run: `title`, `body` and `commits`. When the variable is not empty, the rules read the pull request from this file, and not from the event file. A file that is missing or that does not parse gives no pull request. |
|
|
182
|
+
|
|
183
|
+
With the two variables, the rules `release-files`, `unreleased-change`, `home-package`, `version-title` and `no-local-paths` examine the change of the pull request, as on a `pull_request` run.
|
|
184
|
+
|
|
174
185
|
## The private name list and the hook `pre-push`
|
|
175
186
|
|
|
176
187
|
A private name must not get into a public repository. The private names are in a private name list, outside of the public repositories. The git hook `pre-push` examines each push with that list, on the computer of the push.
|
package/build/cli.js
CHANGED
package/build/index.d.ts.map
CHANGED
|
@@ -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,cAAc,gBAAgB;;wBAOrC,QAAQ,cAAc,eAAe;;qBAMxC,WAAY,gBAAgB;;qBAG5B,YAAa;;wBAGV,WAAW,cAAc;;;;;;wBASzB,WAAW;;wBA2BX,UAAU;;wBAUV,OAAO,cAAc;;qBAOxB,UAAW,aAAa;;;;;wBAMrB,aAAa,SAAS,KAAK,oDAAoD;;UCpN9E;;WAEN;;WAEA;;;;;WAKA;;WAEA;;WAEA,SAAS;;;UAIH;;WAEN;;WAEA,OAAO,SAAS,eAAe;;;wBAW1B,eAAe,MAAM,OAAO;;;;;;;wBAU5B,YAAY,gBAAgB,gBAAgB,SAAS;;qBCxCxD;qBA4FA,WAAW;qBC5CX,iBAAiB;;UCzCb;WACN;WACA;WACA;;;wBAIK,cAAc,eAAe;;qBAoBhC;;wBAyBG,YAAY;;;;;;;wBAkBZ,YAAY,cAAc,cAAc;EAAoC;;EAAmB;;qBAwIlG,aAAa;;qBClNb;;qBAGA;;qBAGA;;UAQI;WACN;WACA;;;wBAkBK,gBAAgB,eAAe;;;;;;wBA8B/B,WAAW,cAAc;EAA0C;;EAAmB;;qBA4DzF,gBAAgB;qBChGhB,UAAU;;qBC5BV;;qBAcA;;qBAGA;;wBASG,cAAc,cAAc;qBAI/B,UAAU;;qBC/BV;;;;;;wBAgCG,SAAS;qBAmBZ,gBAAgB;;KC3DjB;;UAGK;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;;;;WAKA;;;;;;WAMA;;WAEA,OAAO;;WAEP;;;;;;WAMA;;WAEA;;;qBAIE;;qBAIA,gBAAgB;;
|
|
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-protoc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S,eAAe;;wBAyC/B,aAAa,QAAQ;;wBA0BrB,gBAAgB,QAAQ;;;;;wBAyBxB,YAAY,QAAQ;;wBAYpB,UAAU,QAAQ,+BAA+B,iBAAgB;;UAkBhE;WACN;WACA,KAAK,SAAS;WACd,SAAS;WACT,SAAS;;WAET;;;qBAIE;;wBAoEG,OAAO,yBAAyB,IAAI;;qBC5VvC;;UAGI;;WAEN;;;;;WAKA;;WAEA;WACA,KAAK,SAAS;;WAEd;;WAEA,MAAM;;WAEN,YAAY;;;;;;;wBAqMP,QAAQ,SAAS,gBAAgB,IAAI,KAAK;;qBA2E7C;;;;;;;;qBAgCA;;UAgBI;;WAEN;WACA,KAAK,SAAS;;WAEd,MAAM;;;;;;;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 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-
|
|
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-fxiGe-ig.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
|
/**
|