@mark1russell7/conventions 0.42.0 → 0.42.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/README.md +3 -1
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{run-B9bgU10k.js → run-BD1pCjdG.js} +456 -56
- package/build/run-BD1pCjdG.js.map +1 -0
- package/package.json +2 -2
- package/build/run-B9bgU10k.js.map +0 -1
package/README.md
CHANGED
|
@@ -176,7 +176,7 @@ An unknown rule, an unknown option, or an exception or a changed option without
|
|
|
176
176
|
| `pre-push <remote> [<url>]` | Examine the new commits of a push with the private name list. The git hook `pre-push` starts it. |
|
|
177
177
|
| `hook install` | Write the git hook `pre-push`. In CI, or outside a git repository, the command does nothing. |
|
|
178
178
|
|
|
179
|
-
A run that `workflow_dispatch` starts has no pull request in its event file.
|
|
179
|
+
A run that `workflow_dispatch` starts has no pull request in its event file. A person can start 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:
|
|
180
180
|
|
|
181
181
|
| Variable | What it gives |
|
|
182
182
|
|---|---|
|
|
@@ -254,6 +254,8 @@ conventions map --overlay homes.json --markdown # with more homes from a JSON
|
|
|
254
254
|
|
|
255
255
|
Each home can give `signatures`: the names of functions that only the home has, as regular expressions of a whole name. The rule `home-package` breaks on a new function with such a name in another repository. Its message says if the home already exports the name. The index of the exports is `src/home-exports.ts`. The script `scripts/homes/exports.ts` of the template writes it from the latest version of each home on npm.
|
|
256
256
|
|
|
257
|
+
The job `exports` of the workflow Homes npm compares the index with npm each day. When the index is old, the job uploads a new index as the artifact `home-exports`.
|
|
258
|
+
|
|
257
259
|
A home can also give `modules`: the modules that only the home imports at run time. The home of local databases gives `node:sqlite`. The rule `home-module` breaks on a new value import of such a module in another repository. An `import type` gives only types, so it does not break.
|
|
258
260
|
|
|
259
261
|
A home can give `pending`: the names of its packages that are not on npm yet. The table marks such a package "(not on npm)". A planned home has no packages, so its `pending` names are its planned packages.
|
package/build/cli.js
CHANGED
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as unreleasedChangeRule, $n as specifiersOf, $t as messageOf, A as typedFiles, An as ACTIONS_COMMIT, At as lineNameHit, B as roadmapParses, Bn as DEPENDENCY_FIELDS, Bt as apiReportScript, C as versionTitle, Cn as setupCue, Ct as privatePatterns, D as typedScripts, Dn as securityCallers, Dt as firstNameMatch, E as trustPolicy, En as SECURITY_TIMEOUT_MINUTES, Et as PrivateNameListError, F as HOME_TIMEOUT_MS, Fn as gateAfterCancel, Ft as noBuildOutput, G as publishedMinor, Gn as inFolder, Gt as mitText, H as releaseFiles, Hn as cleanPath, Ht as authorOf, I as blockHash, In as readAction, It as REAL_COMPARE, J as NPM_REGISTRY, Jn as matchesAny, Jt as moduleMessage, K as publishedMinorRule, Kn as keyLine, Kt as repositoryIsPublic, L as githubFetch, Ln as readWorkflow, Lt as hasImportMetaMain, M as isSourcePath, Mn as gateTrigger, Mt as nameMatches, N as pathsOf, Nn as prPathFilters, Nt as parsePrivateNames, O as configsOfScript, On as securityOneJob, Ot as isAllowedHit, P as sourceMain, Pn as summaryName, Pt as pathNameHit, Q as unreleasedChange, Qn as runGit, Qt as homePackage, R as sharedDocsRule, Rn as STRICT_OPTIONS, Rt as mainCheck, S as setVersions, Sn as sharedCi, St as privateNamesFile, T as TRAIN_SCOPES, Tn as SECURITY_SCAN_INPUTS, Tt as PRIVATE_NAME_LIST, U as lockedVersions, Un as codePackages, Ut as licenseFile, V as requiredScripts, Vn as RULE_WARN_DAYS, Vt as LICENSE_TEXTS, W as minorOf, Wn as hasFile, Wt as licenseFileOf, X as UNSHIPPED_FILES, Xn as readJsonc, Xt as modulesOf, Y as SHIPPED_FIELDS, Yn as parseJsonc, Yt as moduleUses, Z as npmLookup, Zn as replaceLine, Zt as declaredName, _ as workspaceProtocol, _n as tsconfigTest, _t as PRIVATE_NAMES_FILE_CONFIG, a as listRules, an as MAP_RULE, at as pagesAfterRelease, b as yamlFaults, bn as SHARED_WORKFLOWS, bt as invalidPatternBreaks, c as runCli, cn as mapText, ct as scheduleMinute, d as HOOK_MARKER, dn as npmNames, dt as pagesCalls, en as repoOf, er as defaultOptions, et as pipeFails, f as NO_READ_LINE, fn as readOverlay, ft as pagesSite, g as RULES, gn as hasTests, gt as HOME_PATTERNS, h as prePush, hn as serviceRunMain, ht as DEFAULT_ALLOWED, i as formatResult, in as HOMES, it as siteCheckInCi, j as testsRequired, jn as convertGate, jt as lineNameHits, k as scriptsOf, kn as withOneJob, kt as isCommonUse, l as runFix, ln as mergeHomes, lt as pushMainOnly, m as installHook, mn as runCalls, mt as packNoBuildinfo, n as annotations, nn as signaturesOf, nt as isPinned, o as readConfig, on as findHomes, ot as repositoryOfRemote, p as PRE_PUSH_HOOK, pn as SERVICE_PACKAGE, pt as exportsRequire, q as reachOf, qn as lineOf, qt as homeModule, r as createContext, rn as HOME_EXPORTS, rt as pinnedGitDeps, s as runChecks, sn as mapMarkdown, st as runnerBudget, t as USAGE, tn as reposOf, tr as parseConfig, tt as isGitSpecifier, u as summaryMarkdown, un as npmDrift, ut as PAGES_WORKFLOWS, v as GITHUB_YAML, vn as SHARED_ACTIONS, vt as PRIVATE_NAMES_FILE_VARIABLE, w as IGNORE_AFTER, wn as SECURITY_SCAN_COMMIT, wt as privateTextBreaks, x as namedVersions, xn as callsSharedCi, xt as noLocalPaths, y as workflowParses, yn as SHARED_CI, yt as PRIVATE_PATTERNS_VARIABLE, z as roadmapOfLine, zn as cuePreset, zt as coverageProvider } from "./run-
|
|
1
|
+
import { $ as unreleasedChangeRule, $n as specifiersOf, $t as messageOf, A as typedFiles, An as ACTIONS_COMMIT, At as lineNameHit, B as roadmapParses, Bn as DEPENDENCY_FIELDS, Bt as apiReportScript, C as versionTitle, Cn as setupCue, Ct as privatePatterns, D as typedScripts, Dn as securityCallers, Dt as firstNameMatch, E as trustPolicy, En as SECURITY_TIMEOUT_MINUTES, Et as PrivateNameListError, F as HOME_TIMEOUT_MS, Fn as gateAfterCancel, Ft as noBuildOutput, G as publishedMinor, Gn as inFolder, Gt as mitText, H as releaseFiles, Hn as cleanPath, Ht as authorOf, I as blockHash, In as readAction, It as REAL_COMPARE, J as NPM_REGISTRY, Jn as matchesAny, Jt as moduleMessage, K as publishedMinorRule, Kn as keyLine, Kt as repositoryIsPublic, L as githubFetch, Ln as readWorkflow, Lt as hasImportMetaMain, M as isSourcePath, Mn as gateTrigger, Mt as nameMatches, N as pathsOf, Nn as prPathFilters, Nt as parsePrivateNames, O as configsOfScript, On as securityOneJob, Ot as isAllowedHit, P as sourceMain, Pn as summaryName, Pt as pathNameHit, Q as unreleasedChange, Qn as runGit, Qt as homePackage, R as sharedDocsRule, Rn as STRICT_OPTIONS, Rt as mainCheck, S as setVersions, Sn as sharedCi, St as privateNamesFile, T as TRAIN_SCOPES, Tn as SECURITY_SCAN_INPUTS, Tt as PRIVATE_NAME_LIST, U as lockedVersions, Un as codePackages, Ut as licenseFile, V as requiredScripts, Vn as RULE_WARN_DAYS, Vt as LICENSE_TEXTS, W as minorOf, Wn as hasFile, Wt as licenseFileOf, X as UNSHIPPED_FILES, Xn as readJsonc, Xt as modulesOf, Y as SHIPPED_FIELDS, Yn as parseJsonc, Yt as moduleUses, Z as npmLookup, Zn as replaceLine, Zt as declaredName, _ as workspaceProtocol, _n as tsconfigTest, _t as PRIVATE_NAMES_FILE_CONFIG, a as listRules, an as MAP_RULE, at as pagesAfterRelease, b as yamlFaults, bn as SHARED_WORKFLOWS, bt as invalidPatternBreaks, c as runCli, cn as mapText, ct as scheduleMinute, d as HOOK_MARKER, dn as npmNames, dt as pagesCalls, en as repoOf, er as defaultOptions, et as pipeFails, f as NO_READ_LINE, fn as readOverlay, ft as pagesSite, g as RULES, gn as hasTests, gt as HOME_PATTERNS, h as prePush, hn as serviceRunMain, ht as DEFAULT_ALLOWED, i as formatResult, in as HOMES, it as siteCheckInCi, j as testsRequired, jn as convertGate, jt as lineNameHits, k as scriptsOf, kn as withOneJob, kt as isCommonUse, l as runFix, ln as mergeHomes, lt as pushMainOnly, m as installHook, mn as runCalls, mt as packNoBuildinfo, n as annotations, nn as signaturesOf, nt as isPinned, o as readConfig, on as findHomes, ot as repositoryOfRemote, p as PRE_PUSH_HOOK, pn as SERVICE_PACKAGE, pt as exportsRequire, q as reachOf, qn as lineOf, qt as homeModule, r as createContext, rn as HOME_EXPORTS, rt as pinnedGitDeps, s as runChecks, sn as mapMarkdown, st as runnerBudget, t as USAGE, tn as reposOf, tr as parseConfig, tt as isGitSpecifier, u as summaryMarkdown, un as npmDrift, ut as PAGES_WORKFLOWS, v as GITHUB_YAML, vn as SHARED_ACTIONS, vt as PRIVATE_NAMES_FILE_VARIABLE, w as IGNORE_AFTER, wn as SECURITY_SCAN_COMMIT, wt as privateTextBreaks, x as namedVersions, xn as callsSharedCi, xt as noLocalPaths, y as workflowParses, yn as SHARED_CI, yt as PRIVATE_PATTERNS_VARIABLE, z as roadmapOfLine, zn as cuePreset, zt as coverageProvider } from "./run-BD1pCjdG.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
|
/**
|