@mark1russell7/site-pages 0.4.0 → 0.4.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.
@@ -151,6 +151,28 @@ interface KpiFile {
151
151
  /** The engines that made the data. The Status page shows them. */
152
152
  engines?: KpiEngine[];
153
153
  }
154
+ /** One fault of a version section, with the changelog file that has it. */
155
+ interface ChangelogFileFault {
156
+ /** The path of the changelog file in the repository, with `/`. */
157
+ file: string;
158
+ version: string;
159
+ /** The kind of the fault, as `changelogFaults` gives it. */
160
+ kind: "no-statement" | "version-kind-only" | "break-unmarked" | "mark-without-break";
161
+ /** The first statement of the section, or an empty text when it has none. */
162
+ statement: string;
163
+ }
164
+ /** The reading of the changelogs of a repository against the rules of a version section. */
165
+ interface ChangelogReading {
166
+ /**
167
+ * The oldest version that the gate examines: the field `sitePages.changelogFrom` of the root
168
+ * `package.json`. It is null when the repository has no such field. Then the reading only reports.
169
+ */
170
+ from: string | null;
171
+ /** The count of the version sections of the changelogs that the reading examined. */
172
+ sections: number;
173
+ /** The faults of those sections, in the order of the files. */
174
+ faults: ChangelogFileFault[];
175
+ }
154
176
  /** The data of the status page, as `status.json` holds it. */
155
177
  interface StatusBoardData {
156
178
  /** The ISO time of the build that read the data. */
@@ -173,6 +195,8 @@ interface StatusBoardData {
173
195
  };
174
196
  /** The content of `kpi.json`, when the site has that file. */
175
197
  kpi?: KpiFile;
198
+ /** The reading of the changelogs, when the repository has a changelog. */
199
+ changelog?: ChangelogReading;
176
200
  }
177
201
  /** The name of the format. A new format gets a new name, so that an old reader refuses it. */
178
202
  declare const KPI_FORMAT = "kpi/1";
@@ -352,5 +376,5 @@ interface FailingCase {
352
376
  * Stamps that pass and give a case with no fault tell that the gate does not examine that page.
353
377
  */
354
378
  declare function failingCases(stamps: DataStamps, options: FreshnessOptions): readonly FailingCase[];
355
- export { readKpi as A, KpiFile as B, KPI_FILE as C, kpiFile as D, KpiInput as E, CheckState as F, OpenWorkTotals as G, Link as H, GitHubOpenWork as I, ReleaseKind as J, Release as K, GitHubRelease as L, BoardIssue as M, BoardItem as N, kpiProblems as O, BoardPullRequest as P, GitHubReleases as R, parseDataStamps as S, KpiError as T, NpmPublishTimes as U, KpiMeasure as V, NpmVersionTime as W, StatusClass as X, StatusBoardData as Y, checkFreshness as _, DataStamps as a, latestAt as b, FreshnessCheck as c, MAX_DATA_AGE_DAYS as d, MAX_LIMIT_DAYS_WITHOUT_RULING as f, PageStamp as g, NoAgeLimit as h, DataRun as i, writeKpi as j, kpiText as k, FreshnessOptions as l, MAX_STUDY_LIMIT_DAYS as m, DATA_STAMP_SCHEMA as n, DataStampsParse as o, MAX_MINORS_BEHIND as p, ReleaseChange as q, DataLimit as r, FailingCase as s, CronLine as t, LAST_LIMIT_START as u, cronLines as v, KPI_FORMAT as w, minorsBehind as x, failingCases as y, KpiEngine as z };
379
+ export { readKpi as A, GitHubReleases as B, KPI_FILE as C, kpiFile as D, KpiInput as E, ChangelogFileFault as F, NpmPublishTimes as G, KpiFile as H, ChangelogReading as I, Release as J, NpmVersionTime as K, CheckState as L, BoardIssue as M, BoardItem as N, kpiProblems as O, BoardPullRequest as P, StatusClass as Q, GitHubOpenWork as R, parseDataStamps as S, KpiError as T, KpiMeasure as U, KpiEngine as V, Link as W, ReleaseKind as X, ReleaseChange as Y, StatusBoardData as Z, checkFreshness as _, DataStamps as a, latestAt as b, FreshnessCheck as c, MAX_DATA_AGE_DAYS as d, MAX_LIMIT_DAYS_WITHOUT_RULING as f, PageStamp as g, NoAgeLimit as h, DataRun as i, writeKpi as j, kpiText as k, FreshnessOptions as l, MAX_STUDY_LIMIT_DAYS as m, DATA_STAMP_SCHEMA as n, DataStampsParse as o, MAX_MINORS_BEHIND as p, OpenWorkTotals as q, DataLimit as r, FailingCase as s, CronLine as t, LAST_LIMIT_START as u, cronLines as v, KPI_FORMAT as w, minorsBehind as x, failingCases as y, GitHubRelease as z };
356
380
  //# sourceMappingURL=freshness.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"freshness.d.ts","names":[],"sources":["../../src/data/types.ts","../../src/data/kpi.ts","../../src/check/freshness.ts"],"mappings":";;;;;UAMiB;EACf;EACA;;;;;;KAWU;;UAGK;;EAEf;;EAEA;;EAEA;;;UAIe;EACf;;EAEA;EACA,MAAM;;EAEN,SAAS;;EAET,OAAO;;;UAIQ;EACf;EACA;;EAEA;;EAEA;EACA;EACA;;;KAIU;EAAmB;EAAiB,UAAU;;EAAsB;EAAkB;;;UAGjF;EACf;EACA;EACA;;;UAIe;EACf,OAAO;EACP;;;KAQU;;UAGK;EACf;EACA;;EAEA;EACA,aAAa;EACb;EACA;;EAEA;;EAEA;;EAEA;EACA,OAAO;;;KAIG;;UAGK;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;;;UAIO;EACf;EACA;EACA;EACA;EACA;EACA;EACA;;;UAIe;EACf;EACA;;;KAIU;EACN;EAAiB,cAAc;EAAoB,QAAQ;EAAc,QAAQ;;EACjF;EAAkB;;;UAGP;;EAEf;EACA;EACA;;EAEA;;EAEA;;;UAIe;;EAEf;EACA;;;UAIe;EACf;;EAEA;;EAEA;;EAEA;EACA,UAAU;;EAEV,UAAU;;;UAIK;;EAEf;;EAEA;;EAEA;IAAU;IAAwB;;EAClC,OAAO;EACP,cAAc;EACd,QAAQ;;EAER;IAAU;IAAoB;IAAiB,SAAS;;;EAExD,MAAM;;;cCzKK;;cAGA;;KAGD,WAAW,KAAK;;cAef,iBAAiB;WACnB;EAET,YAAY;;;;;;;;iBA6CE,YAAY,gBAAgB;;;;;;iBAgC5B,QAAQ,OAAO,UAAU,eAAe;;iBASxC,QAAQ,MAAM;;;;;;iBASd,QAAQ,cAAc,eAAe;;;;;;iBAkBrC,SAAS,aAAa,OAAO,UAAU;;cCpI1C;;cAGA;;cAGA;;cAGA;;cAGA;;cAGA;;UAQI;WACN;WACA;;WAEA;;WAEA,SAAS,SAAS;;WAElB;;WAEA;;;UAIM;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;;UAIM;;WAEN;;WAEA;;;UAIM;WACN;;WAEA,eAAe;;WAEf,WAAW;;WAEX;;WAEA,QAAQ;;WAER,UAAU;;;UAIJ;WACN,eAAe;WACf,gBAAgB;;;KAIf;WAA6B;WAAmB,QAAQ;;WAA0B;WAAoB;;;UAGjG;;WAEN;;WAEA,gBAAgB;;WAEhB;;WAEA;;WAEA,YAAY,SAAS;;;UAIf;;WAEN;;WAEA;;;;;;iBAkFK,gBAAgB,eAAe;;iBAwB/B,aAAa,cAAc;;iBAS3B,SAAS,gBAAgB,kBAAkB,cAAc;;UAqDxD;;WAEN;;WAEA;;;;;;iBAOK,UAAU,mBAAmB;;;;;;;;;;;;iBAwD7B,eAAe,QAAQ,YAAY,SAAS,mBAAmB;;UA8C9D;;WAEN;;WAEA;;WAEA;;;;;;;iBAQK,aAAa,QAAQ,YAAY,SAAS,4BAA4B"}
1
+ {"version":3,"file":"freshness.d.ts","names":[],"sources":["../../src/data/types.ts","../../src/data/kpi.ts","../../src/check/freshness.ts"],"mappings":";;;;;UAMiB;EACf;EACA;;;;;;KAWU;;UAGK;;EAEf;;EAEA;;EAEA;;;UAIe;EACf;;EAEA;EACA,MAAM;;EAEN,SAAS;;EAET,OAAO;;;UAIQ;EACf;EACA;;EAEA;;EAEA;EACA;EACA;;;KAIU;EAAmB;EAAiB,UAAU;;EAAsB;EAAkB;;;UAGjF;EACf;EACA;EACA;;;UAIe;EACf,OAAO;EACP;;;KAQU;;UAGK;EACf;EACA;;EAEA;EACA,aAAa;EACb;EACA;;EAEA;;EAEA;;EAEA;EACA,OAAO;;;KAIG;;UAGK;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;;;UAIO;EACf;EACA;EACA;EACA;EACA;EACA;EACA;;;UAIe;EACf;EACA;;;KAIU;EACN;EAAiB,cAAc;EAAoB,QAAQ;EAAc,QAAQ;;EACjF;EAAkB;;;UAGP;;EAEf;EAC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4BAA4B"}
package/build/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as readKpi, B as KpiFile, C as KPI_FILE, D as kpiFile, E as KpiInput, F as CheckState, G as OpenWorkTotals, H as Link, I as GitHubOpenWork, J as ReleaseKind, K as Release, L as GitHubRelease, M as BoardIssue, N as BoardItem, O as kpiProblems, P as BoardPullRequest, R as GitHubReleases, S as parseDataStamps, T as KpiError, U as NpmPublishTimes, V as KpiMeasure, W as NpmVersionTime, X as StatusClass, Y as StatusBoardData, _ as checkFreshness, a as DataStamps, b as latestAt, c as FreshnessCheck, d as MAX_DATA_AGE_DAYS, f as MAX_LIMIT_DAYS_WITHOUT_RULING, g as PageStamp, h as NoAgeLimit, i as DataRun, j as writeKpi, k as kpiText, l as FreshnessOptions, m as MAX_STUDY_LIMIT_DAYS, n as DATA_STAMP_SCHEMA, o as DataStampsParse, p as MAX_MINORS_BEHIND, q as ReleaseChange, r as DataLimit, s as FailingCase, t as CronLine, u as LAST_LIMIT_START, v as cronLines, w as KPI_FORMAT, x as minorsBehind, y as failingCases, z as KpiEngine } from "./chunks/freshness.js";
1
+ import { A as readKpi, B as GitHubReleases, C as KPI_FILE, D as kpiFile, E as KpiInput, F as ChangelogFileFault, G as NpmPublishTimes, H as KpiFile, I as ChangelogReading, J as Release, K as NpmVersionTime, L as CheckState, M as BoardIssue, N as BoardItem, O as kpiProblems, P as BoardPullRequest, Q as StatusClass, R as GitHubOpenWork, S as parseDataStamps, T as KpiError, U as KpiMeasure, V as KpiEngine, W as Link, X as ReleaseKind, Y as ReleaseChange, Z as StatusBoardData, _ as checkFreshness, a as DataStamps, b as latestAt, c as FreshnessCheck, d as MAX_DATA_AGE_DAYS, f as MAX_LIMIT_DAYS_WITHOUT_RULING, g as PageStamp, h as NoAgeLimit, i as DataRun, j as writeKpi, k as kpiText, l as FreshnessOptions, m as MAX_STUDY_LIMIT_DAYS, n as DATA_STAMP_SCHEMA, o as DataStampsParse, p as MAX_MINORS_BEHIND, q as OpenWorkTotals, r as DataLimit, s as FailingCase, t as CronLine, u as LAST_LIMIT_START, v as cronLines, w as KPI_FORMAT, x as minorsBehind, y as failingCases, z as GitHubRelease } from "./chunks/freshness.js";
2
2
  /** The parts of a SemVer 2.0.0 version. */
3
3
  interface ParsedVersion {
4
4
  major: number;
@@ -29,11 +29,6 @@ interface TagVersion {
29
29
  * `name@1.2.3` and `@scope/name@1.2.3`. It gives null for another tag.
30
30
  */
31
31
  export declare function versionOfTag(tag: string): TagVersion | null;
32
- /**
33
- * The changelog parser. Changesets writes a section for each version in the `CHANGELOG.md` of each
34
- * package. The section has a `## 0.13.2` heading and a `###` heading for each kind of change. Each
35
- * change is one `- <short sha>: <text>` entry. The next lines of an entry have an indent.
36
- */
37
32
  /** One entry of a changelog section or of a release text. */
38
33
  interface ChangelogEntry {
39
34
  /** The short SHA of the commit, or null for an entry without a commit. */
@@ -106,6 +101,21 @@ export declare function sectionMarksBreak(section: string): boolean;
106
101
  * option `fixedGroup` removes this fault.
107
102
  */
108
103
  export declare function changelogFaults(markdown: string, options?: ChangelogFaultOptions): ChangelogFault[];
104
+ /**
105
+ * This function reads the changelog files of a repository against the rules of a version section.
106
+ * With a `from` version, it examines the sections of that version and newer. With null, it examines all the sections.
107
+ *
108
+ * @throws RangeError when `from` is not a version
109
+ */
110
+ export declare function changelogReading(changelogs: readonly {
111
+ file: string;
112
+ markdown: string;
113
+ }[], from: string | null): ChangelogReading;
114
+ /**
115
+ * This function gives the problem of a changelog reading for the build, or null. A reading with a
116
+ * `from` version and a fault fails the build. A reading with no `from` version only reports.
117
+ */
118
+ export declare function changelogGateProblem(reading: ChangelogReading, limit?: number): string | null;
109
119
  /**
110
120
  * This function gives the changes of the text of a GitHub release: one change for each top-level
111
121
  * list item. Fenced code is not read.
@@ -361,6 +371,13 @@ interface ReleaseReading {
361
371
  * @param now - The time of the check, in milliseconds.
362
372
  */
363
373
  export declare function releaseReading(listed: readonly string[], sources: ReleaseListSources, now?: number): ReleaseReading;
374
+ /**
375
+ * This function gives the oldest version that the changelog gate of a repository examines: the field
376
+ * `sitePages.changelogFrom` of its root `package.json`. It gives null when the file or the field is not there.
377
+ *
378
+ * @throws ReleaseDataError when the field is not a version
379
+ */
380
+ export declare function readChangelogFrom(repoDir: string): string | null;
364
381
  /** The default patterns of the changelog files: the first pattern that finds a file wins. */
365
382
  export declare const DEFAULT_CHANGELOGS: readonly string[];
366
383
  /**
@@ -752,5 +769,5 @@ export declare function parseBuildArgs(argv: readonly string[], io: Pick<CliIo,
752
769
  * source is not correct, and 2 for an incorrect command line.
753
770
  */
754
771
  export declare function runCli(argv: readonly string[], io: CliIo): Promise<number>;
755
- export { type BoardIssue, type BoardItem, type BoardPullRequest, type BoardSection, type BuildOptions, type BuildResult, type ChangelogEntry, type ChangelogFault, type ChangelogFaultKind, type ChangelogFaultOptions, type ChangelogSection, type ChangelogSource, type CheckState, type CliIo, type CronLine, DATA_STAMP_SCHEMA, type DataLimit, type DataRun, type DataStamps, type DataStampsParse, type FailingCase, type FreshnessCheck, type FreshnessOptions, type GitHubGreenRun, type GitHubOpenWork, type GitHubOptions, type GitHubRelease, type GitHubReleaseLag, type GitHubReleases, type ItemGroup, KPI_FILE, KPI_FORMAT, type KpiEngine, KpiError, type KpiFile, type KpiInput, type KpiMeasure, LAST_LIMIT_START, type Link, type LinkOptions, MAX_DATA_AGE_DAYS, MAX_LIMIT_DAYS_WITHOUT_RULING, MAX_MINORS_BEHIND, MAX_STUDY_LIMIT_DAYS, type MarkdownTable, type NoAgeLimit, type NpmOptions, type NpmPublishTimes, type NpmVersionTime, type OpenWorkTotals, type PageOptions, type PageParts, type PageStamp, type ParsedVersion, type ReadReleasesOptions, type ReadStatusBoardOptions, type Release, type ReleaseChange, type ReleaseGap, type ReleaseKind, type ReleaseListSources, type ReleasePoint, type ReleaseReading, type ReleaseSources, type ReleaseSummary, type StatusBoardData, type StatusBoardInput, type StatusClass, type TagDate, type TagVersion, type TimelineBand, type TimelineLayout, type TimelineMark, type TimelineOptions, type WorkflowRunEnd, checkFreshness, cronLines, failingCases, kpiFile, kpiProblems, kpiText, latestAt, minorsBehind, parseDataStamps, readKpi, writeKpi };
772
+ export { type BoardIssue, type BoardItem, type BoardPullRequest, type BoardSection, type BuildOptions, type BuildResult, type ChangelogEntry, type ChangelogFault, type ChangelogFaultKind, type ChangelogFaultOptions, type ChangelogFileFault, type ChangelogReading, type ChangelogSection, type ChangelogSource, type CheckState, type CliIo, type CronLine, DATA_STAMP_SCHEMA, type DataLimit, type DataRun, type DataStamps, type DataStampsParse, type FailingCase, type FreshnessCheck, type FreshnessOptions, type GitHubGreenRun, type GitHubOpenWork, type GitHubOptions, type GitHubRelease, type GitHubReleaseLag, type GitHubReleases, type ItemGroup, KPI_FILE, KPI_FORMAT, type KpiEngine, KpiError, type KpiFile, type KpiInput, type KpiMeasure, LAST_LIMIT_START, type Link, type LinkOptions, MAX_DATA_AGE_DAYS, MAX_LIMIT_DAYS_WITHOUT_RULING, MAX_MINORS_BEHIND, MAX_STUDY_LIMIT_DAYS, type MarkdownTable, type NoAgeLimit, type NpmOptions, type NpmPublishTimes, type NpmVersionTime, type OpenWorkTotals, type PageOptions, type PageParts, type PageStamp, type ParsedVersion, type ReadReleasesOptions, type ReadStatusBoardOptions, type Release, type ReleaseChange, type ReleaseGap, type ReleaseKind, type ReleaseListSources, type ReleasePoint, type ReleaseReading, type ReleaseSources, type ReleaseSummary, type StatusBoardData, type StatusBoardInput, type StatusClass, type TagDate, type TagVersion, type TimelineBand, type TimelineLayout, type TimelineMark, type TimelineOptions, type WorkflowRunEnd, checkFreshness, cronLines, failingCases, kpiFile, kpiProblems, kpiText, latestAt, minorsBehind, parseDataStamps, readKpi, writeKpi };
756
773
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/versions.ts","../src/data/changelog.ts","../src/data/github.ts","../src/data/npm.ts","../src/data/git.ts","../src/data/glob.ts","../src/data/releases.ts","../src/data/status.ts","../src/render/html.ts","../src/render/dates.ts","../src/render/theme.ts","../src/render/timeline.ts","../src/render/releases.ts","../src/render/status.ts","../src/check/probe.ts","../src/render/data-stamp.ts","../src/build.ts"],"mappings":";;UAOiB;EACf;EACA;EACA;EACA;;;wBAMc,aAAa,kBAAkB;;;;;;wBAgB/B,gBAAgB,WAAW;;;;;wBA2B3B,OAAO,iBAAiB,kBAAkB;;UASzC;EACf;EACA;;;;;;wBAOc,aAAa,cAAc;;;;;;;UCvE1B;;EAEf;;EAEA;;;UAIe;EACf;;EAEA;EACA,SAAS;;;;;;;;;wBAqBK,cAAc;;;;;;;wBA0Cd,eAAe,mBAAmB;;;;;;;;KA2CtC;;UAGK;EACf;EACA,MAAM;;EAEN;;;UAIe;;EAEf;;;;;;EAMA;;;;;;;;wBAec,kBAAkB;;;;;;;;;;wBAmFlB,gBAAgB,kBAAkB,UAAS,wBAA6B;;;;;wBAkCxE,mBAAmB,eAAe;;;;;wBAqClC,cAAc;;wBASd,kBAAkB;;qBCzTrB;;qBAEA;;UAKI;EACf;EACA;;EAEA;;EAEA,eAAe;;EAEf;;;wBA0Bc,aAAa;EAAU;uBAA6C;;;;;;wBA4C9D,eAAe,SAAS;EAAkB;EAAmB;IAAmB,QAAQ;;;;;;;;wBAsIxF,eAAe,SAAS;EAAkB;EAAmB;IAAsB,QAAQ;;KAKrG;EAAqB;EAAiB;EAAe;EAAY;;EAAsB;EAAkB;;;;;;;;;wBAWrG,aAAa,4BAA4B;;;;;;;;;;;;;;;;wBAsDnC,iBACpB,SAAS;EAAkB;EAAmB;EAAiB;EAAmB;EAAmB;IACpG,QAAQ;;KA+CC;EAAmB;EAAiB;EAAe;;EAAiB;EAAkB;;;UAGjF;WACN;WACA;WACA;;;;;;;;wBASK,WAAW,eAAe;EAAqB;EAAe;;;;;;;;;wBAexD,eAAe,SAAS;EAAkB;EAAkB;EAAmB;IAAmB,QAAQ;;qBCjXnH;;UAGI;;EAEf;;EAEA,eAAe;EACf;;EAEA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AAY;;wBCsBZ,gBAAgB,OAAO,WAAW;;qBClBrC,mBAAmB;;UAGf;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;EACA,eAAe;;EAEf;EACA,SAAS;;;UAIM;;EAEf;EACA,UAAU;EACV,QAAQ;;;;;;;;;wBAgBY,MAAM,SAAS,eAAe,QAAQ;;qBA6C/C;;UA+BI;EACf;EACA,KAAK;EACL,SAAS;EACT,SAAS;EACT,eAAe;EACf;;;;;;;wBAQc,eAAe,yBAAyB,IAAI,KAAK,wBAAwB;;;;;wBAiEnE,OAAO,yBAAyB,IAAI,QAAQ"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/versions.ts","../src/data/changelog.ts","../src/data/github.ts","../src/data/npm.ts","../src/data/git.ts","../src/data/glob.ts","../src/data/releases.ts","../src/data/status.ts","../src/render/html.ts","../src/render/dates.ts","../src/render/theme.ts","../src/render/timeline.ts","../src/render/releases.ts","../src/render/status.ts","../src/check/probe.ts","../src/render/data-stamp.ts","../src/build.ts"],"mappings":";;UAOiB;EACf;EACA;EACA;EACA;;;wBAMc,aAAa,kBAAkB;;;;;;wBAgB/B,gBAAgB,WAAW;;;;;wBA2B3B,OAAO,iBAAiB,kBAAkB;;UASzC;EACf;EACA;;;;;;wBAOc,aAAa,cAAc;;UCrE1B;;EAEf;;EAEA;;;UAIe;EACf;;EAEA;EACA,SAAS;;;;;;;;;wBAqBK,cAAc;;;;;;;wBA0Cd,eAAe,mBAAmB;;;;;;;;KA2CtC;;UAGK;EACf;EACA,MAAM;;EAEN;;;UAIe;;EAEf;;;;;;EAMA;;;;;;;;wBAec,kBAAkB;;;;;;;;;;wBAmFlB,gBAAgB,kBAAkB,UAAS,wBAA6B;;;;;;;wBAoCxE,iBAAiB;EAAuB;EAAc;KAAsB,sBAAsB;;;;;wBAmBlG,qBAAqB,SAAS,kBAAkB;;;;;wBAWhD,mBAAmB,eA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EAEA;;;UAIe;EACf;;EAEA;EACA;EACA;EACA;EACA;EACA;;;UAIe,aAAa,UAAU,eAAe;EACrD,SAAS;EACT;EACA;;EAEA;;EAEA;;;UAIe,eAAe,UAAU,eAAe;EACvD;EACA;EACA;;EAEA;EACA;EACA;EACA,OAAO;;EAEP,OAAO,MAAM,aAAa;;;wBASZ,WAAW;EAAU;EAAoB;GAAsB;;wBAK/D,eAAe,UAAU,cAAc,mBAAmB,KAAK,SAAS,kBAAkB,eAAe;;;;;wBC5EzG,aAAa,mBAAmB;;;;;qBAuJnC;;wBA2EG,mBAAmB,mBAAmB,WAAW,SAAS;;;;;wBCtO1D,WAAW,MAAM;;wBAcjB,OAAO;;UAWN;EACf;EACA;EACA;EACA;;;wBAIc,WAAW,gBAAgB,cAAc;;UAaxC;EACf,aAAa;EACb,OAAO;;;wBAIO,WAAW,gBAAgB,cAAc;;wBAOzC,YAAY,gBAAgB,cAAc,OAAO;;;;;qBA0PpD;;wBAiFG,iBAAiB,MAAM,iBAAiB,SAAS;;qBC9ZpD,kBAAkB;;;;;;wBAOf,YAAY;;wBCsBZ,gBAAgB,OAAO,WAAW;;qBCjBrC,mBAAmB;;UAGf;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;EACA,eAAe;;EAEf;EACA,SAAS;;;UAIM;;EAEf;EACA,UAAU;EACV,QAAQ;;;;;;;;;wBAgBY,MAAM,SAAS,eAAe,QAAQ;;qBAoD/C;;UA+BI;EACf;EACA,KAAK;EACL,SAAS;EACT,SAAS;EACT,eAAe;EACf;;;;;;;wBAQc,eAAe,yBAAyB,IAAI,KAAK,wBAAwB;;;;;wBAiEnE,OAAO,yBAAyB,IAAI,QAAQ"}
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { A as headCommit, B as versionOfTag, C as kpiFile, D as writeKpi, E as readKpi, F as NPM_REGISTRY, I as npmPublishTimes, L as compareVersions, M as isShallow, N as originRepository, P as versionCommitTime, R as kindOf, S as KpiError, T as kpiText, a as MAX_MINORS_BEHIND, b as KPI_FILE, c as cronLines, d as minorsBehind, f as parseDataStamps, h as inlineMarkdown, i as MAX_LIMIT_DAYS_WITHOUT_RULING, j as headingDate, k as gitTagDates, l as failingCases, m as escapeHtml, n as LAST_LIMIT_START, o as MAX_STUDY_LIMIT_DAYS, r as MAX_DATA_AGE_DAYS, s as checkFreshness, t as DATA_STAMP_SCHEMA, u as latestAt, w as kpiProblems, x as KPI_FORMAT, y as safeUrl, z as parseVersion } from "./chunks/freshness.js";
2
- import { $ as githubReleases, A as STATUS_CLASSES, B as DEFAULT_CHANGELOGS, C as pageShell, D as utcDay, E as shortDate, F as plainText, G as releaseReading, H as mergeReleases, I as readStatusBoard, J as GITHUB_GRAPHQL, K as globFiles, L as roadmapItems, M as linksOf, N as markdownTables, O as OPEN_CLASSES, P as parseRoadmap, Q as githubReleaseLag, R as splitRow, S as BASE_CSS, T as longDate, U as readChangelogs, V as ReleaseDataError, W as readReleases, X as githubGreenRun, Y as checkStateOf, Z as githubOpenWork, _ as renderReleasesPage, a as runCli, at as headingAnchor, b as releaseSummary, c as STATUS_SCRIPT, ct as sectionMarksBreak, d as renderStatusPage, et as greenRunOf, f as sectionsOf, g as releasesLead, h as RELEASES_SCRIPT, i as parseBuildArgs, it as firstSentence, j as buildStatusBoard, k as RoadmapParseError, l as classCounts, m as statusLead, n as UsageError, nt as changelogFaults, o as TYPESCRIPT_PROBE, ot as parseChangelog, p as slugOf, q as GITHUB_API, r as build, rt as changelogVersions, s as probeScript, st as releaseBodyEntries, t as HELP, tt as releaseLagOf, u as openGroups, v as laneCenter, w as dayRange, x as timelineLayout, y as oldestFirst, z as statusClassOf } from "./chunks/build.js";
2
+ import { $ as githubReleaseLag, A as STATUS_CLASSES, B as DEFAULT_CHANGELOGS, C as pageShell, D as utcDay, E as shortDate, F as plainText, G as readReleases, H as mergeReleases, I as readStatusBoard, J as GITHUB_API, K as releaseReading, L as roadmapItems, M as linksOf, N as markdownTables, O as OPEN_CLASSES, P as parseRoadmap, Q as githubOpenWork, R as splitRow, S as BASE_CSS, T as longDate, U as readChangelogFrom, V as ReleaseDataError, W as readChangelogs, X as checkStateOf, Y as GITHUB_GRAPHQL, Z as githubGreenRun, _ as renderReleasesPage, a as runCli, at as changelogReading, b as releaseSummary, c as STATUS_SCRIPT, ct as headingAnchor, d as renderStatusPage, dt as sectionMarksBreak, et as githubReleases, f as sectionsOf, g as releasesLead, h as RELEASES_SCRIPT, i as parseBuildArgs, it as changelogGateProblem, j as buildStatusBoard, k as RoadmapParseError, l as classCounts, lt as parseChangelog, m as statusLead, n as UsageError, nt as releaseLagOf, o as TYPESCRIPT_PROBE, ot as changelogVersions, p as slugOf, q as globFiles, r as build, rt as changelogFaults, s as probeScript, st as firstSentence, t as HELP, tt as greenRunOf, u as openGroups, ut as releaseBodyEntries, v as laneCenter, w as dayRange, x as timelineLayout, y as oldestFirst, z as statusClassOf } from "./chunks/build.js";
3
3
  import { t as renderDataStamp } from "./chunks/data-stamp.js";
4
- export { BASE_CSS, DATA_STAMP_SCHEMA, DEFAULT_CHANGELOGS, GITHUB_API, GITHUB_GRAPHQL, HELP, KPI_FILE, KPI_FORMAT, KpiError, LAST_LIMIT_START, MAX_DATA_AGE_DAYS, MAX_LIMIT_DAYS_WITHOUT_RULING, MAX_MINORS_BEHIND, MAX_STUDY_LIMIT_DAYS, NPM_REGISTRY, OPEN_CLASSES, RELEASES_SCRIPT, ReleaseDataError, RoadmapParseError, STATUS_CLASSES, STATUS_SCRIPT, TYPESCRIPT_PROBE, UsageError, build, buildStatusBoard, changelogFaults, changelogVersions, checkFreshness, checkStateOf, classCounts, compareVersions, cronLines, dayRange, escapeHtml, failingCases, firstSentence, gitTagDates, githubGreenRun, githubOpenWork, githubReleaseLag, githubReleases, globFiles, greenRunOf, headCommit, headingAnchor, headingDate, inlineMarkdown, isShallow, kindOf, kpiFile, kpiProblems, kpiText, laneCenter, latestAt, linksOf, longDate, markdownTables, mergeReleases, minorsBehind, npmPublishTimes, oldestFirst, openGroups, originRepository, pageShell, parseBuildArgs, parseChangelog, parseDataStamps, parseRoadmap, parseVersion, plainText, probeScript, readChangelogs, readKpi, readReleases, readStatusBoard, releaseBodyEntries, releaseLagOf, releaseReading, releaseSummary, releasesLead, renderDataStamp, renderReleasesPage, renderStatusPage, roadmapItems, runCli, safeUrl, sectionMarksBreak, sectionsOf, shortDate, slugOf, splitRow, statusClassOf, statusLead, timelineLayout, utcDay, versionCommitTime, versionOfTag, writeKpi };
4
+ export { BASE_CSS, DATA_STAMP_SCHEMA, DEFAULT_CHANGELOGS, GITHUB_API, GITHUB_GRAPHQL, HELP, KPI_FILE, KPI_FORMAT, KpiError, LAST_LIMIT_START, MAX_DATA_AGE_DAYS, MAX_LIMIT_DAYS_WITHOUT_RULING, MAX_MINORS_BEHIND, MAX_STUDY_LIMIT_DAYS, NPM_REGISTRY, OPEN_CLASSES, RELEASES_SCRIPT, ReleaseDataError, RoadmapParseError, STATUS_CLASSES, STATUS_SCRIPT, TYPESCRIPT_PROBE, UsageError, build, buildStatusBoard, changelogFaults, changelogGateProblem, changelogReading, changelogVersions, checkFreshness, checkStateOf, classCounts, compareVersions, cronLines, dayRange, escapeHtml, failingCases, firstSentence, gitTagDates, githubGreenRun, githubOpenWork, githubReleaseLag, githubReleases, globFiles, greenRunOf, headCommit, headingAnchor, headingDate, inlineMarkdown, isShallow, kindOf, kpiFile, kpiProblems, kpiText, laneCenter, latestAt, linksOf, longDate, markdownTables, mergeReleases, minorsBehind, npmPublishTimes, oldestFirst, openGroups, originRepository, pageShell, parseBuildArgs, parseChangelog, parseDataStamps, parseRoadmap, parseVersion, plainText, probeScript, readChangelogFrom, readChangelogs, readKpi, readReleases, readStatusBoard, releaseBodyEntries, releaseLagOf, releaseReading, releaseSummary, releasesLead, renderDataStamp, renderReleasesPage, renderStatusPage, roadmapItems, runCli, safeUrl, sectionMarksBreak, sectionsOf, shortDate, slugOf, splitRow, statusClassOf, statusLead, timelineLayout, utcDay, versionCommitTime, versionOfTag, writeKpi };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@mark1russell7/site-pages",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "description": "A release timeline page and a live status page for the site of a GitHub repository: JSON data and standalone HTML, made at deploy time.",
6
6
  "keywords": [
7
7
  "github-pages",