@mark1russell7/conventions 0.17.0 → 0.19.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 CHANGED
@@ -47,6 +47,7 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
47
47
  | `no-build-output` | Git keeps no file in a folder named `dist` or `build`. | client `no-build-output`, `no-dist`, `no-dist-commit`. Only one repository of the audit tells this rule. The `.gitignore` of the template has it for each repository. |
48
48
  | `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. | client `I12`. systems `no-identifying-names`, `no-private-identifiers`, `no-private-names`. coeval `no-private-names`. |
49
49
  | `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`. |
50
+ | `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`. |
50
51
  | `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. | fleet `typed-everything` (STRATEGY.md, direction 15). |
51
52
  | `typed-files` | Each TypeScript file that git keeps (`.ts`, `.tsx`, `.mts`, `.cts`, not `.d.ts`) is in the program of a tsconfig that a `typecheck` script names: the tests, the e2e specs, the scripts, the benches and the configs too. The rule reads the configs of each `tsc`, `tsgo` or `vue-tsc` (`-p`, `--project`, `-b`, or `tsconfig.json`) and of `svelte-check --tsconfig`, follows their `references`, and lists the files with `tsc --listFilesOnly`. A file that a covered file imports is covered. A config that does not exist, and a repository where no typecheck names a config, are a break. | fleet `fail-closed` (STRATEGY.md, 2026-10-30). |
52
53
  | `main-check` | No script finds out that it is the main module by a compare of `process.argv[1]` with its own path. Through a link (for example `~/git` to `D:/git`), the two paths differ: the script does nothing, and it ends with exit code 0. A script uses `import.meta.main`, or `realpathSync` on each side. | fleet `main-check` (STRATEGY.md, 2026-11-02). |
@@ -57,9 +58,14 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
57
58
  | `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
59
  | `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
60
  | `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`. |
61
+ | `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). |
60
62
 
61
63
  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.
62
64
 
65
+ 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. 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.
66
+
67
+ 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.
68
+
63
69
  ## Configuration
64
70
 
65
71
  The field `conventions` of the root `package.json` sets the rules. An exception or a changed option needs a reason:
@@ -102,6 +108,10 @@ An unknown rule, an unknown option, or an exception or a changed option without
102
108
  | `release-files.paths` | `[".github/workflows/release.yml", "scripts/release/**"]` | The globs of the files of the release flow. |
103
109
  | `release-files.trailer` | `Release-Edit` | The key of the line that gives the reason. |
104
110
  | `release-files.authors` | `["mark1russell7-release-train[bot]"]` | The authors of the release flow. Their commits need no reason. |
111
+ | `unreleased-change.versionEachChange` | `false` | When `true`, each change of the shipped files raises the version. Set it when each pull request sets its version. |
112
+ | `unreleased-change.unshipped` | tests, fixtures, Markdown, configs, `docs/`, `scripts/` and dot folders | With `versionEachChange`: the globs of the files of a package, relative to its folder, that do not ship. `conventions --list` shows the full list. |
113
+ | `unreleased-change.fields` | `main`, `exports`, `bin`, `files`, `publishConfig` and more | With `versionEachChange`: the fields of `package.json` whose change ships. |
114
+ | `unreleased-change.registry` | `https://registry.npmjs.org` | The URL of the registry that has the versions. |
105
115
  | `typed-scripts.javascript` | `[".js", ".mjs", ".cjs", ".jsx"]` | The extensions of JavaScript source. |
106
116
  | `typed-scripts.shell` | `[".sh", ".bash", ".zsh", ".ps1"]` | The extensions of shell scripts. |
107
117
  | `typed-scripts.shellLines` | `1` | The most lines of code of a shell script (a launcher). Empty lines and comments do not count. |
@@ -114,6 +124,8 @@ An unknown rule, an unknown option, or an exception or a changed option without
114
124
  | `runner-budget.grouped` | `["reusable-ai-review.yml", "reusable-codex-review.yml"]` | The shared workflows that give a concurrency group in each of their jobs. |
115
125
  | `gate-trigger.allow` | `[]` | The file names of the workflows that can filter pull requests by path, because they are not a gate (for example a preview). |
116
126
  | `home-package.scope` | `"change"` | `"change"`: only the lines that a pull request or `--base` adds. `"all"`: each line of each tracked file, for a sweep of the copies that exist. |
127
+ | `shared-docs.locks` | `[]` | The lock files to check. With no value, the rule checks each tracked file `shared.lock.json`. |
128
+ | `shared-docs.remote` | `"ci"` | When the rule downloads the homes of the linked blocks: `"ci"` (only when `CI` is `"true"`), `"always"` or `"never"`. |
117
129
 
118
130
  ## Commands
119
131
 
@@ -124,7 +136,7 @@ An unknown rule, an unknown option, or an exception or a changed option without
124
136
  | `--list` | Show each rule: the reason, the fix, the options, the state and the audit rows. |
125
137
  | `--root <folder>` | The root of the repository. The default is the current folder. |
126
138
  | `--rule <id>` | Only this rule. Use it again for more rules. |
127
- | `--base <ref>` | The base commit of the change, for the rules `release-files` and `home-package`. |
139
+ | `--base <ref>` | The base commit of the change, for the rules `release-files`, `home-package` and `unreleased-change`. |
128
140
  | `--json` | Write the result as JSON. |
129
141
 
130
142
  ## The map of homes
package/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as runCli } from "./run-CyH0BncB.js";
2
+ import { c as runCli } from "./run-D0ua_8Tj.js";
3
3
  // src/cli.ts
4
4
  try {
5
5
  process.exitCode = runCli(process.argv.slice(2), {
package/build/index.d.ts CHANGED
@@ -288,6 +288,22 @@ export declare function scheduleMinute(repository: string, file: string): number
288
288
  /** This function gives `owner/name` from a git remote URL, or undefined for a URL that is not of GitHub. */
289
289
  export declare function repositoryOfRemote(url: string): string | undefined;
290
290
  export declare const runnerBudget: Rule;
291
+ /** The answer for one URL: the text of the file, or the reason why there is no text. */
292
+ type HomeAnswer = {
293
+ readonly text: string;
294
+ } | {
295
+ readonly error: string;
296
+ };
297
+ /** A function that downloads each URL, and gives the answer for each URL. */
298
+ type HomeFetch = (urls: readonly string[]) => ReadonlyMap<string, HomeAnswer>;
299
+ /** The time in milliseconds that the rule waits for one home. A home that does not answer in this time is a break. */
300
+ export declare const HOME_TIMEOUT_MS = 3e4;
301
+ /** This function downloads each URL in one child process of Node. Each download stops after `HOME_TIMEOUT_MS`. */
302
+ export declare const githubFetch: HomeFetch;
303
+ /** This function gives the SHA-256 of the lines of a block: the lines with LF line ends, and a last LF. */
304
+ export declare const blockHash: (body: readonly string[]) => string;
305
+ /** This function makes the rule with the download function `fetchHomes`. The tests give a fake function. */
306
+ export declare function sharedDocsRule(fetchHomes?: HomeFetch): Rule;
291
307
  /** This function gives each path in the value of an entry field (a string, or the strings in an object). */
292
308
  export declare function pathsOf(value: unknown): string[];
293
309
  /** This function tells if a path is a source file: a file in `src/`, or a TypeScript file that is not a declaration file. */
@@ -311,6 +327,32 @@ export declare const TRAIN_SCOPES: readonly ["@mark1russell7/*", "@procedures/*"
311
327
  /** 7 days, in minutes. */
312
328
  export declare const IGNORE_AFTER = 10080;
313
329
  export declare const trustPolicy: Rule;
330
+ /**
331
+ * The answer of the registry for one package, or an error. The answer has each version that npm has or had (none for a
332
+ * new package) and the time of each publish (ISO 8601).
333
+ */
334
+ type RegistryAnswer = {
335
+ readonly versions: readonly string[];
336
+ readonly times?: Readonly<Record<string, string>>;
337
+ } | {
338
+ readonly error: string;
339
+ };
340
+ /** This function gives the answer of the registry at the URL `registry` for each package name of `names`. */
341
+ type RegistryLookup = (names: readonly string[], registry: string) => ReadonlyMap<string, RegistryAnswer>;
342
+ /** The registry of npm. */
343
+ export declare const NPM_REGISTRY = "https://registry.npmjs.org";
344
+ /** The globs of the files of a package, relative to its folder, that do not ship: tests, fixtures, docs and configs. */
345
+ export declare const UNSHIPPED_FILES: readonly string[];
346
+ /** The fields of `package.json` that change what the package gives to a user. A change of the dependencies is not here. */
347
+ export declare const SHIPPED_FIELDS: readonly string[];
348
+ /**
349
+ * This function asks the registry for the versions of each package, in one child process of Node. A version that npm
350
+ * removed stays in the answer, because npm does not accept it again.
351
+ */
352
+ export declare const npmLookup: RegistryLookup;
353
+ /** This function makes the rule with the registry lookup `lookup`. The tests give a fake lookup. */
354
+ export declare function unreleasedChangeRule(lookup?: RegistryLookup): Rule;
355
+ export declare const unreleasedChange: Rule;
314
356
  export declare const workspaceProtocol: Rule;
315
357
  /** Each rule of the check. */
316
358
  export declare const RULES: readonly Rule[];
@@ -414,5 +456,5 @@ export declare function workspaceGlobs(root: string): string[] | undefined;
414
456
  * The result has absolute paths, in the order of the code units.
415
457
  */
416
458
  export declare function packageFolders(root: string, globs?: readonly string[] | undefined): string[];
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 };
459
+ export type { AuditSource, Break, CheckOptions, CheckResult, CliIo, ConventionsConfig, Edit, FixResult, Home, HomeAnswer, HomeFetch, HomeState, Manifest, OptionSpec, OptionValue, Options, PackageInfo, PagesCall, PathFilter, RegistryAnswer, RegistryLookup, Rule, RuleConfig, RuleContext, RuleOutcome, RuleResult };
418
460
  //# sourceMappingURL=index.d.ts.map
@@ -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/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;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/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/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/unreleased-change.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;;qBAMxC,WAAY,gBAAgB;;qBAG5B,YAAa;;wBAGV,WAAW,cAAc;;;;;;wBASzB,WAAW;;wBA2BX,UAAU;;wBAUV,OAAO,cAAc;;qBAOxB,UAAW,aAAa;;;;;wBAMrB,aAAa,SAAS,KAAK,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8B1B,eAAe;;;;;;;wBAwCf,eAAe,cAAc"}
package/build/index.js CHANGED
@@ -1 +1 @@
1
- export { dt as ACTIONS_COMMIT, z as DEFAULT_ALLOWED, vt as 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";
1
+ export { xt as ACTIONS_COMMIT, Y as DEFAULT_ALLOWED, Ot as DEPENDENCY_FIELDS, pt as HOMES, bt as HOME_EXPORTS, X as HOME_PATTERNS, M as HOME_TIMEOUT_MS, y as IGNORE_AFTER, nt as LICENSE_TEXTS, mt as MAP_RULE, p as NPM_REGISTRY, K as PAGES_WORKFLOWS, $ as REAL_COMPARE, d as RULES, m as SHIPPED_FIELDS, Et as STRICT_OPTIONS, b as TRAIN_SCOPES, h as UNSHIPPED_FILES, t as USAGE, n as annotations, rt as authorOf, N as blockHash, kt as cleanPath, At as codePackages, C as configsOfScript, St as convertGate, r as createContext, Dt as cuePreset, ct as declaredName, Gt as defaultOptions, ht as findHomes, i as formatResult, Ct as gateTrigger, P as githubFetch, Vt as globFolders, Ht as globToRegExp, jt as hasFile, et as hasImportMetaMain, D as hasTests, lt as homePackage, Mt as inFolder, U as isGitSpecifier, W as isPinned, k as isSourcePath, Nt as keyLine, it as licenseFile, at as licenseFileOf, Pt as lineOf, a as listRules, tt as mainCheck, gt as mapMarkdown, _t as mapText, Ft as matchesAny, vt as mergeHomes, ut as messageOf, ot as mitText, Q as noBuildOutput, Z as noLocalPaths, g as npmLookup, Ut as packageFolders, q as pagesCalls, J as pagesSite, Kt as parseConfig, It as parseJsonc, A as pathsOf, G as pinnedGitDeps, wt as prPathFilters, o as readConfig, Lt as readJsonc, yt as readOverlay, H as releaseFiles, Rt as replaceLine, dt as repoOf, st as repositoryIsPublic, I as repositoryOfRemote, V as requiredScripts, z as roadmapOfLine, B as roadmapParses, s as runChecks, c as runCli, l as runFix, zt as runGit, L as runnerBudget, R as scheduleMinute, w as scriptsOf, F as sharedDocsRule, ft as signaturesOf, j as sourceMain, Bt as specifiersOf, u as summaryMarkdown, Tt as summaryName, E as testsRequired, x as trustPolicy, O as tsconfigTest, T as typedFiles, S as typedScripts, _ as unreleasedChange, v as unreleasedChangeRule, Wt as workspaceGlobs, f as workspaceProtocol } from "./run-D0ua_8Tj.js";