@mark1russell7/conventions 0.41.6 → 0.41.8

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
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as runCli } from "./run-2gvbnfdL.js";
2
+ import { c as runCli } from "./run-BGqTd4qA.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  // src/cli.ts
5
5
  try {
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as unreleasedChangeRule, $t as MAP_RULE, A as typedFiles, An as readWorkflow, At as lineNameHits, B as roadmapParses, Bn as lineOf, Bt as LICENSE_TEXTS, C as versionTitle, Cn as ACTIONS_COMMIT, Ct as privateTextBreaks, D as typedScripts, Dn as summaryName, Dt as isAllowedHit, E as trustPolicy, En as prPathFilters, Et as firstNameMatch, F as HOME_TIMEOUT_MS, Fn as cleanPath, Ft as REAL_COMPARE, G as publishedMinor, Gn as runGit, Gt as repositoryIsPublic, H as releaseFiles, Hn as parseJsonc, Ht as licenseFile, I as blockHash, In as codePackages, It as hasImportMetaMain, J as NPM_REGISTRY, Jn as parseConfig, Jt as messageOf, K as publishedMinorRule, Kn as specifiersOf, Kt as declaredName, L as githubFetch, Ln as hasFile, Lt as mainCheck, M as isSourcePath, Mn as cuePreset, Mt as parsePrivateNames, N as pathsOf, Nn as DEPENDENCY_FIELDS, Nt as pathNameHit, O as configsOfScript, On as gateAfterCancel, Ot as isCommonUse, P as sourceMain, Pn as RULE_WARN_DAYS, Pt as noBuildOutput, Q as unreleasedChange, Qt as HOMES, R as sharedDocsRule, Rn as inFolder, Rt as coverageProvider, S as setVersions, Sn as withOneJob, St as privatePatterns, T as TRAIN_SCOPES, Tn as gateTrigger, Tt as PrivateNameListError, U as lockedVersions, Un as readJsonc, Ut as licenseFileOf, V as requiredScripts, Vn as matchesAny, Vt as authorOf, W as minorOf, Wn as replaceLine, Wt as mitText, X as UNSHIPPED_FILES, Xt as reposOf, Y as SHIPPED_FIELDS, Yt as repoOf, Z as npmLookup, Zt as signaturesOf, _ as workspaceProtocol, _n as SECURITY_SCAN_COMMIT, _t as PRIVATE_NAMES_FILE_VARIABLE, a as listRules, an as HOME_EXPORTS, at as repositoryOfRemote, b as yamlFaults, bn as securityCallers, bt as noLocalPaths, c as runCli, cn as serviceRunMain, ct as pushMainOnly, d as HOOK_MARKER, dn as SHARED_ACTIONS, dt as pagesSite, en as findHomes, et as pipeFails, f as NO_READ_LINE, fn as SHARED_CI, ft as exportsRequire, g as RULES, gn as setupCue, gt as PRIVATE_NAMES_FILE_CONFIG, h as prePush, hn as sharedCi, ht as HOME_PATTERNS, i as formatResult, in as readOverlay, it as pagesAfterRelease, j as testsRequired, jn as STRICT_OPTIONS, jt as nameMatches, k as scriptsOf, kn as readAction, kt as lineNameHit, l as runFix, ln as hasTests, lt as PAGES_WORKFLOWS, m as installHook, mn as callsSharedCi, mt as DEFAULT_ALLOWED, n as annotations, nn as mapText, nt as isPinned, o as readConfig, on as SERVICE_PACKAGE, ot as runnerBudget, p as PRE_PUSH_HOOK, pn as SHARED_WORKFLOWS, pt as packNoBuildinfo, q as reachOf, qn as defaultOptions, qt as homePackage, r as createContext, rn as mergeHomes, rt as pinnedGitDeps, s as runChecks, sn as runCalls, st as scheduleMinute, t as USAGE, tn as mapMarkdown, tt as isGitSpecifier, u as summaryMarkdown, un as tsconfigTest, ut as pagesCalls, v as GITHUB_YAML, vn as SECURITY_SCAN_INPUTS, vt as PRIVATE_PATTERNS_VARIABLE, w as IGNORE_AFTER, wn as convertGate, wt as PRIVATE_NAME_LIST, x as namedVersions, xn as securityOneJob, xt as privateNamesFile, y as workflowParses, yn as SECURITY_TIMEOUT_MINUTES, yt as invalidPatternBreaks, z as roadmapOfLine, zn as keyLine, zt as apiReportScript } from "./run-2gvbnfdL.js";
1
+ import { $ as unreleasedChangeRule, $t as MAP_RULE, A as typedFiles, An as readWorkflow, At as lineNameHits, B as roadmapParses, Bn as lineOf, Bt as LICENSE_TEXTS, C as versionTitle, Cn as ACTIONS_COMMIT, Ct as privateTextBreaks, D as typedScripts, Dn as summaryName, Dt as isAllowedHit, E as trustPolicy, En as prPathFilters, Et as firstNameMatch, F as HOME_TIMEOUT_MS, Fn as cleanPath, Ft as REAL_COMPARE, G as publishedMinor, Gn as runGit, Gt as repositoryIsPublic, H as releaseFiles, Hn as parseJsonc, Ht as licenseFile, I as blockHash, In as codePackages, It as hasImportMetaMain, J as NPM_REGISTRY, Jn as parseConfig, Jt as messageOf, K as publishedMinorRule, Kn as specifiersOf, Kt as declaredName, L as githubFetch, Ln as hasFile, Lt as mainCheck, M as isSourcePath, Mn as cuePreset, Mt as parsePrivateNames, N as pathsOf, Nn as DEPENDENCY_FIELDS, Nt as pathNameHit, O as configsOfScript, On as gateAfterCancel, Ot as isCommonUse, P as sourceMain, Pn as RULE_WARN_DAYS, Pt as noBuildOutput, Q as unreleasedChange, Qt as HOMES, R as sharedDocsRule, Rn as inFolder, Rt as coverageProvider, S as setVersions, Sn as withOneJob, St as privatePatterns, T as TRAIN_SCOPES, Tn as gateTrigger, Tt as PrivateNameListError, U as lockedVersions, Un as readJsonc, Ut as licenseFileOf, V as requiredScripts, Vn as matchesAny, Vt as authorOf, W as minorOf, Wn as replaceLine, Wt as mitText, X as UNSHIPPED_FILES, Xt as reposOf, Y as SHIPPED_FIELDS, Yt as repoOf, Z as npmLookup, Zt as signaturesOf, _ as workspaceProtocol, _n as SECURITY_SCAN_COMMIT, _t as PRIVATE_NAMES_FILE_VARIABLE, a as listRules, an as HOME_EXPORTS, at as repositoryOfRemote, b as yamlFaults, bn as securityCallers, bt as noLocalPaths, c as runCli, cn as serviceRunMain, ct as pushMainOnly, d as HOOK_MARKER, dn as SHARED_ACTIONS, dt as pagesSite, en as findHomes, et as pipeFails, f as NO_READ_LINE, fn as SHARED_CI, ft as exportsRequire, g as RULES, gn as setupCue, gt as PRIVATE_NAMES_FILE_CONFIG, h as prePush, hn as sharedCi, ht as HOME_PATTERNS, i as formatResult, in as readOverlay, it as pagesAfterRelease, j as testsRequired, jn as STRICT_OPTIONS, jt as nameMatches, k as scriptsOf, kn as readAction, kt as lineNameHit, l as runFix, ln as hasTests, lt as PAGES_WORKFLOWS, m as installHook, mn as callsSharedCi, mt as DEFAULT_ALLOWED, n as annotations, nn as mapText, nt as isPinned, o as readConfig, on as SERVICE_PACKAGE, ot as runnerBudget, p as PRE_PUSH_HOOK, pn as SHARED_WORKFLOWS, pt as packNoBuildinfo, q as reachOf, qn as defaultOptions, qt as homePackage, r as createContext, rn as mergeHomes, rt as pinnedGitDeps, s as runChecks, sn as runCalls, st as scheduleMinute, t as USAGE, tn as mapMarkdown, tt as isGitSpecifier, u as summaryMarkdown, un as tsconfigTest, ut as pagesCalls, v as GITHUB_YAML, vn as SECURITY_SCAN_INPUTS, vt as PRIVATE_PATTERNS_VARIABLE, w as IGNORE_AFTER, wn as convertGate, wt as PRIVATE_NAME_LIST, x as namedVersions, xn as securityOneJob, xt as privateNamesFile, y as workflowParses, yn as SECURITY_TIMEOUT_MINUTES, yt as invalidPatternBreaks, z as roadmapOfLine, zn as keyLine, zt as apiReportScript } from "./run-BGqTd4qA.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
  /**
@@ -8296,7 +8296,7 @@ const HOMES = [
8296
8296
  {
8297
8297
  area: "random",
8298
8298
  title: "Seeded random and generated inputs",
8299
- covers: "seeded random numbers, seeds from names, hashes for seeds, draws, input families with dimensions and ranges",
8299
+ covers: "seeded random numbers, seeds from names, hashes for seeds, canonical JSON (RFC 8785) and content hashes (SHA-256), draws, input families with dimensions and ranges",
8300
8300
  packages: ["@mark1russell7/rigor-generators"],
8301
8301
  repo: "mark1russell7/rigor",
8302
8302
  alsoIn: ["mark1russell7/algebra", "mark1russell7/math"],
@@ -8321,7 +8321,15 @@ const HOMES = [
8321
8321
  "saltelli",
8322
8322
  "sobol",
8323
8323
  "halton",
8324
- "sampler"
8324
+ "sampler",
8325
+ "canonical json",
8326
+ "canonical",
8327
+ "content hash",
8328
+ "sha256",
8329
+ "sha-256",
8330
+ "rfc 8785",
8331
+ "jcs",
8332
+ "stable stringify"
8325
8333
  ],
8326
8334
  signatures: [
8327
8335
  "mulberry32",
@@ -8334,7 +8342,12 @@ const HOMES = [
8334
8342
  "seededRandom",
8335
8343
  "seededRng",
8336
8344
  "makeRng",
8337
- "createRng"
8345
+ "createRng",
8346
+ "canonicalJson",
8347
+ "canonicalHash",
8348
+ "sha256Hex",
8349
+ "stableStringify",
8350
+ "canonicalStringify"
8338
8351
  ]
8339
8352
  },
8340
8353
  {
@@ -8400,15 +8413,19 @@ const HOMES = [
8400
8413
  "exporter",
8401
8414
  "testkit"
8402
8415
  ],
8403
- note: "@mark1russell7/vex-testkit is only for Vex domains. A fake shell for tests is in @procedures/shell. The capture of the OpenTelemetry SDK for tests (captureTelemetry) and the propagation gate are in @mark1russell7/rigor-testkit, entries /otel and /propagation. Seeded fault plans (delay, cut, reset, split frame, reorder, duplicate, stall) are data in @mark1russell7/rigor-chaos, next to its load schedules. The proxy that applies a plan to TCP, WebSocket and HTTP streams and records each fault is @mark1russell7/rigor-proxy (planned, in mark1russell7/rigor)."
8416
+ note: "@mark1russell7/vex-testkit is only for Vex domains. A fake shell for tests is in @procedures/shell. The capture of the OpenTelemetry SDK for tests (captureTelemetry) and the propagation gate are in @mark1russell7/rigor-testkit, entries /otel and /propagation. Seeded fault plans (delay, cut, reset, split frame, reorder, duplicate, stall) are data in @mark1russell7/rigor-chaos, next to its load schedules. The proxy that applies a plan to TCP, WebSocket and HTTP streams and records each fault is @mark1russell7/rigor-proxy, in mark1russell7/rigor."
8404
8417
  },
8405
8418
  {
8406
8419
  area: "exact-math",
8407
8420
  title: "Expressions and exact arithmetic",
8408
- covers: "expression documents, exact rationals, floats with error bounds, intervals, robust geometric predicates (orientation, in-circle)",
8409
- packages: ["@mark1russell7/expression", "@mark1russell7/rational"],
8421
+ covers: "expression documents, exact rationals, floats with error bounds, intervals, robust geometric predicates (orientation, in-circle, segment intersection)",
8422
+ packages: [
8423
+ "@mark1russell7/predicates",
8424
+ "@mark1russell7/rational",
8425
+ "@mark1russell7/expression"
8426
+ ],
8410
8427
  repo: "mark1russell7/algebra",
8411
- state: "unpublished",
8428
+ state: "published",
8412
8429
  words: [
8413
8430
  "math",
8414
8431
  "arithmetic",
@@ -8418,6 +8435,7 @@ const HOMES = [
8418
8435
  "error bound",
8419
8436
  "predicate",
8420
8437
  "orientation",
8438
+ "segment intersection",
8421
8439
  "symbolic",
8422
8440
  "exact"
8423
8441
  ],
@@ -8425,9 +8443,10 @@ const HOMES = [
8425
8443
  "orient2d",
8426
8444
  "orientation",
8427
8445
  "inCircle",
8428
- "incircle"
8446
+ "incircle",
8447
+ "classifySegments"
8429
8448
  ],
8430
- note: "Statistics go to rigor-statistics, and geometry records go to layout-contract. There is no math package."
8449
+ note: "@mark1russell7/predicates and @mark1russell7/rational are on npm. @mark1russell7/expression is not on npm yet. Statistics go to rigor-statistics, and geometry records go to layout-contract. There is no math package."
8431
8450
  },
8432
8451
  {
8433
8452
  area: "units",
@@ -8524,9 +8543,9 @@ const HOMES = [
8524
8543
  area: "files",
8525
8544
  title: "Paths and files on Node.js",
8526
8545
  covers: "paths, home folder expansion, a path inside a folder, finding a file up the folders, glob matching, file walks with excludes: plain functions on node: modules only, for each general package. @procedures/fs builds on them",
8527
- packages: [],
8546
+ packages: ["@mark1russell7/files"],
8528
8547
  repo: "mark1russell7/files",
8529
- state: "planned",
8548
+ state: "published",
8530
8549
  words: [
8531
8550
  "path",
8532
8551
  "home folder",
@@ -8641,10 +8660,10 @@ const HOMES = [
8641
8660
  area: "desktop",
8642
8661
  title: "Desktop apps on Electron",
8643
8662
  covers: "the safe defaults of the main process: the content security policy, window options with sandbox and context isolation, navigation and window-open rules, permission denial, the app:// protocol that serves a folder, Chromium net error codes, typed IPC checks",
8644
- packages: [],
8663
+ packages: ["@mark1russell7/desktop"],
8645
8664
  repo: "mark1russell7/desktop",
8646
8665
  alsoIn: ["mark1russell7/template", "mark1russell7/pairrank"],
8647
- state: "planned",
8666
+ state: "published",
8648
8667
  words: [
8649
8668
  "electron",
8650
8669
  "desktop",
@@ -8655,7 +8674,7 @@ const HOMES = [
8655
8674
  "browserwindow",
8656
8675
  "app protocol"
8657
8676
  ],
8658
- note: "The electron preset of template-cli generates these functions in each app today. After the first npm publish of the home, the preset imports the package."
8677
+ note: "The electron preset of template-cli still generates these functions in each app. Its next step is to import the package."
8659
8678
  },
8660
8679
  {
8661
8680
  area: "cli",
@@ -8903,9 +8922,9 @@ const HOMES = [
8903
8922
  area: "ci-runners",
8904
8923
  title: "Self-hosted CI runners",
8905
8924
  covers: "a dispatcher of one-job runners: sources of queued jobs, trust rules as data, a provider that makes one machine for each job (Proxmox first)",
8906
- packages: [],
8925
+ packages: ["@mark1russell7/runner-dispatch"],
8907
8926
  repo: "mark1russell7/runner-dispatch",
8908
- state: "planned",
8927
+ state: "published",
8909
8928
  words: [
8910
8929
  "runner",
8911
8930
  "self-hosted",
@@ -8993,9 +9012,9 @@ const HOMES = [
8993
9012
  area: "text",
8994
9013
  title: "Text measurement and line breaking",
8995
9014
  covers: "Unicode segmentation, text widths from font tables, line breaking, incremental relayout after edits",
8996
- packages: [],
9015
+ packages: ["@mark1russell7/typeset"],
8997
9016
  repo: "mark1russell7/typeset",
8998
- state: "planned",
9017
+ state: "published",
8999
9018
  words: [
9000
9019
  "string",
9001
9020
  "unicode",
@@ -9203,15 +9222,15 @@ const HOMES = [
9203
9222
  {
9204
9223
  area: "local-database",
9205
9224
  title: "Databases on one computer",
9206
- covers: "SQLite through node:sqlite: WAL, synchronous and busy-timeout settings, migrations by user_version, BEGIN IMMEDIATE transactions, typed append-only event logs, recovery of a broken or stuck file, the filter of the experimental warning",
9207
- packages: [],
9225
+ covers: "SQLite through node:sqlite: WAL, synchronous and busy-timeout settings, migrations by user_version or by a version for each part of a file, BEGIN IMMEDIATE transactions, typed append-only event logs as grow-only sets, the fault kind and the action of each SQLite error, recovery of a broken or stuck file (integrity check, quarantine, salvage of a log, snapshot), the filter of the experimental warning",
9226
+ packages: ["@mark1russell7/sqlite"],
9208
9227
  repo: "mark1russell7/sqlite",
9209
9228
  alsoIn: [
9210
9229
  "mark1russell7/headroom",
9211
9230
  "mark1russell7/crawler",
9212
9231
  "mark1russell7/pairrank"
9213
9232
  ],
9214
- state: "planned",
9233
+ state: "published",
9215
9234
  words: [
9216
9235
  "sqlite",
9217
9236
  "database",
@@ -9221,10 +9240,22 @@ const HOMES = [
9221
9240
  "user_version",
9222
9241
  "append-only",
9223
9242
  "transaction",
9224
- "node:sqlite"
9243
+ "node:sqlite",
9244
+ "grow-only",
9245
+ "integrity check",
9246
+ "quarantine",
9247
+ "corrupt",
9248
+ "snapshot",
9249
+ "backup"
9250
+ ],
9251
+ signatures: [
9252
+ "openEventLog",
9253
+ "salvageEventLog",
9254
+ "sqliteFault",
9255
+ "openOrQuarantine",
9256
+ "quietSqliteWarning"
9225
9257
  ],
9226
- signatures: ["openEventLog"],
9227
- note: "headroom (packages/core/src/store.ts), polite-crawler (docs.ts, hoststate.ts, vectors.ts and watch.ts in packages/polite-crawler/src) and pairrank (packages/store/src/log.ts) have their own WAL and migration code. They move to the home after its first npm publish. Do not grow a local copy."
9258
+ note: "headroom (packages/core/src/store.ts), polite-crawler (docs.ts, hoststate.ts, vectors.ts and watch.ts in packages/polite-crawler/src) and pairrank (packages/store/src/log.ts) have their own WAL and migration code. They move to @mark1russell7/sqlite. Do not grow a local copy."
9228
9259
  },
9229
9260
  {
9230
9261
  area: "releases",
@@ -15423,4 +15454,4 @@ function runHook(args, io) {
15423
15454
  }
15424
15455
  export { unreleasedChangeRule as $, MAP_RULE as $t, typedFiles as A, readWorkflow as An, lineNameHits as At, roadmapParses as B, lineOf as Bn, LICENSE_TEXTS as Bt, versionTitle as C, ACTIONS_COMMIT as Cn, privateTextBreaks as Ct, typedScripts as D, summaryName as Dn, isAllowedHit as Dt, trustPolicy as E, prPathFilters as En, firstNameMatch as Et, HOME_TIMEOUT_MS as F, cleanPath as Fn, REAL_COMPARE as Ft, publishedMinor as G, runGit as Gn, repositoryIsPublic as Gt, releaseFiles as H, parseJsonc as Hn, licenseFile as Ht, blockHash as I, codePackages as In, hasImportMetaMain as It, NPM_REGISTRY as J, parseConfig as Jn, messageOf as Jt, publishedMinorRule as K, specifiersOf as Kn, declaredName as Kt, githubFetch as L, hasFile as Ln, mainCheck as Lt, isSourcePath as M, cuePreset as Mn, parsePrivateNames as Mt, pathsOf as N, DEPENDENCY_FIELDS as Nn, pathNameHit as Nt, configsOfScript as O, gateAfterCancel as On, isCommonUse as Ot, sourceMain as P, RULE_WARN_DAYS as Pn, noBuildOutput as Pt, unreleasedChange as Q, HOMES as Qt, sharedDocsRule as R, inFolder as Rn, coverageProvider as Rt, setVersions as S, withOneJob as Sn, privatePatterns as St, TRAIN_SCOPES as T, gateTrigger as Tn, PrivateNameListError as Tt, lockedVersions as U, readJsonc as Un, licenseFileOf as Ut, requiredScripts as V, matchesAny as Vn, authorOf as Vt, minorOf as W, replaceLine as Wn, mitText as Wt, UNSHIPPED_FILES as X, reposOf as Xt, SHIPPED_FIELDS as Y, repoOf as Yt, npmLookup as Z, signaturesOf as Zt, workspaceProtocol as _, SECURITY_SCAN_COMMIT as _n, PRIVATE_NAMES_FILE_VARIABLE as _t, listRules as a, HOME_EXPORTS as an, repositoryOfRemote as at, yamlFaults as b, securityCallers as bn, noLocalPaths as bt, runCli as c, serviceRunMain as cn, pushMainOnly as ct, HOOK_MARKER as d, SHARED_ACTIONS as dn, pagesSite as dt, findHomes as en, pipeFails as et, NO_READ_LINE as f, SHARED_CI as fn, exportsRequire as ft, RULES as g, setupCue as gn, PRIVATE_NAMES_FILE_CONFIG as gt, prePush as h, sharedCi as hn, HOME_PATTERNS as ht, formatResult as i, readOverlay as in, pagesAfterRelease as it, testsRequired as j, STRICT_OPTIONS as jn, nameMatches as jt, scriptsOf as k, readAction as kn, lineNameHit as kt, runFix as l, hasTests as ln, PAGES_WORKFLOWS as lt, installHook as m, callsSharedCi as mn, DEFAULT_ALLOWED as mt, annotations as n, mapText as nn, isPinned as nt, readConfig as o, SERVICE_PACKAGE as on, runnerBudget as ot, PRE_PUSH_HOOK as p, SHARED_WORKFLOWS as pn, packNoBuildinfo as pt, reachOf as q, defaultOptions as qn, homePackage as qt, createContext as r, mergeHomes as rn, pinnedGitDeps as rt, runChecks as s, runCalls as sn, scheduleMinute as st, USAGE as t, mapMarkdown as tn, isGitSpecifier as tt, summaryMarkdown as u, tsconfigTest as un, pagesCalls as ut, GITHUB_YAML as v, SECURITY_SCAN_INPUTS as vn, PRIVATE_PATTERNS_VARIABLE as vt, IGNORE_AFTER as w, convertGate as wn, PRIVATE_NAME_LIST as wt, namedVersions as x, securityOneJob as xn, privateNamesFile as xt, workflowParses as y, SECURITY_TIMEOUT_MINUTES as yn, invalidPatternBreaks as yt, roadmapOfLine as z, keyLine as zn, apiReportScript as zt };
15425
15456
 
15426
- //# sourceMappingURL=run-2gvbnfdL.js.map
15457
+ //# sourceMappingURL=run-BGqTd4qA.js.map