riverbankcms 0.24.0 → 0.25.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.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { _ as normalizeLinkValue, a as classifySdkEventSchedule, g as linkSchema, i as sdkEventUpsertOptionalFieldSchemas, n as sdkCourseBookingSettingsSchema, o as classifySdkEventBookingOffer } from "./sdk-event-upsert-DmNSeHgP.mjs";
3
- import { d as EVENT_PRESET_VALUES } from "./src-B03aw4Tv.mjs";
2
+ import { _ as normalizeLinkValue, a as classifySdkEventSchedule, g as linkSchema, i as sdkEventUpsertOptionalFieldSchemas, n as sdkCourseBookingSettingsSchema, o as classifySdkEventBookingOffer } from "./sdk-event-upsert-4t4e1z-h.mjs";
3
+ import { f as EVENT_PRESET_VALUES } from "./src-LhtqTjH7.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region ../blocks/src/lib/typeGuards.ts
@@ -1371,7 +1371,7 @@ function buildRoutableSnapshot(entry, route, routing, defaults) {
1371
1371
  const publishedTitle = rawPublishedTitle ? rawPublishedTitle.trim() : null;
1372
1372
  const publishedPath = route.publishedPath ?? null;
1373
1373
  const publishedStatus = route.status ?? null;
1374
- const publishedAt = route.publishedAt ?? null;
1374
+ const lastPublishedAt = route.lastPublishedAt ?? null;
1375
1375
  const currentStatus = route.status ?? route.draftStatus ?? "draft";
1376
1376
  return {
1377
1377
  kind: "routable",
@@ -1387,7 +1387,7 @@ function buildRoutableSnapshot(entry, route, routing, defaults) {
1387
1387
  title: publishedTitle,
1388
1388
  path: publishedPath,
1389
1389
  status: publishedStatus ?? null,
1390
- publishAt: publishedAt ?? null
1390
+ publishAt: lastPublishedAt
1391
1391
  },
1392
1392
  status: currentStatus ?? "draft",
1393
1393
  route: {
@@ -1462,6 +1462,7 @@ function createSnapshotFromPageRecord(record, routing, defaults) {
1462
1462
  publishedSlug: canonicalRoute.published.slug,
1463
1463
  status: record.status ?? null,
1464
1464
  publishedAt: record.publishedAt ?? null,
1465
+ lastPublishedAt: record.lastPublishedAt,
1465
1466
  scheduledPublishAt: record.scheduledPublishAt ?? null,
1466
1467
  draftMetaTitle: record.draftMetaTitle ?? null,
1467
1468
  draftMetaDescription: record.draftMetaDescription ?? null,
@@ -7,7 +7,7 @@ import { existsSync as existsSync$1 } from "fs";
7
7
  import { fileURLToPath } from "url";
8
8
 
9
9
  //#region package.json
10
- var version = "0.24.0";
10
+ var version = "0.25.0";
11
11
  var peerDependencies = { "@riverbankcms/sdk": ">=0.157.0 <1.0.0" };
12
12
  var package_default = {
13
13
  name: "riverbankcms",
@@ -83,7 +83,7 @@ var package_default = {
83
83
  //#endregion
84
84
  //#region src/version.ts
85
85
  /** The package manifest is the source-run fallback; builds inject this value. */
86
- const CLI_VERSION = typeof "0.24.0" === "string" ? "0.24.0" : version;
86
+ const CLI_VERSION = typeof "0.25.0" === "string" ? "0.25.0" : version;
87
87
  /**
88
88
  * The CLI's SDK peer range is bundled from the CLI manifest alongside its
89
89
  * version. Runtime config loading uses this value as the single compatibility
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { t as loadConfigFile } from "./load-config-DwiS-Ibn.mjs";
3
+
4
+ export { loadConfigFile };
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { Xn as err, Zn as ok, vn as parseSiteId } from "./src-B03aw4Tv.mjs";
2
+ import { $n as ok, Qn as err, bn as parseSiteId } from "./src-LhtqTjH7.mjs";
3
3
  import { existsSync, readFileSync } from "node:fs";
4
4
  import { dirname, isAbsolute, join, parse, relative, resolve, sep } from "node:path";
5
5
  import { fileURLToPath } from "node:url";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import "../src-B03aw4Tv.mjs";
3
- import { a as prepareScaffoldExecution, d as loadGeneratedPackageRanges, i as preflightScaffoldTargets, l as deriveGeneratedPackageRanges, o as writeScaffoldFiles, r as preflightScaffoldPlan, s as deriveScaffoldLocalManifest, t as deriveScaffoldPlan, u as findPackageManifestPath } from "../plan-Dyv1rMTT.mjs";
2
+ import "../src-LhtqTjH7.mjs";
3
+ import { a as prepareScaffoldExecution, d as loadGeneratedPackageRanges, i as preflightScaffoldTargets, l as deriveGeneratedPackageRanges, o as writeScaffoldFiles, r as preflightScaffoldPlan, s as deriveScaffoldLocalManifest, t as deriveScaffoldPlan, u as findPackageManifestPath } from "../plan-ChNV88KF.mjs";
4
4
 
5
5
  export { deriveGeneratedPackageRanges, deriveScaffoldLocalManifest, deriveScaffoldPlan, findPackageManifestPath, loadGeneratedPackageRanges, preflightScaffoldPlan, preflightScaffoldTargets, prepareScaffoldExecution, writeScaffoldFiles };