@mark1russell7/conventions 0.59.0 → 0.59.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/build/cli.js +1 -1
- package/build/index.d.ts +78 -78
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -1
- package/build/{run-B9ocr1v_.js → run-D29dsmHM.js} +1763 -283
- package/build/run-D29dsmHM.js.map +1 -0
- package/package.json +1 -1
- package/build/run-B9ocr1v_.js.map +0 -1
package/build/cli.js
CHANGED
package/build/index.d.ts
CHANGED
|
@@ -1142,80 +1142,6 @@ export declare const workflowParses: Rule;
|
|
|
1142
1142
|
export declare const workspaceProtocol: Rule;
|
|
1143
1143
|
/** Each rule of the check. */
|
|
1144
1144
|
export declare const RULES: readonly Rule[];
|
|
1145
|
-
/** The result of one rule. */
|
|
1146
|
-
interface RuleResult {
|
|
1147
|
-
readonly id: string;
|
|
1148
|
-
readonly title: string;
|
|
1149
|
-
readonly fix: string;
|
|
1150
|
-
/**
|
|
1151
|
-
* `pass`: no break. `break`: one or more breaks. `warn`: one or more breaks before the day `failsFrom` of the rule, so the
|
|
1152
|
-
* check passes. `off`: the configuration turns the rule off. `skipped`: the rule did not start. `error`: the rule threw.
|
|
1153
|
-
*/
|
|
1154
|
-
readonly status: "pass" | "break" | "warn" | "off" | "skipped" | "error";
|
|
1155
|
-
readonly breaks: readonly Break[];
|
|
1156
|
-
/** The number of breaks in the files of `ignore`. */
|
|
1157
|
-
readonly ignored: number;
|
|
1158
|
-
/** The reason of `off`, of `ignore`, of `skipped`, or the message of `error`. */
|
|
1159
|
-
readonly note?: string;
|
|
1160
|
-
/**
|
|
1161
|
-
* The reason why the rule did not read a part of its cases (`Rule.noRead`). The output then shows "no read" with the
|
|
1162
|
-
* status, so the part does not show as a pass. The status does not change.
|
|
1163
|
-
*/
|
|
1164
|
-
readonly noRead?: string;
|
|
1165
|
-
}
|
|
1166
|
-
/** The result of `runChecks`. */
|
|
1167
|
-
interface CheckResult {
|
|
1168
|
-
readonly rules: readonly RuleResult[];
|
|
1169
|
-
/** True when a rule has a break or an error. */
|
|
1170
|
-
readonly failed: boolean;
|
|
1171
|
-
}
|
|
1172
|
-
/** The options of `runChecks`. */
|
|
1173
|
-
interface CheckOptions {
|
|
1174
|
-
/** The root of the repository. */
|
|
1175
|
-
readonly root: string;
|
|
1176
|
-
/** Only these rules. The default is each rule. */
|
|
1177
|
-
readonly only?: readonly string[];
|
|
1178
|
-
/** The base commit of the change, for the rules that examine a change. */
|
|
1179
|
-
readonly base?: string;
|
|
1180
|
-
readonly env?: Readonly<Record<string, string | undefined>>;
|
|
1181
|
-
/** The rules. The default is `RULES`. */
|
|
1182
|
-
readonly rules?: readonly Rule[];
|
|
1183
|
-
/** The day of the check (`YYYY-MM-DD`, UTC), for `failsFrom`. The default is the day of the clock. */
|
|
1184
|
-
readonly today?: string;
|
|
1185
|
-
}
|
|
1186
|
-
/** This function reads the configuration of the root `package.json` at `root`. */
|
|
1187
|
-
export declare function readConfig(root: string, rules?: readonly Rule[]): ConventionsConfig;
|
|
1188
|
-
/** This function gives the facts of the repository at `root` that the rules read. */
|
|
1189
|
-
export declare function createContext(root: string, config: ConventionsConfig, options?: Pick<CheckOptions, "base" | "env" | "today">): RuleContext;
|
|
1190
|
-
/** This function starts each rule on the repository at `options.root`, and gives the result of each rule. */
|
|
1191
|
-
export declare function runChecks(options: CheckOptions): CheckResult;
|
|
1192
|
-
/** The result of `runFix`. */
|
|
1193
|
-
interface FixResult {
|
|
1194
|
-
/** The files that the edits changed, relative to the root, with `/`, in the order of the first change. */
|
|
1195
|
-
readonly changed: readonly string[];
|
|
1196
|
-
/** The number of checks. */
|
|
1197
|
-
readonly passes: number;
|
|
1198
|
-
/** The result of the last check, after the edits. */
|
|
1199
|
-
readonly result: CheckResult;
|
|
1200
|
-
}
|
|
1201
|
-
/**
|
|
1202
|
-
* This function writes the edits of the breaks, and checks again, until no edit applies. In each pass it writes the first
|
|
1203
|
-
* edit of each file whose `before` is the current text of the file. The other edits of that file wait for the next check,
|
|
1204
|
-
* which gives them again from the new text. Thus a fix does not write over a change that it did not see.
|
|
1205
|
-
*/
|
|
1206
|
-
export declare function runFix(options: CheckOptions): FixResult;
|
|
1207
|
-
/** This function gives the text of a result for a terminal or a CI log. */
|
|
1208
|
-
export declare function formatResult(result: CheckResult): string;
|
|
1209
|
-
/** This function gives the result as Markdown for the summary of a GitHub Actions run. */
|
|
1210
|
-
export declare function summaryMarkdown(result: CheckResult): string;
|
|
1211
|
-
/**
|
|
1212
|
-
* This function gives an `::error` workflow command for each break, so that GitHub shows each break on its line in the pull request.
|
|
1213
|
-
* A break of a rule that only warns gives a `::warning` command. A rule with no read of a part gives a `::warning` command
|
|
1214
|
-
* with the reason.
|
|
1215
|
-
*/
|
|
1216
|
-
export declare function annotations(result: CheckResult): string;
|
|
1217
|
-
/** This function gives the text of `--list`: each rule, its reason, its fix, its options, its state and its audit sources. */
|
|
1218
|
-
export declare function listRules(config: ConventionsConfig | undefined, rules?: readonly Rule[]): string;
|
|
1219
1145
|
/** The input and output of `runCli`. */
|
|
1220
1146
|
interface CliIo {
|
|
1221
1147
|
readonly cwd: string;
|
|
@@ -1225,10 +1151,6 @@ interface CliIo {
|
|
|
1225
1151
|
/** The standard input. The bin reads it only for the command `pre-push`, which reads the refs of the push from git. */
|
|
1226
1152
|
readonly stdin?: string;
|
|
1227
1153
|
}
|
|
1228
|
-
/** The help text of the bin. */
|
|
1229
|
-
export declare const USAGE: string;
|
|
1230
|
-
/** This function starts the bin with the arguments `args`, and gives its exit code. */
|
|
1231
|
-
export declare function runCli(args: readonly string[], io: CliIo): number;
|
|
1232
1154
|
/** The line of `conventions pre-push` when no setting names a private name list and no environment variable has a pattern. */
|
|
1233
1155
|
export declare const NO_READ_LINE: string;
|
|
1234
1156
|
/** The options of `prePush`. */
|
|
@@ -1349,6 +1271,84 @@ export declare const HOME_EXPORTS: Readonly<Record<string, {
|
|
|
1349
1271
|
readonly version: string;
|
|
1350
1272
|
readonly names: readonly string[];
|
|
1351
1273
|
}>>;
|
|
1274
|
+
/** The result of one rule. */
|
|
1275
|
+
interface RuleResult {
|
|
1276
|
+
readonly id: string;
|
|
1277
|
+
readonly title: string;
|
|
1278
|
+
readonly fix: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* `pass`: no break. `break`: one or more breaks. `warn`: one or more breaks before the day `failsFrom` of the rule, so the
|
|
1281
|
+
* check passes. `off`: the configuration turns the rule off. `skipped`: the rule did not start. `error`: the rule threw.
|
|
1282
|
+
*/
|
|
1283
|
+
readonly status: "pass" | "break" | "warn" | "off" | "skipped" | "error";
|
|
1284
|
+
readonly breaks: readonly Break[];
|
|
1285
|
+
/** The number of breaks in the files of `ignore`. */
|
|
1286
|
+
readonly ignored: number;
|
|
1287
|
+
/** The reason of `off`, of `ignore`, of `skipped`, or the message of `error`. */
|
|
1288
|
+
readonly note?: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* The reason why the rule did not read a part of its cases (`Rule.noRead`). The output then shows "no read" with the
|
|
1291
|
+
* status, so the part does not show as a pass. The status does not change.
|
|
1292
|
+
*/
|
|
1293
|
+
readonly noRead?: string;
|
|
1294
|
+
}
|
|
1295
|
+
/** The result of `runChecks`. */
|
|
1296
|
+
interface CheckResult {
|
|
1297
|
+
readonly rules: readonly RuleResult[];
|
|
1298
|
+
/** True when a rule has a break or an error. */
|
|
1299
|
+
readonly failed: boolean;
|
|
1300
|
+
}
|
|
1301
|
+
/** The options of `runChecks`. */
|
|
1302
|
+
interface CheckOptions {
|
|
1303
|
+
/** The root of the repository. */
|
|
1304
|
+
readonly root: string;
|
|
1305
|
+
/** Only these rules. The default is each rule. */
|
|
1306
|
+
readonly only?: readonly string[];
|
|
1307
|
+
/** The base commit of the change, for the rules that examine a change. */
|
|
1308
|
+
readonly base?: string;
|
|
1309
|
+
readonly env?: Readonly<Record<string, string | undefined>>;
|
|
1310
|
+
/** The rules. The default is `RULES`. */
|
|
1311
|
+
readonly rules?: readonly Rule[];
|
|
1312
|
+
/** The day of the check (`YYYY-MM-DD`, UTC), for `failsFrom`. The default is the day of the clock. */
|
|
1313
|
+
readonly today?: string;
|
|
1314
|
+
}
|
|
1315
|
+
/** This function reads the configuration of the root `package.json` at `root`. */
|
|
1316
|
+
export declare function readConfig(root: string, rules?: readonly Rule[]): ConventionsConfig;
|
|
1317
|
+
/** This function gives the facts of the repository at `root` that the rules read. */
|
|
1318
|
+
export declare function createContext(root: string, config: ConventionsConfig, options?: Pick<CheckOptions, "base" | "env" | "today">): RuleContext;
|
|
1319
|
+
/** This function starts each rule on the repository at `options.root`, and gives the result of each rule. */
|
|
1320
|
+
export declare function runChecks(options: CheckOptions): CheckResult;
|
|
1321
|
+
/** The result of `runFix`. */
|
|
1322
|
+
interface FixResult {
|
|
1323
|
+
/** The files that the edits changed, relative to the root, with `/`, in the order of the first change. */
|
|
1324
|
+
readonly changed: readonly string[];
|
|
1325
|
+
/** The number of checks. */
|
|
1326
|
+
readonly passes: number;
|
|
1327
|
+
/** The result of the last check, after the edits. */
|
|
1328
|
+
readonly result: CheckResult;
|
|
1329
|
+
}
|
|
1330
|
+
/**
|
|
1331
|
+
* This function writes the edits of the breaks, and checks again, until no edit applies. In each pass it writes the first
|
|
1332
|
+
* edit of each file whose `before` is the current text of the file. The other edits of that file wait for the next check,
|
|
1333
|
+
* which gives them again from the new text. Thus a fix does not write over a change that it did not see.
|
|
1334
|
+
*/
|
|
1335
|
+
export declare function runFix(options: CheckOptions): FixResult;
|
|
1336
|
+
/** This function gives the text of a result for a terminal or a CI log. */
|
|
1337
|
+
export declare function formatResult(result: CheckResult): string;
|
|
1338
|
+
/** This function gives the result as Markdown for the summary of a GitHub Actions run. */
|
|
1339
|
+
export declare function summaryMarkdown(result: CheckResult): string;
|
|
1340
|
+
/**
|
|
1341
|
+
* This function gives an `::error` workflow command for each break, so that GitHub shows each break on its line in the pull request.
|
|
1342
|
+
* A break of a rule that only warns gives a `::warning` command. A rule with no read of a part gives a `::warning` command
|
|
1343
|
+
* with the reason.
|
|
1344
|
+
*/
|
|
1345
|
+
export declare function annotations(result: CheckResult): string;
|
|
1346
|
+
/** This function gives the text of `--list`: each rule, its reason, its fix, its options, its state and its audit sources. */
|
|
1347
|
+
export declare function listRules(config: ConventionsConfig | undefined, rules?: readonly Rule[]): string;
|
|
1348
|
+
/** The help text of the bin. */
|
|
1349
|
+
export declare const USAGE: string;
|
|
1350
|
+
/** This function starts the bin with the arguments `args`, and gives its exit code. */
|
|
1351
|
+
export declare function runCli(args: readonly string[], io: CliIo): number;
|
|
1352
1352
|
/**
|
|
1353
1353
|
* The rule for the git tag and the text of a GitHub release of a package version.
|
|
1354
1354
|
*
|
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-gate.ts","../src/rules/security-one-job.ts","../src/rules/summary-job.ts","../src/rules/release-mode.ts","../src/rules/shared-docs.ts","../src/rules/call-permissions.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/home-shapes.ts","../src/rules/home-shape.ts","../src/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-console.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/workflow.ts","../src/rules/runner-peak.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/
|
|
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-gate.ts","../src/rules/security-one-job.ts","../src/rules/summary-job.ts","../src/rules/release-mode.ts","../src/rules/shared-docs.ts","../src/rules/call-permissions.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/home-shapes.ts","../src/rules/home-shape.ts","../src/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-console.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/workflow.ts","../src/rules/runner-peak.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/io.ts","../src/pre-push.ts","../src/workflow-expression.ts","../src/home-exports.ts","../src/run.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;WACN,iBAAiB;;WAEjB;;;UAIM;;WAEN;;WAEA;;WAEA;;WAEA;WACA,UAAU;;;UAIJ;;WAEN;;WAEA,aAAa;;WAEb,mBAAmB;;WAEnB,KAAK,SAAS;;WAEd;;WAEA;;EAET;;EAEA,IAAI;;;;;;EAMJ,SAAS;;;wBAIK,UAAU,SAAS,KAAK,iCAAiC;;KAM7D,uBAAuB;WAAqB;;;qBAG3C;;UAGI;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;;;;;WAKjC;;;;;;;WAOA;EACT,MAAM,SAAS,aAAa,SAAS,UAAU;;;;;;EAM/C,UAAU,SAAS;;;;;;EAMnB,QAAQ,SAAS,SAAS,OAAO;;;;;;EAMjC,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;;;;;;wBAcV,WAAW,cAAc;;;;;;wBAmBzB,kBAAkB,KAAK,YAAY;;wBAsBnC,OAAO,cAAc;;wBAOrB,mBAAmB;;qBActB,UAAW,aAAa;;;;;wBAMrB,aAAa,SAAS,KAAK,oDAAoD;;UCzT9E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Ac,iBAAiB"}
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as publishedMinor, $n as callsReleaseBuild, $r as repositoryOfRemote, $t as consoleKind, A as scriptsOf, An as mapText, Ar as summaryJob, At as PRIVATE_NAMES_FILE_VARIABLE, B as matrixPeak, Bn as SHARED_ACTIONS, Br as DEPENDENCY_FIELDS, Bt as firstNameMatch, C as setVersions, Cn as reposOf, Cr as mitText, Ct as pagesSite, D as trustPolicy, Dn as MAP_RULE, Dr as gateTrigger, Dt as DEFAULT_ALLOWED, E as TRAIN_SCOPES, En as HOMES, Er as convertGate, Et as packNoBuildinfo, F as sourceMain, Fn as SERVICE_PACKAGE, Fr as readAction, Ft as privateNamesFiles, G as groupParts, Gn as setupCue, Gr as inFolder, Gt as mergePrivateNames, H as runsAtOnce, Hn as SHARED_WORKFLOWS, Hr as cleanPath, Ht as isCommonUse, I as TEMPLATE_CALLED, In as runCalls, Ir as readWorkflow, It as privatePatterns, J as roadmapParses, Jn as HOME_TIMEOUT_MS, Jr as matchesAny, Jt as pathNameHit, K as mayRun, Kn as callPermissions, Kr as keyLine, Kt as nameMatches, L as UNKNOWN_MATRIX_JOBS, Ln as serviceRunMain, Lr as yamlFaults, Lt as privateTextBreaks, M as testsRequired, Mn as npmDrift, Mr as gateAfterCancel, Mt as invalidPatternBreaks, N as isSourcePath, Nn as npmNames, Nr as MATRIX_EXPAND_MAX, Nt as noLocalPaths, O as typedScripts, On as findHomes, Or as prPathFilters, Ot as HOME_PATTERNS, P as pathsOf, Pn as readOverlay, Pr as parseWorkflow, Pt as privateNamesFile, Q as minorOf, Qn as addReleaseMode, Qr as replaceLine, Qt as consoleGate, R as calledJobs, Rn as hasTests, Rr as STRICT_OPTIONS, Rt as PRIVATE_NAME_LIST, S as namedVersions, Sn as repoOf, Sr as licenseFileOf, St as pagesCalls, T as IGNORE_AFTER, Tn as HOME_EXPORTS, Tr as ACTIONS_COMMIT, Tt as publishTextSafe, U as workflowPeaks, Un as callsSharedCi, Ur as codePackages, Ut as lineNameHit, V as runnerPeak, Vn as SHARED_CI, Vr as RULE_WARN_DAYS, Vt as isAllowedHit, W as evaluateExpression, Wn as sharedCi, Wr as hasFile, Wt as lineNameHits, X as releaseFiles, Xn as githubFetch, Xr as parseJsonc, Xt as NOT_SOURCE, Y as requiredScripts, Yn as blockHash, Yr as parseCatFileBatch, Yt as CONSOLE_LAST_DAY, Z as lockedVersions, Zn as sharedDocsRule, Zr as readJsonc, Zt as consoleBreaks, _ as runPrePushArgs, _n as moduleUses, _r as runnerBudget, _t as pinnedGitDeps, a as listRules, ai as parseConfig, an as mainCheck, ar as securityWorkflow, at as npmLookup, b as GITHUB_YAML, bn as homePackage, br as authorOf, bt as pushMainOnly, c as runCli, cn as containedHome, cr as hasSummaryJob, ct as playwrightInstall, d as HOOK_MARKER, dn as shapeMessage, dr as SECURITY_SCAN_COMMIT, dt as parseAdvisory, ei as runGit, en as isCliFile, er as hasReleaseMode, et as publishedMinorRule, f as NO_READ_LINE, fn as shapesOfSource, fr as SECURITY_SCAN_INPUTS, ft as startsTests, g as prePush, gn as moduleMessage, gr as withOneJob, gt as isPinned, h as parsePrePushArgs, hn as homeModule, hr as securityOneJob, ht as isGitSpecifier, i as formatResult, ii as defaultOptions, in as hasImportMetaMain, ir as securityGate, it as UNSHIPPED_FILES, j as typedFiles, jn as mergeHomes, jr as summaryName, jt as PRIVATE_PATTERNS_VARIABLE, k as configsOfScript, kn as mapMarkdown, kr as skippableJobs, kt as PRIVATE_NAMES_FILE_CONFIG, l as runFix, ln as homeShape, lr as startsOnPullRequest, lt as hiddenFailures, m as installHook, mn as HOME_SHAPES, mr as securityCallers, mt as pipeFails, n as annotations, ni as showFiles, nn as noBuildOutput, nr as SECURITY_FILE, nt as NPM_REGISTRY, o as readConfig, oi as parseRuleConfig, on as coverageProvider, or as SUMMARY_GATES, ot as unreleasedChange, p as PRE_PUSH_HOOK, pn as spansOf, pr as SECURITY_TIMEOUT_MINUTES, pt as swallowsTests, q as roadmapOfLine, qn as callPermissionsRule, qr as lineOf, qt as parsePrivateNames, r as createContext, ri as specifiersOf, rn as REAL_COMPARE, rr as isSecurityGate, rt as SHIPPED_FIELDS, s as runChecks, sn as apiReportScript, sr as addSummaryJob, st as unreleasedChangeRule, t as USAGE, ti as runGitShow, tn as noConsole, tr as releaseModeRule, tt as reachOf, u as summaryMarkdown, un as homeShapesOf, ur as summaryJobRule, ut as jobFails, v as RULES, vn as modulesOf, vr as scheduleMinute, vt as siteCheckInCi, w as versionTitle, wn as signaturesOf, wr as repositoryIsPublic, wt as exportsRequire, x as workflowParses, xn as messageOf, xr as licenseFile, xt as PAGES_WORKFLOWS, y as workspaceProtocol, yn as declaredName, yr as LICENSE_TEXTS, yt as pagesAfterRelease, z as eventClass, zn as tsconfigTest, zr as cuePreset, zt as PrivateNameListError } from "./run-
|
|
1
|
+
import { $ as publishedMinor, $n as callsReleaseBuild, $r as repositoryOfRemote, $t as consoleKind, A as scriptsOf, An as mapText, Ar as summaryJob, At as PRIVATE_NAMES_FILE_VARIABLE, B as matrixPeak, Bn as SHARED_ACTIONS, Br as DEPENDENCY_FIELDS, Bt as firstNameMatch, C as setVersions, Cn as reposOf, Cr as mitText, Ct as pagesSite, D as trustPolicy, Dn as MAP_RULE, Dr as gateTrigger, Dt as DEFAULT_ALLOWED, E as TRAIN_SCOPES, En as HOMES, Er as convertGate, Et as packNoBuildinfo, F as sourceMain, Fn as SERVICE_PACKAGE, Fr as readAction, Ft as privateNamesFiles, G as groupParts, Gn as setupCue, Gr as inFolder, Gt as mergePrivateNames, H as runsAtOnce, Hn as SHARED_WORKFLOWS, Hr as cleanPath, Ht as isCommonUse, I as TEMPLATE_CALLED, In as runCalls, Ir as readWorkflow, It as privatePatterns, J as roadmapParses, Jn as HOME_TIMEOUT_MS, Jr as matchesAny, Jt as pathNameHit, K as mayRun, Kn as callPermissions, Kr as keyLine, Kt as nameMatches, L as UNKNOWN_MATRIX_JOBS, Ln as serviceRunMain, Lr as yamlFaults, Lt as privateTextBreaks, M as testsRequired, Mn as npmDrift, Mr as gateAfterCancel, Mt as invalidPatternBreaks, N as isSourcePath, Nn as npmNames, Nr as MATRIX_EXPAND_MAX, Nt as noLocalPaths, O as typedScripts, On as findHomes, Or as prPathFilters, Ot as HOME_PATTERNS, P as pathsOf, Pn as readOverlay, Pr as parseWorkflow, Pt as privateNamesFile, Q as minorOf, Qn as addReleaseMode, Qr as replaceLine, Qt as consoleGate, R as calledJobs, Rn as hasTests, Rr as STRICT_OPTIONS, Rt as PRIVATE_NAME_LIST, S as namedVersions, Sn as repoOf, Sr as licenseFileOf, St as pagesCalls, T as IGNORE_AFTER, Tn as HOME_EXPORTS, Tr as ACTIONS_COMMIT, Tt as publishTextSafe, U as workflowPeaks, Un as callsSharedCi, Ur as codePackages, Ut as lineNameHit, V as runnerPeak, Vn as SHARED_CI, Vr as RULE_WARN_DAYS, Vt as isAllowedHit, W as evaluateExpression, Wn as sharedCi, Wr as hasFile, Wt as lineNameHits, X as releaseFiles, Xn as githubFetch, Xr as parseJsonc, Xt as NOT_SOURCE, Y as requiredScripts, Yn as blockHash, Yr as parseCatFileBatch, Yt as CONSOLE_LAST_DAY, Z as lockedVersions, Zn as sharedDocsRule, Zr as readJsonc, Zt as consoleBreaks, _ as runPrePushArgs, _n as moduleUses, _r as runnerBudget, _t as pinnedGitDeps, a as listRules, ai as parseConfig, an as mainCheck, ar as securityWorkflow, at as npmLookup, b as GITHUB_YAML, bn as homePackage, br as authorOf, bt as pushMainOnly, c as runCli, cn as containedHome, cr as hasSummaryJob, ct as playwrightInstall, d as HOOK_MARKER, dn as shapeMessage, dr as SECURITY_SCAN_COMMIT, dt as parseAdvisory, ei as runGit, en as isCliFile, er as hasReleaseMode, et as publishedMinorRule, f as NO_READ_LINE, fn as shapesOfSource, fr as SECURITY_SCAN_INPUTS, ft as startsTests, g as prePush, gn as moduleMessage, gr as withOneJob, gt as isPinned, h as parsePrePushArgs, hn as homeModule, hr as securityOneJob, ht as isGitSpecifier, i as formatResult, ii as defaultOptions, in as hasImportMetaMain, ir as securityGate, it as UNSHIPPED_FILES, j as typedFiles, jn as mergeHomes, jr as summaryName, jt as PRIVATE_PATTERNS_VARIABLE, k as configsOfScript, kn as mapMarkdown, kr as skippableJobs, kt as PRIVATE_NAMES_FILE_CONFIG, l as runFix, ln as homeShape, lr as startsOnPullRequest, lt as hiddenFailures, m as installHook, mn as HOME_SHAPES, mr as securityCallers, mt as pipeFails, n as annotations, ni as showFiles, nn as noBuildOutput, nr as SECURITY_FILE, nt as NPM_REGISTRY, o as readConfig, oi as parseRuleConfig, on as coverageProvider, or as SUMMARY_GATES, ot as unreleasedChange, p as PRE_PUSH_HOOK, pn as spansOf, pr as SECURITY_TIMEOUT_MINUTES, pt as swallowsTests, q as roadmapOfLine, qn as callPermissionsRule, qr as lineOf, qt as parsePrivateNames, r as createContext, ri as specifiersOf, rn as REAL_COMPARE, rr as isSecurityGate, rt as SHIPPED_FIELDS, s as runChecks, sn as apiReportScript, sr as addSummaryJob, st as unreleasedChangeRule, t as USAGE, ti as runGitShow, tn as noConsole, tr as releaseModeRule, tt as reachOf, u as summaryMarkdown, un as homeShapesOf, ur as summaryJobRule, ut as jobFails, v as RULES, vn as modulesOf, vr as scheduleMinute, vt as siteCheckInCi, w as versionTitle, wn as signaturesOf, wr as repositoryIsPublic, wt as exportsRequire, x as workflowParses, xn as messageOf, xr as licenseFile, xt as PAGES_WORKFLOWS, y as workspaceProtocol, yn as declaredName, yr as LICENSE_TEXTS, yt as pagesAfterRelease, z as eventClass, zn as tsconfigTest, zr as cuePreset, zt as PrivateNameListError } from "./run-D29dsmHM.js";
|
|
2
2
|
import { OWNERS, ownerOf, ownersOf, repoKeyer, 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-B6xQXXcL.js";
|
|
4
4
|
// src/release-text.ts
|