@mark1russell7/conventions 0.16.0 → 0.17.0
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 +1 -0
- package/build/cli.js +1 -1
- package/build/index.d.ts +11 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -1
- package/build/{run-uE1CPx4q.js → run-CyH0BncB.js} +66 -3
- package/build/run-CyH0BncB.js.map +1 -0
- package/package.json +1 -1
- package/build/run-uE1CPx4q.js.map +0 -1
package/README.md
CHANGED
|
@@ -56,6 +56,7 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
|
|
|
56
56
|
| `gate-trigger` | No workflow has `paths` or `paths-ignore` on `on.pull_request` or `on.pull_request_target`. The ruleset needs the summary check `<Name> OK` of each gate, and a workflow with a path filter does not start on each pull request. Then its check is not there, the ruleset cannot ask for it, and a pull request can merge before the gate ends. A gate uses the actions `changes` and `gate-summary` of the template (`CI.md`, "A gate with paths"). | fleet `gate-trigger` (STRATEGY.md, 2026-11-02). |
|
|
57
57
|
| `license-file` | Each public package has a license field, and a license file with the same license in its own folder. A public repository, or a repository with a public package, has a license file at its root. In a GitHub Actions run, the event file tells if the repository is public, and the option `license` (MIT by default) is the license of a root with no public package. npm packs only the license file of the folder of the package, and GitHub reads only the one of the root: on 2026-11-02 five public repositories showed no license on GitHub while npm said MIT. `conventions fix` writes the missing files. | fleet strategy (2026-11-02). |
|
|
58
58
|
| `home-package` | A change does not add a function with a signature name of another home of the map (for example `median`, `mulberry32` or `writeFileAtomic`). A local copy drifts from the home and splits the fixes. On 2026-11-02 the fleet had 68 local statistics functions in 14 repositories. The rule examines only the lines that the change adds, so the copies that exist do not break. | fleet direction 18 (STRATEGY.md, 2026-11-02). |
|
|
59
|
+
| `pages-site` | A public repository has a workflow that calls the Pages workflow of the template (`mark1russell7/template/.github/workflows/reusable-pages.yml`, any ref), and the call deploys. A call with `deploy: false` makes a test site only. In a GitHub Actions run, the event file tells if the repository is public. Outside a run, the rule shows `skip`. On 2026-11-02 eight public repositories had no site with a Releases page and a Status page. | vex, crawler, client, coeval `pages.yml`. |
|
|
59
60
|
|
|
60
61
|
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>`. Without a base, the rule shows `skip`. The rule 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.
|
|
61
62
|
|
package/build/cli.js
CHANGED
package/build/index.d.ts
CHANGED
|
@@ -256,6 +256,16 @@ export declare const DEFAULT_ALLOWED: readonly string[];
|
|
|
256
256
|
/** The forms of a home folder: Windows, macOS and Linux. The group `user` is the name of the user. */
|
|
257
257
|
export declare const HOME_PATTERNS: readonly RegExp[];
|
|
258
258
|
export declare const noLocalPaths: Rule;
|
|
259
|
+
/** The Pages workflow of the template, as a call from another repository and as a call from the template itself. */
|
|
260
|
+
export declare const PAGES_WORKFLOWS: readonly string[];
|
|
261
|
+
/** A call of the Pages workflow: its line (from 1), and false when its job sets `deploy: false`. */
|
|
262
|
+
interface PagesCall {
|
|
263
|
+
readonly line: number;
|
|
264
|
+
readonly deploys: boolean;
|
|
265
|
+
}
|
|
266
|
+
/** This function gives each call of a workflow of `workflows` in the text of a workflow file. The ref after `@` can be any ref. */
|
|
267
|
+
export declare function pagesCalls(text: string, workflows?: readonly string[]): PagesCall[];
|
|
268
|
+
export declare const pagesSite: Rule;
|
|
259
269
|
/** This function tells if a specifier gets the package from git, not from a registry or the workspace. */
|
|
260
270
|
export declare function isGitSpecifier(spec: string): boolean;
|
|
261
271
|
/**
|
|
@@ -404,5 +414,5 @@ export declare function workspaceGlobs(root: string): string[] | undefined;
|
|
|
404
414
|
* The result has absolute paths, in the order of the code units.
|
|
405
415
|
*/
|
|
406
416
|
export declare function packageFolders(root: string, globs?: readonly string[] | undefined): string[];
|
|
407
|
-
export type { AuditSource, Break, CheckOptions, CheckResult, CliIo, ConventionsConfig, Edit, FixResult, Home, HomeState, Manifest, OptionSpec, OptionValue, Options, PackageInfo, PathFilter, Rule, RuleConfig, RuleContext, RuleOutcome, RuleResult };
|
|
417
|
+
export type { AuditSource, Break, CheckOptions, CheckResult, CliIo, ConventionsConfig, Edit, FixResult, Home, HomeState, Manifest, OptionSpec, OptionValue, Options, PackageInfo, PagesCall, PathFilter, Rule, RuleConfig, RuleContext, RuleOutcome, RuleResult };
|
|
408
418
|
//# sourceMappingURL=index.d.ts.map
|
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-trigger.ts","../src/map.ts","../src/rules/home-package.ts","../src/rules/license-file.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-local-paths.ts","../src/rules/pinned-git-deps.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.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/workspace-protocol.ts","../src/rules/index.ts","../src/home-exports.ts","../src/run.ts","../src/workspace.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;;;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Ac;;;;;wBA+BtB,mBAAmB,SAAS;qBAW/B,aAAa;;qBC/Db;;wBA6BG,kBAAkB;qBAiFrB,WAAW;qBCxHX,eAAe;;qBCYf;;qBAGA,wBAAwB;qBAOxB,cAAc;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-trigger.ts","../src/map.ts","../src/rules/home-package.ts","../src/rules/license-file.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-local-paths.ts","../src/rules/pages-site.ts","../src/rules/pinned-git-deps.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.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/workspace-protocol.ts","../src/rules/index.ts","../src/home-exports.ts","../src/run.ts","../src/workspace.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;;;UAGvC;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;EAC1C,MAAM,SAAS,aAAa,SAAS,UAAU;;;qBAIpC;;wBAGG,aAAa,UAAU,UAAU;;wBAOjC,OAAO,cAAc,gBAAgB;;wBAOrC,QAAQ,cAAc,eAAe;;q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DEPENDENCY_FIELDS, rt as HOMES, ut as HOME_EXPORTS, B as HOME_PATTERNS, p as IGNORE_AFTER, K as LICENSE_TEXTS, it as MAP_RULE, I as PAGES_WORKFLOWS, U as REAL_COMPARE, d as RULES, gt as STRICT_OPTIONS, m as TRAIN_SCOPES, t as USAGE, n as annotations, q as authorOf, yt as cleanPath, bt as codePackages, _ as configsOfScript, ft as convertGate, r as createContext, _t as cuePreset, Q as declaredName, Ft as defaultOptions, at as findHomes, i as formatResult, pt as gateTrigger, jt as globFolders, Mt as globToRegExp, xt as hasFile, W as hasImportMetaMain, x as hasTests, $ as homePackage, St as inFolder, N as isGitSpecifier, P as isPinned, C as isSourcePath, Ct as keyLine, J as licenseFile, Y as licenseFileOf, wt as lineOf, a as listRules, G as mainCheck, ot as mapMarkdown, st as mapText, Tt as matchesAny, ct as mergeHomes, et as messageOf, X as mitText, H as noBuildOutput, V as noLocalPaths, Nt as packageFolders, L as pagesCalls, R as pagesSite, It as parseConfig, Et as parseJsonc, w as pathsOf, F as pinnedGitDeps, mt as prPathFilters, o as readConfig, Dt as readJsonc, lt as readOverlay, M as releaseFiles, Ot as replaceLine, tt as repoOf, Z as repositoryIsPublic, E as repositoryOfRemote, j as requiredScripts, k as roadmapOfLine, A as roadmapParses, s as runChecks, c as runCli, l as runFix, kt as runGit, D as runnerBudget, O as scheduleMinute, v as scriptsOf, nt as signaturesOf, T as sourceMain, At as specifiersOf, u as summaryMarkdown, ht as summaryName, b as testsRequired, h as trustPolicy, S as tsconfigTest, y as typedFiles, g as typedScripts, Pt as workspaceGlobs, f as workspaceProtocol } from "./run-CyH0BncB.js";
|
|
@@ -7044,6 +7044,68 @@ const noLocalPaths = {
|
|
|
7044
7044
|
return breaks;
|
|
7045
7045
|
}
|
|
7046
7046
|
};
|
|
7047
|
+
// src/rules/pages-site.ts
|
|
7048
|
+
/**
|
|
7049
|
+
* The rule `pages-site`: a public repository has a site. A workflow uses the Pages workflow of the template, and the
|
|
7050
|
+
* call deploys.
|
|
7051
|
+
*/
|
|
7052
|
+
/** The Pages workflow of the template, as a call from another repository and as a call from the template itself. */
|
|
7053
|
+
const PAGES_WORKFLOWS = ["mark1russell7/template/.github/workflows/reusable-pages.yml", "./.github/workflows/reusable-pages.yml"];
|
|
7054
|
+
/** This function gives each call of a workflow of `workflows` in the text of a workflow file. The ref after `@` can be any ref. */
|
|
7055
|
+
function pagesCalls(text, workflows = PAGES_WORKFLOWS) {
|
|
7056
|
+
const lines = workflowLines(text);
|
|
7057
|
+
const names = new Set(workflows.map((name) => name.toLowerCase()));
|
|
7058
|
+
const calls = [];
|
|
7059
|
+
lines.forEach((line, index) => {
|
|
7060
|
+
const uses = keyValue(line, "uses");
|
|
7061
|
+
if (uses === void 0 || !names.has((uses.split("@")[0] ?? "").toLowerCase())) return;
|
|
7062
|
+
let job = index - 1;
|
|
7063
|
+
while (job >= 0 && ((lines[job] ?? "").trim() === "" || indentOf$1(lines[job] ?? "") >= indentOf$1(line))) job -= 1;
|
|
7064
|
+
const body = job < 0 ? [line] : lines.slice(job, blockEnd(lines, job));
|
|
7065
|
+
calls.push({
|
|
7066
|
+
line: index + 1,
|
|
7067
|
+
deploys: !body.some((text) => keyValue(text, "deploy") === "false")
|
|
7068
|
+
});
|
|
7069
|
+
});
|
|
7070
|
+
return calls;
|
|
7071
|
+
}
|
|
7072
|
+
const pagesSite = {
|
|
7073
|
+
id: "pages-site",
|
|
7074
|
+
title: "A public repository has a workflow that calls the Pages workflow of the template (`reusable-pages.yml`, any ref), and the call deploys.",
|
|
7075
|
+
reason: "Each public project has a site with its Releases page and its Status page, so a reader sees the versions and the open work. On 2026-11-02 eight public repositories had no site: typeset, algebra, headroom, release-train, optional, ste-lint, lag-hud and template.",
|
|
7076
|
+
fix: "Add `.github/workflows/pages.yml` with a job `uses: mark1russell7/template/.github/workflows/reusable-pages.yml@<commit> # main` and the permissions of CI.md (\"Pages\"). Give `build`, `out` and `roadmap: docs/ROADMAP.md`. After the build, the job starts `site-pages build`, which adds the Releases page and the Status page. Then set the Pages source to \"GitHub Actions\": `gh api -X POST repos/<owner>/<repo>/pages -f build_type=workflow`.",
|
|
7077
|
+
sources: [
|
|
7078
|
+
"vex",
|
|
7079
|
+
"crawler",
|
|
7080
|
+
"client",
|
|
7081
|
+
"coeval"
|
|
7082
|
+
].map((repo) => ({
|
|
7083
|
+
repo,
|
|
7084
|
+
rule: "pages-site",
|
|
7085
|
+
doc: ".github/workflows/pages.yml (a call of reusable-pages.yml of the template)"
|
|
7086
|
+
})),
|
|
7087
|
+
options: { workflows: {
|
|
7088
|
+
type: "strings",
|
|
7089
|
+
default: PAGES_WORKFLOWS,
|
|
7090
|
+
description: "The workflows that deploy a site, without the ref after `@`."
|
|
7091
|
+
} },
|
|
7092
|
+
check(context, options) {
|
|
7093
|
+
const visible = repositoryIsPublic(context);
|
|
7094
|
+
if (visible === void 0) return { skipped: "outside a GitHub Actions run, the rule cannot tell if the repository is public" };
|
|
7095
|
+
if (!visible) return [];
|
|
7096
|
+
const files = context.gitFiles();
|
|
7097
|
+
if (files === void 0) return { skipped: "the root is not in a git repository" };
|
|
7098
|
+
const calls = files.filter((path) => WORKFLOW$1.test(path)).sort(byCode).flatMap((file) => pagesCalls(readFileSync(join(context.root, file), "utf8"), options["workflows"]).map((call) => ({
|
|
7099
|
+
file,
|
|
7100
|
+
...call
|
|
7101
|
+
})));
|
|
7102
|
+
if (calls.some((call) => call.deploys)) return [];
|
|
7103
|
+
return [{
|
|
7104
|
+
file: ".github/workflows/pages.yml",
|
|
7105
|
+
message: `The repository is public, and no workflow deploys its site with the Pages workflow of the template.${calls.length === 0 ? "" : ` The calls in ${[...new Set(calls.map((call) => call.file))].join(", ")} have deploy: false.`}`
|
|
7106
|
+
}];
|
|
7107
|
+
}
|
|
7108
|
+
};
|
|
7047
7109
|
// src/rules/pinned-git-deps.ts
|
|
7048
7110
|
/**
|
|
7049
7111
|
* The rule `pinned-git-deps`: a dependency from git names a full commit.
|
|
@@ -9356,7 +9418,8 @@ const RULES = [
|
|
|
9356
9418
|
runnerBudget,
|
|
9357
9419
|
gateTrigger,
|
|
9358
9420
|
homePackage,
|
|
9359
|
-
licenseFile
|
|
9421
|
+
licenseFile,
|
|
9422
|
+
pagesSite
|
|
9360
9423
|
];
|
|
9361
9424
|
// src/run.ts
|
|
9362
9425
|
/**
|
|
@@ -9752,6 +9815,6 @@ function runMap(args, io) {
|
|
|
9752
9815
|
else io.stdout(mapText(found));
|
|
9753
9816
|
return 0;
|
|
9754
9817
|
}
|
|
9755
|
-
export {
|
|
9818
|
+
export { homePackage as $, roadmapParses as A, specifiersOf as At, HOME_PATTERNS as B, isSourcePath as C, keyLine as Ct, runnerBudget as D, readJsonc as Dt, repositoryOfRemote as E, parseJsonc as Et, pinnedGitDeps as F, defaultOptions as Ft, mainCheck as G, noBuildOutput as H, PAGES_WORKFLOWS as I, parseConfig as It, licenseFile as J, LICENSE_TEXTS as K, pagesCalls as L, releaseFiles as M, globToRegExp as Mt, isGitSpecifier as N, packageFolders as Nt, scheduleMinute as O, replaceLine as Ot, isPinned as P, workspaceGlobs as Pt, declaredName as Q, pagesSite as R, tsconfigTest as S, inFolder as St, sourceMain as T, matchesAny as Tt, REAL_COMPARE as U, noLocalPaths as V, hasImportMetaMain as W, mitText as X, licenseFileOf as Y, repositoryIsPublic as Z, configsOfScript as _, cuePreset as _t, listRules as a, findHomes as at, testsRequired as b, codePackages as bt, runCli as c, mergeHomes as ct, RULES as d, ACTIONS_COMMIT as dt, messageOf as et, workspaceProtocol as f, convertGate as ft, typedScripts as g, STRICT_OPTIONS as gt, trustPolicy as h, summaryName as ht, formatResult as i, MAP_RULE as it, requiredScripts as j, globFolders as jt, roadmapOfLine as k, runGit as kt, runFix as l, readOverlay as lt, TRAIN_SCOPES as m, prPathFilters as mt, annotations as n, signaturesOf as nt, readConfig as o, mapMarkdown as ot, IGNORE_AFTER as p, gateTrigger as pt, authorOf as q, createContext as r, HOMES as rt, runChecks as s, mapText as st, USAGE as t, repoOf as tt, summaryMarkdown as u, HOME_EXPORTS as ut, scriptsOf as v, DEPENDENCY_FIELDS as vt, pathsOf as w, lineOf as wt, hasTests as x, hasFile as xt, typedFiles as y, cleanPath as yt, DEFAULT_ALLOWED as z };
|
|
9756
9819
|
|
|
9757
|
-
//# sourceMappingURL=run-
|
|
9820
|
+
//# sourceMappingURL=run-CyH0BncB.js.map
|