@mark1russell7/conventions 0.60.1 → 0.61.1
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
CHANGED
package/build/index.d.ts
CHANGED
|
@@ -343,9 +343,9 @@ export declare function callsReleaseBuild(text: string): boolean;
|
|
|
343
343
|
/** This function tells if a release.yml reads the mode of the build. */
|
|
344
344
|
export declare function hasReleaseMode(text: string): boolean;
|
|
345
345
|
/**
|
|
346
|
-
* This function gives the release.yml with
|
|
346
|
+
* This function gives the release.yml with four changes. The job `version` (pinned to the commit of its build job)
|
|
347
347
|
* comes before the job publish. The jobs publish and tag get the condition of the mode. The path filter of `on.push`
|
|
348
|
-
* gets `.changeset/*.md`.
|
|
348
|
+
* gets `.changeset/*.md`. The condition of the job version reads the output drift of the build (addDrift).
|
|
349
349
|
* For a form that it does not know, it gives a reason and the text as it is. A file that has all three already does not change.
|
|
350
350
|
*/
|
|
351
351
|
export declare function addReleaseMode(text: string): {
|
|
@@ -982,6 +982,8 @@ interface ParsedStep {
|
|
|
982
982
|
readonly secrets: readonly string[];
|
|
983
983
|
/** The inputs of the action of the step (`with`), each as text. An expression stays as it is. A step with no inputs has an empty map. */
|
|
984
984
|
readonly with: Readonly<Record<string, string>>;
|
|
985
|
+
/** The shell script of the step (`run`), or an empty text. */
|
|
986
|
+
readonly run: string;
|
|
985
987
|
}
|
|
986
988
|
/** The `concurrency` of a workflow or of a job. GitHub runs at most one run of a group, and one more run of it waits. */
|
|
987
989
|
interface ParsedConcurrency {
|
|
@@ -1019,6 +1021,8 @@ interface ParsedJob {
|
|
|
1019
1021
|
readonly needs: readonly string[];
|
|
1020
1022
|
/** The workflow that the job calls (`uses`), with no pin, or an empty text. */
|
|
1021
1023
|
readonly uses: string;
|
|
1024
|
+
/** The inputs of the workflow that the job calls (`with`), each as text. An expression stays as it is. A job with no inputs has an empty map. */
|
|
1025
|
+
readonly with: Readonly<Record<string, string>>;
|
|
1022
1026
|
readonly permissions: WorkflowPermissions;
|
|
1023
1027
|
/** The secrets that the job and its steps read. The name `inherit` is `secrets: inherit`, and `*` is the whole context. */
|
|
1024
1028
|
readonly secrets: readonly string[];
|
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/io.ts","../src/pre-push.ts","../src/workflow-expression.ts","../src/home-exports.ts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1B,eAAe,MAAM,OAAO;;;;;;;;wBAW5B,gBAAgB,gBAAgB,MAAM,OAAO;;;;;;;wBAwD7C,YAAY,gBAAgB,gBAAgB,SAAS;;qBCrGxD;qBA4FA,WAAW;qBC5CX,iBAAiB;;UCzCb;WACN;WACA;WACA;;;wBAIK,cAAc,eAAe;;qBAoBhC;;wBAyBG,YAAY;;wBAaZ,cAAc,SAAS,wCAAwC,KAAK,sBAAsB;;UAczF;WACN;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;;;wBAIK,WAAW,GAAG;;;;;;;wBA2Bd,YAAY,cAAc,cAAc;EAAoC;;EAAmB;;qBA+GlG,aAAa;;qBCvOb;;;;;wBAYG,eAAe;;wBAqEf,iBAAiB,oBAAoB;qBAKxC,cAAc;;qBCzFd;;qBAGA;;qBAGA;;UAWI;WACN;WACA;;;wBAkBK,gBAAgB,eAAe;;;;;;;wBA+B/B,WAAW,cAAc;EAA0C;;EAAmB;;qBAqEzF,gBAAgB;;qBCxIhB;;wBAQG,oBAAoB;;wBAUpB,cAAc;;;;;;wBAWd,cAAc,cAAc,cAAc;EAAoC;;EAAmB;;qBAuCpG,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-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;;;;;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KA;WACA,iBAAiB;;WAEjB;;WAEA;;;;;WAKA;;;UAIM;WACN,gBAAgB;;WAEhB;;;UAIM;;WAEN;;WAEA;;WAEA;WACA,MAAM,SAAS;;WAEf,iBAAiB;;WAEjB;;;wBAaK,WAAW,cAAc,iBAAgB,SAAiB;;wBAO1D,cAAc,cAAc,QAAQ,mBAAmB,UAAS,KAAK,0CAA+C;;wBAwCpH,UAAU,SAAS,eAAe;;UAuEjC;;WAEN;;WAEA;;WAEA,QAAQ;;;;;;;wBAWH,OAAO,SAAS,eAAe;;wBAyC/B,aAAa,QAAQ;;wBA4BrB,gBAAgB,QAAQ;;;;;;wBA2BxB,YAAY,QAAQ;;wBAapB,UAAU,QAAQ,+BAA+B,iBAAgB;;qBAqBpE;;wBA8EG,OAAO,yBAAyB,IAAI;;;;;;;;qBCvZvC;;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 lockedVersions, $n as sharedDocsRule, $r as readJsonc, $t as consoleBreaks, A as scriptsOf, An as findHomes, Ar as prPathFilters, At as HOME_PATTERNS, B as giveWaySlots, Bn as hasTests, Br as STRICT_OPTIONS, Bt as PRIVATE_NAME_LIST, C as setVersions, Cn as messageOf, Cr as licenseFile, Ct as PAGES_WORKFLOWS, D as trustPolicy, Dn as HOME_EXPORTS, Dr as ACTIONS_COMMIT, Dt as publishTextSafe, E as TRAIN_SCOPES, En as signaturesOf, Er as repositoryIsPublic, Et as exportsRequire, F as sourceMain, Fn as npmNames, Fr as MATRIX_EXPAND_MAX, Ft as noLocalPaths, G as workflowPeaks, Gn as callsSharedCi, Gr as codePackages, Gt as lineNameHit, H as repositoryPeak, Hn as SHARED_ACTIONS, Hr as DEPENDENCY_FIELDS, Ht as firstNameMatch, I as TEMPLATE_CALLED, In as readOverlay, Ir as parseWorkflow, It as privateNamesFile, J as mayRun, Jn as callPermissions, Jr as keyLine, Jt as nameMatches, K as evaluateExpression, Kn as sharedCi, Kr as hasFile, Kt as lineNameHits, L as UNKNOWN_MATRIX_JOBS, Ln as SERVICE_PACKAGE, Lr as readAction, Lt as privateNamesFiles, M as testsRequired, Mn as mapText, Mr as summaryJob, Mt as PRIVATE_NAMES_FILE_VARIABLE, N as isSourcePath, Nn as mergeHomes, Nr as summaryName, Nt as PRIVATE_PATTERNS_VARIABLE, O as typedScripts, On as HOMES, Or as convertGate, Ot as packNoBuildinfo, P as pathsOf, Pn as npmDrift, Pr as gateAfterCancel, Pt as invalidPatternBreaks, Q as releaseFiles, Qn as githubFetch, Qr as parseJsonc, Qt as NOT_SOURCE, R as calledJobs, Rn as runCalls, Rr as readWorkflow, Rt as privatePatterns, S as namedVersions, Sn as homePackage, Sr as authorOf, St as pushMainOnly, T as IGNORE_AFTER, Tn as reposOf, Tr as mitText, Tt as pagesSite, U as runnerPeak, Un as SHARED_CI, Ur as RULE_WARN_DAYS, Ut as isAllowedHit, V as matrixPeak, Vn as tsconfigTest, Vr as cuePreset, Vt as PrivateNameListError, W as runsAtOnce, Wn as SHARED_WORKFLOWS, Wr as cleanPath, Wt as isCommonUse, X as roadmapParses, Xn as HOME_TIMEOUT_MS, Xr as matchesAny, Xt as pathNameHit, Y as roadmapOfLine, Yn as callPermissionsRule, Yr as lineOf, Yt as parsePrivateNames, Z as requiredScripts, Zn as blockHash, Zr as parseCatFileBatch, Zt as CONSOLE_LAST_DAY, _ as runPrePushArgs, _n as homeModule, _r as securityOneJob, _t as isGitSpecifier, a as listRules, ai as specifiersOf, an as REAL_COMPARE, ar as isSecurityGate, at as SHIPPED_FIELDS, b as GITHUB_YAML, bn as modulesOf, br as scheduleMinute, bt as siteCheckInCi, c as runCli, ci as parseRuleConfig, cn as coverageProvider, cr as SUMMARY_GATES, ct as unreleasedChange, d as HOOK_MARKER, dn as homeShape, dr as startsOnPullRequest, dt as hiddenFailures, ei as replaceLine, en as consoleGate, er as addReleaseMode, et as minorOf, f as NO_READ_LINE, fn as homeShapesOf, fr as summaryJobRule, ft as jobFails, g as prePush, gn as HOME_SHAPES, gr as securityCallers, gt as pipeFails, h as parsePrePushArgs, hn as spansOf, hr as SECURITY_TIMEOUT_MINUTES, ht as swallowsTests, i as formatResult, ii as showFiles, in as noBuildOutput, ir as SECURITY_FILE, it as NPM_REGISTRY, j as typedFiles, jn as mapMarkdown, jr as skippableJobs, jt as PRIVATE_NAMES_FILE_CONFIG, k as configsOfScript, kn as MAP_RULE, kr as gateTrigger, kt as DEFAULT_ALLOWED, l as runFix, ln as apiReportScript, lr as addSummaryJob, lt as unreleasedChangeRule, m as installHook, mn as shapesOfSource, mr as SECURITY_SCAN_INPUTS, mt as startsTests, n as annotations, ni as runGit, nn as isCliFile, nr as hasReleaseMode, nt as publishedMinorRule, o as readConfig, oi as defaultOptions, on as hasImportMetaMain, or as securityGate, ot as UNSHIPPED_FILES, p as PRE_PUSH_HOOK, pn as shapeMessage, pr as SECURITY_SCAN_COMMIT, pt as parseAdvisory, q as groupParts, qn as setupCue, qr as inFolder, qt as mergePrivateNames, r as createContext, ri as runGitShow, rn as noConsole, rr as releaseModeRule, rt as reachOf, s as runChecks, si as parseConfig, sn as mainCheck, sr as securityWorkflow, st as npmLookup, t as USAGE, ti as repositoryOfRemote, tn as consoleKind, tr as callsReleaseBuild, tt as publishedMinor, u as summaryMarkdown, un as containedHome, ur as hasSummaryJob, ut as playwrightInstall, v as RULES, vn as moduleMessage, vr as withOneJob, vt as isPinned, w as versionTitle, wn as repoOf, wr as licenseFileOf, wt as pagesCalls, x as workflowParses, xn as declaredName, xr as LICENSE_TEXTS, xt as pagesAfterRelease, y as workspaceProtocol, yn as moduleUses, yr as runnerBudget, yt as pinnedGitDeps, z as eventClass, zn as serviceRunMain, zr as yamlFaults, zt as privateTextBreaks } from "./run-
|
|
1
|
+
import { $ as lockedVersions, $n as sharedDocsRule, $r as readJsonc, $t as consoleBreaks, A as scriptsOf, An as findHomes, Ar as prPathFilters, At as HOME_PATTERNS, B as giveWaySlots, Bn as hasTests, Br as STRICT_OPTIONS, Bt as PRIVATE_NAME_LIST, C as setVersions, Cn as messageOf, Cr as licenseFile, Ct as PAGES_WORKFLOWS, D as trustPolicy, Dn as HOME_EXPORTS, Dr as ACTIONS_COMMIT, Dt as publishTextSafe, E as TRAIN_SCOPES, En as signaturesOf, Er as repositoryIsPublic, Et as exportsRequire, F as sourceMain, Fn as npmNames, Fr as MATRIX_EXPAND_MAX, Ft as noLocalPaths, G as workflowPeaks, Gn as callsSharedCi, Gr as codePackages, Gt as lineNameHit, H as repositoryPeak, Hn as SHARED_ACTIONS, Hr as DEPENDENCY_FIELDS, Ht as firstNameMatch, I as TEMPLATE_CALLED, In as readOverlay, Ir as parseWorkflow, It as privateNamesFile, J as mayRun, Jn as callPermissions, Jr as keyLine, Jt as nameMatches, K as evaluateExpression, Kn as sharedCi, Kr as hasFile, Kt as lineNameHits, L as UNKNOWN_MATRIX_JOBS, Ln as SERVICE_PACKAGE, Lr as readAction, Lt as privateNamesFiles, M as testsRequired, Mn as mapText, Mr as summaryJob, Mt as PRIVATE_NAMES_FILE_VARIABLE, N as isSourcePath, Nn as mergeHomes, Nr as summaryName, Nt as PRIVATE_PATTERNS_VARIABLE, O as typedScripts, On as HOMES, Or as convertGate, Ot as packNoBuildinfo, P as pathsOf, Pn as npmDrift, Pr as gateAfterCancel, Pt as invalidPatternBreaks, Q as releaseFiles, Qn as githubFetch, Qr as parseJsonc, Qt as NOT_SOURCE, R as calledJobs, Rn as runCalls, Rr as readWorkflow, Rt as privatePatterns, S as namedVersions, Sn as homePackage, Sr as authorOf, St as pushMainOnly, T as IGNORE_AFTER, Tn as reposOf, Tr as mitText, Tt as pagesSite, U as runnerPeak, Un as SHARED_CI, Ur as RULE_WARN_DAYS, Ut as isAllowedHit, V as matrixPeak, Vn as tsconfigTest, Vr as cuePreset, Vt as PrivateNameListError, W as runsAtOnce, Wn as SHARED_WORKFLOWS, Wr as cleanPath, Wt as isCommonUse, X as roadmapParses, Xn as HOME_TIMEOUT_MS, Xr as matchesAny, Xt as pathNameHit, Y as roadmapOfLine, Yn as callPermissionsRule, Yr as lineOf, Yt as parsePrivateNames, Z as requiredScripts, Zn as blockHash, Zr as parseCatFileBatch, Zt as CONSOLE_LAST_DAY, _ as runPrePushArgs, _n as homeModule, _r as securityOneJob, _t as isGitSpecifier, a as listRules, ai as specifiersOf, an as REAL_COMPARE, ar as isSecurityGate, at as SHIPPED_FIELDS, b as GITHUB_YAML, bn as modulesOf, br as scheduleMinute, bt as siteCheckInCi, c as runCli, ci as parseRuleConfig, cn as coverageProvider, cr as SUMMARY_GATES, ct as unreleasedChange, d as HOOK_MARKER, dn as homeShape, dr as startsOnPullRequest, dt as hiddenFailures, ei as replaceLine, en as consoleGate, er as addReleaseMode, et as minorOf, f as NO_READ_LINE, fn as homeShapesOf, fr as summaryJobRule, ft as jobFails, g as prePush, gn as HOME_SHAPES, gr as securityCallers, gt as pipeFails, h as parsePrePushArgs, hn as spansOf, hr as SECURITY_TIMEOUT_MINUTES, ht as swallowsTests, i as formatResult, ii as showFiles, in as noBuildOutput, ir as SECURITY_FILE, it as NPM_REGISTRY, j as typedFiles, jn as mapMarkdown, jr as skippableJobs, jt as PRIVATE_NAMES_FILE_CONFIG, k as configsOfScript, kn as MAP_RULE, kr as gateTrigger, kt as DEFAULT_ALLOWED, l as runFix, ln as apiReportScript, lr as addSummaryJob, lt as unreleasedChangeRule, m as installHook, mn as shapesOfSource, mr as SECURITY_SCAN_INPUTS, mt as startsTests, n as annotations, ni as runGit, nn as isCliFile, nr as hasReleaseMode, nt as publishedMinorRule, o as readConfig, oi as defaultOptions, on as hasImportMetaMain, or as securityGate, ot as UNSHIPPED_FILES, p as PRE_PUSH_HOOK, pn as shapeMessage, pr as SECURITY_SCAN_COMMIT, pt as parseAdvisory, q as groupParts, qn as setupCue, qr as inFolder, qt as mergePrivateNames, r as createContext, ri as runGitShow, rn as noConsole, rr as releaseModeRule, rt as reachOf, s as runChecks, si as parseConfig, sn as mainCheck, sr as securityWorkflow, st as npmLookup, t as USAGE, ti as repositoryOfRemote, tn as consoleKind, tr as callsReleaseBuild, tt as publishedMinor, u as summaryMarkdown, un as containedHome, ur as hasSummaryJob, ut as playwrightInstall, v as RULES, vn as moduleMessage, vr as withOneJob, vt as isPinned, w as versionTitle, wn as repoOf, wr as licenseFileOf, wt as pagesCalls, x as workflowParses, xn as declaredName, xr as LICENSE_TEXTS, xt as pagesAfterRelease, y as workspaceProtocol, yn as moduleUses, yr as runnerBudget, yt as pinnedGitDeps, z as eventClass, zn as serviceRunMain, zr as yamlFaults, zt as privateTextBreaks } from "./run-CS5E-o9w.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
|
|
@@ -1706,18 +1706,22 @@ function secretsOf(value) {
|
|
|
1706
1706
|
addSecrets(value, "", secrets, /* @__PURE__ */ new Set());
|
|
1707
1707
|
return secrets;
|
|
1708
1708
|
}
|
|
1709
|
+
/** This function gives the inputs (`with`) of a step, or of a job that calls a workflow, each as text. */
|
|
1710
|
+
function inputsOf(owner) {
|
|
1711
|
+
const inputs = isObject$1(owner["with"]) ? owner["with"] : {};
|
|
1712
|
+
return Object.fromEntries(Object.entries(inputs).map(([key, value]) => [key, optionalText(value)]));
|
|
1713
|
+
}
|
|
1709
1714
|
/** This function reads a step: the same label as the line reader gives, its condition, its action and its secrets. */
|
|
1710
1715
|
function parsedStep(value) {
|
|
1711
1716
|
const step = isObject$1(value) ? value : {};
|
|
1712
1717
|
const uses = actionOf(optionalText(step["uses"]));
|
|
1713
|
-
const label = optionalText(step["name"]) || uses || (optionalText(step["run"]).split("\n")[0] ?? "") || optionalText(step["id"]) || "step";
|
|
1714
|
-
const inputs = isObject$1(step["with"]) ? step["with"] : {};
|
|
1715
1718
|
return {
|
|
1716
|
-
label,
|
|
1719
|
+
label: optionalText(step["name"]) || uses || (optionalText(step["run"]).split("\n")[0] ?? "") || optionalText(step["id"]) || "step",
|
|
1717
1720
|
if: optionalText(step["if"]),
|
|
1718
1721
|
uses,
|
|
1719
1722
|
secrets: [...secretsOf(step)],
|
|
1720
|
-
with:
|
|
1723
|
+
with: inputsOf(step),
|
|
1724
|
+
run: optionalText(step["run"])
|
|
1721
1725
|
};
|
|
1722
1726
|
}
|
|
1723
1727
|
/** This function gives the `concurrency` of a workflow or of a job: a group as one text, or a map with `group`. */
|
|
@@ -1798,6 +1802,7 @@ function parsedJob(id, value, line, lines) {
|
|
|
1798
1802
|
if: optionalText(job["if"]),
|
|
1799
1803
|
needs: listValues(job["needs"]),
|
|
1800
1804
|
uses: actionOf(optionalText(job["uses"])),
|
|
1805
|
+
with: inputsOf(job),
|
|
1801
1806
|
permissions: permissionsOf(job),
|
|
1802
1807
|
secrets: [...secrets],
|
|
1803
1808
|
steps: Array.isArray(job["steps"]) ? job["steps"].map(parsedStep) : []
|
|
@@ -3273,11 +3278,19 @@ const securityGate = {
|
|
|
3273
3278
|
* `version`, and its jobs publish and tag start after each build. Then the publish fails ("Artifact not found for name:
|
|
3274
3279
|
* release"), and no pull request "Version the packages" opens: the repository releases nothing. On 2026-11-30, 48
|
|
3275
3280
|
* callers had this form, and guidebook, Logger and docker-mongo had a changeset that waited.
|
|
3281
|
+
*
|
|
3282
|
+
* From 2026-12-02, the build also gives the output `drift` (scripts/release/drift.ts of the template). A drift is a
|
|
3283
|
+
* set of shipped files that differ from npm at the same version, with no code change. An example is a lock file update
|
|
3284
|
+
* of Renovate. The job `version` then also starts, and writes a patch changeset for them. Its condition reads the output drift. The
|
|
3285
|
+
* condition is safe at each pin of the template, because an older build job gives no output drift.
|
|
3276
3286
|
*/
|
|
3277
3287
|
/** The release workflow of a repository. */
|
|
3278
3288
|
const RELEASE = ".github/workflows/release.yml";
|
|
3279
3289
|
/** The condition of the mode in the jobs publish and tag. */
|
|
3280
3290
|
const GUARD = "needs.build.outputs.mode != 'version'";
|
|
3291
|
+
/** The end of the condition of the job version before the drift, and after it. */
|
|
3292
|
+
const VERSION_ONLY = "&& needs.build.outputs.mode == 'version' }}";
|
|
3293
|
+
const VERSION_OR_DRIFT = "&& (needs.build.outputs.mode == 'version' || needs.build.outputs.drift != '') }}";
|
|
3281
3294
|
const BUILD_USES = /^\s+uses:\s*["']?mark1russell7\/template\/\.github\/workflows\/reusable-release-build\.yml@([0-9a-f]{40})\b/mu;
|
|
3282
3295
|
const JOB = /^ {2}([A-Za-z0-9_-]+):\s*$/u;
|
|
3283
3296
|
const IF_ONE_LINE = /^( {4}if:\s*\$\{\{)(.*)\}\}\s*$/u;
|
|
@@ -3311,7 +3324,7 @@ function versionJob(sha) {
|
|
|
3311
3324
|
" version:",
|
|
3312
3325
|
" name: Version pull request",
|
|
3313
3326
|
" needs: build",
|
|
3314
|
-
|
|
3327
|
+
` if: \${{ !cancelled() && needs.build.result == 'success' ${VERSION_OR_DRIFT}`,
|
|
3315
3328
|
` uses: mark1russell7/template/.github/workflows/reusable-release-version.yml@${sha} # main`,
|
|
3316
3329
|
" permissions:",
|
|
3317
3330
|
" # The branch changeset-release/main and the pull request",
|
|
@@ -3351,6 +3364,20 @@ function guard(lines, name) {
|
|
|
3351
3364
|
}
|
|
3352
3365
|
return `the job "${name}" has no condition and no needs`;
|
|
3353
3366
|
}
|
|
3367
|
+
/**
|
|
3368
|
+
* This function gives the condition of the job version the output drift of the build: a condition that ends with
|
|
3369
|
+
* VERSION_ONLY gets VERSION_OR_DRIFT. A condition of a different form is the own model of its repository, and does not change.
|
|
3370
|
+
*/
|
|
3371
|
+
function addDrift(lines) {
|
|
3372
|
+
const range = jobRange(lines, "version");
|
|
3373
|
+
if (range === void 0) return;
|
|
3374
|
+
for (let i = range.start + 1; i < range.end; i += 1) {
|
|
3375
|
+
const line = lines[i] ?? "";
|
|
3376
|
+
if (!/^ {4}if:/u.test(line)) continue;
|
|
3377
|
+
if (!line.includes("needs.build.outputs.drift") && line.trimEnd().endsWith(VERSION_ONLY)) lines[i] = `${line.trimEnd().slice(0, -43)}${VERSION_OR_DRIFT}`;
|
|
3378
|
+
return;
|
|
3379
|
+
}
|
|
3380
|
+
}
|
|
3354
3381
|
/** The path filter of the changesets: the merge of a changeset starts the release, which opens the version pull request. */
|
|
3355
3382
|
const CHANGESET_PATH = ".changeset/*.md";
|
|
3356
3383
|
const PATHS_FLOW = /^( {4}paths:[ \t]*\[)([^\]]*)(\][ \t]*(#.*)?)$/u;
|
|
@@ -3399,9 +3426,9 @@ function addChangesetPath(lines) {
|
|
|
3399
3426
|
}
|
|
3400
3427
|
}
|
|
3401
3428
|
/**
|
|
3402
|
-
* This function gives the release.yml with
|
|
3429
|
+
* This function gives the release.yml with four changes. The job `version` (pinned to the commit of its build job)
|
|
3403
3430
|
* comes before the job publish. The jobs publish and tag get the condition of the mode. The path filter of `on.push`
|
|
3404
|
-
* gets `.changeset/*.md`.
|
|
3431
|
+
* gets `.changeset/*.md`. The condition of the job version reads the output drift of the build (addDrift).
|
|
3405
3432
|
* For a form that it does not know, it gives a reason and the text as it is. A file that has all three already does not change.
|
|
3406
3433
|
*/
|
|
3407
3434
|
function addReleaseMode(text) {
|
|
@@ -3429,6 +3456,7 @@ function addReleaseMode(text) {
|
|
|
3429
3456
|
while (at > 0 && /^ {2}#/u.test(lines[at - 1] ?? "")) at -= 1;
|
|
3430
3457
|
lines.splice(at, 0, ...versionJob(sha));
|
|
3431
3458
|
}
|
|
3459
|
+
addDrift(lines);
|
|
3432
3460
|
const reason = addChangesetPath(lines);
|
|
3433
3461
|
if (reason !== void 0) return {
|
|
3434
3462
|
text,
|
|
@@ -3439,9 +3467,9 @@ function addReleaseMode(text) {
|
|
|
3439
3467
|
const releaseModeRule = {
|
|
3440
3468
|
id: "release-mode",
|
|
3441
3469
|
failsFrom: "2026-12-07",
|
|
3442
|
-
title: "A release.yml that calls the build of the template has the job version, its jobs publish and tag skip the mode version, and it starts on a change of .changeset/*.md.",
|
|
3470
|
+
title: "A release.yml that calls the build of the template has the job version, which also starts for a drift, its jobs publish and tag skip the mode version, and it starts on a change of .changeset/*.md.",
|
|
3443
3471
|
reason: "From 2026-11-29, the build of the template packs nothing while a changeset waits (the mode \"version\"). A release.yml with no job version then fails its publish (\"Artifact not found for name: release\") and opens no pull request \"Version the packages\", so the repository releases nothing. On 2026-11-30, 48 callers had this form, and three had a changeset that waited.",
|
|
3444
|
-
fix: "Add the job \"version\" of the release.yml of the template (reusable-release-version.yml), add \"needs.build.outputs.mode != 'version'\" to the conditions of the jobs publish and tag,
|
|
3472
|
+
fix: "Add the job \"version\" of the release.yml of the template (reusable-release-version.yml), add \"needs.build.outputs.mode != 'version'\" to the conditions of the jobs publish and tag, add \".changeset/*.md\" to the paths of on.push, and let the condition of the job version also start on needs.build.outputs.drift.",
|
|
3445
3473
|
sources: [{
|
|
3446
3474
|
repo: "private",
|
|
3447
3475
|
rule: "release-mode",
|
|
@@ -3461,7 +3489,8 @@ const releaseModeRule = {
|
|
|
3461
3489
|
if (!callsReleaseBuild(text)) return { skipped: "release.yml calls no reusable-release-build.yml of the template" };
|
|
3462
3490
|
const added = addReleaseMode(text);
|
|
3463
3491
|
if (added.reason === void 0 && added.text === text) return [];
|
|
3464
|
-
const
|
|
3492
|
+
const noDrift = hasReleaseMode(text) && !text.includes("needs.build.outputs.drift") && added.text.includes("needs.build.outputs.drift");
|
|
3493
|
+
const message = !hasReleaseMode(text) ? `${RELEASE} has no job "version", and its jobs publish and tag do not skip the mode "version": a changeset on main stops each release.` : noDrift ? `${RELEASE}: the job "version" does not start for a drift (needs.build.outputs.drift), so a lock file update of Renovate waits for a person to add a changeset.` : `${RELEASE} does not start on a change of .changeset/*.md: a merged changeset opens no pull request "Version the packages" until a package.json changes.`;
|
|
3465
3494
|
return [{
|
|
3466
3495
|
file: RELEASE,
|
|
3467
3496
|
message,
|
|
@@ -4001,6 +4030,7 @@ const SHARED_ACTIONS = [
|
|
|
4001
4030
|
"select",
|
|
4002
4031
|
"setup-cue",
|
|
4003
4032
|
"setup-playwright",
|
|
4033
|
+
"setup-pnpm",
|
|
4004
4034
|
"site-check",
|
|
4005
4035
|
"site-config",
|
|
4006
4036
|
"site-pages",
|
|
@@ -5500,6 +5530,29 @@ const HOMES = [
|
|
|
5500
5530
|
],
|
|
5501
5531
|
note: "Each viewer maps its records to these marks. 3D geometry records go to layout-contract. Points on the Earth and great circles go to geo."
|
|
5502
5532
|
},
|
|
5533
|
+
{
|
|
5534
|
+
area: "boards",
|
|
5535
|
+
title: "Drawing boards",
|
|
5536
|
+
covers: "a board document as data (shapes, arrows, text, sticky notes, layers), its checks, versions and proposals (a set of changes against a version that a person keeps or drops one by one)",
|
|
5537
|
+
packages: ["@mark1russell7/board"],
|
|
5538
|
+
pending: ["@mark1russell7/board"],
|
|
5539
|
+
repo: "mark1russell7/board",
|
|
5540
|
+
state: "unpublished",
|
|
5541
|
+
words: [
|
|
5542
|
+
"board",
|
|
5543
|
+
"whiteboard",
|
|
5544
|
+
"drawing",
|
|
5545
|
+
"diagram",
|
|
5546
|
+
"sticky note",
|
|
5547
|
+
"shapes",
|
|
5548
|
+
"arrows",
|
|
5549
|
+
"canvas",
|
|
5550
|
+
"proposal",
|
|
5551
|
+
"brainstorm",
|
|
5552
|
+
"flowchart"
|
|
5553
|
+
],
|
|
5554
|
+
note: "The core names no topic. Geometry comes from layout-contract, arrow routes from highways, the render from visuals and splay, the store and sync from the sync engine of mark1russell7/client (client-store, not a second store). A site keeps only its page and procedures."
|
|
5555
|
+
},
|
|
5503
5556
|
{
|
|
5504
5557
|
area: "room-view",
|
|
5505
5558
|
title: "3D room viewer",
|
|
@@ -77485,7 +77538,7 @@ const roadmapParses = {
|
|
|
77485
77538
|
return breaks;
|
|
77486
77539
|
}
|
|
77487
77540
|
};
|
|
77488
|
-
// ../../node_modules/.pnpm/@mark1russell7+collections@0.12.
|
|
77541
|
+
// ../../node_modules/.pnpm/@mark1russell7+collections@0.12.4/node_modules/@mark1russell7/collections/build/graph/index.js
|
|
77489
77542
|
/**
|
|
77490
77543
|
* This function gives the strongly connected components of the directed graph of the nodes `0` to `n - 1`, in its
|
|
77491
77544
|
* compact form. The edges of the node `v` go to the items of `targets` from `start[v]` up to `start[v + 1]`.
|
|
@@ -81106,4 +81159,4 @@ function runHook(args, io) {
|
|
|
81106
81159
|
}
|
|
81107
81160
|
export { lockedVersions as $, sharedDocsRule as $n, readJsonc as $r, consoleBreaks as $t, scriptsOf as A, findHomes as An, prPathFilters as Ar, HOME_PATTERNS as At, giveWaySlots as B, hasTests as Bn, STRICT_OPTIONS as Br, PRIVATE_NAME_LIST as Bt, setVersions as C, messageOf$1 as Cn, licenseFile as Cr, PAGES_WORKFLOWS as Ct, trustPolicy as D, HOME_EXPORTS as Dn, ACTIONS_COMMIT as Dr, publishTextSafe as Dt, TRAIN_SCOPES as E, signaturesOf as En, repositoryIsPublic as Er, exportsRequire as Et, sourceMain as F, npmNames as Fn, MATRIX_EXPAND_MAX as Fr, noLocalPaths as Ft, workflowPeaks as G, callsSharedCi as Gn, codePackages as Gr, lineNameHit as Gt, repositoryPeak as H, SHARED_ACTIONS as Hn, DEPENDENCY_FIELDS as Hr, firstNameMatch as Ht, TEMPLATE_CALLED as I, readOverlay as In, parseWorkflow as Ir, privateNamesFile as It, mayRun as J, callPermissions as Jn, keyLine as Jr, nameMatches as Jt, evaluateExpression as K, sharedCi as Kn, hasFile as Kr, lineNameHits as Kt, UNKNOWN_MATRIX_JOBS as L, SERVICE_PACKAGE as Ln, readAction as Lr, privateNamesFiles as Lt, testsRequired as M, mapText as Mn, summaryJob as Mr, PRIVATE_NAMES_FILE_VARIABLE as Mt, isSourcePath as N, mergeHomes as Nn, summaryName as Nr, PRIVATE_PATTERNS_VARIABLE as Nt, typedScripts as O, HOMES as On, convertGate as Or, packNoBuildinfo as Ot, pathsOf as P, npmDrift as Pn, gateAfterCancel as Pr, invalidPatternBreaks as Pt, releaseFiles as Q, githubFetch as Qn, parseJsonc as Qr, NOT_SOURCE as Qt, calledJobs as R, runCalls as Rn, readWorkflow as Rr, privatePatterns as Rt, namedVersions as S, homePackage as Sn, authorOf as Sr, pushMainOnly as St, IGNORE_AFTER as T, reposOf as Tn, mitText as Tr, pagesSite as Tt, runnerPeak as U, SHARED_CI as Un, RULE_WARN_DAYS as Ur, isAllowedHit as Ut, matrixPeak as V, tsconfigTest as Vn, cuePreset as Vr, PrivateNameListError as Vt, runsAtOnce as W, SHARED_WORKFLOWS as Wn, cleanPath as Wr, isCommonUse as Wt, roadmapParses as X, HOME_TIMEOUT_MS as Xn, matchesAny as Xr, pathNameHit as Xt, roadmapOfLine as Y, callPermissionsRule as Yn, lineOf as Yr, parsePrivateNames as Yt, requiredScripts as Z, blockHash as Zn, parseCatFileBatch as Zr, CONSOLE_LAST_DAY as Zt, runPrePushArgs as _, homeModule as _n, securityOneJob as _r, isGitSpecifier as _t, listRules as a, specifiersOf as ai, REAL_COMPARE as an, isSecurityGate as ar, SHIPPED_FIELDS as at, GITHUB_YAML as b, modulesOf as bn, scheduleMinute as br, siteCheckInCi as bt, runCli as c, parseRuleConfig as ci, coverageProvider as cn, SUMMARY_GATES as cr, unreleasedChange as ct, HOOK_MARKER as d, homeShape as dn, startsOnPullRequest as dr, hiddenFailures as dt, replaceLine as ei, consoleGate as en, addReleaseMode as er, minorOf as et, NO_READ_LINE as f, homeShapesOf as fn, summaryJobRule as fr, jobFails as ft, prePush as g, HOME_SHAPES as gn, securityCallers as gr, pipeFails as gt, parsePrePushArgs as h, spansOf as hn, SECURITY_TIMEOUT_MINUTES as hr, swallowsTests as ht, formatResult as i, showFiles as ii, noBuildOutput as in, SECURITY_FILE as ir, NPM_REGISTRY as it, typedFiles as j, mapMarkdown as jn, skippableJobs as jr, PRIVATE_NAMES_FILE_CONFIG as jt, configsOfScript as k, MAP_RULE as kn, gateTrigger as kr, DEFAULT_ALLOWED as kt, runFix as l, apiReportScript as ln, addSummaryJob as lr, unreleasedChangeRule as lt, installHook as m, shapesOfSource as mn, SECURITY_SCAN_INPUTS as mr, startsTests as mt, annotations as n, runGit as ni, isCliFile as nn, hasReleaseMode as nr, publishedMinorRule as nt, readConfig as o, defaultOptions as oi, hasImportMetaMain as on, securityGate as or, UNSHIPPED_FILES as ot, PRE_PUSH_HOOK as p, shapeMessage as pn, SECURITY_SCAN_COMMIT as pr, parseAdvisory as pt, groupParts as q, setupCue as qn, inFolder as qr, mergePrivateNames as qt, createContext as r, runGitShow as ri, noConsole as rn, releaseModeRule as rr, reachOf as rt, runChecks as s, parseConfig as si, mainCheck as sn, securityWorkflow as sr, npmLookup as st, USAGE as t, repositoryOfRemote as ti, consoleKind as tn, callsReleaseBuild as tr, publishedMinor as tt, summaryMarkdown as u, containedHome as un, hasSummaryJob as ur, playwrightInstall as ut, RULES as v, moduleMessage as vn, withOneJob as vr, isPinned as vt, versionTitle as w, repoOf as wn, licenseFileOf as wr, pagesCalls as wt, workflowParses as x, declaredName as xn, LICENSE_TEXTS as xr, pagesAfterRelease as xt, workspaceProtocol as y, moduleUses as yn, runnerBudget as yr, pinnedGitDeps as yt, eventClass as z, serviceRunMain as zn, yamlFaults as zr, privateTextBreaks as zt };
|
|
81108
81161
|
|
|
81109
|
-
//# sourceMappingURL=run-
|
|
81162
|
+
//# sourceMappingURL=run-CS5E-o9w.js.map
|