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.
- package/dist/acceptance/matrix.mjs +3 -9
- package/dist/cli/index.mjs +818 -757
- package/dist/cli/init-docs/content/cli-reference.md +0 -11
- package/dist/cli/init-docs/content/content-management.md +0 -6
- package/dist/{entryCommands-C0xbLW5L.mjs → entryCommands-nATGxgma.mjs} +6619 -5457
- package/dist/{eventUpsertInputSchema-C-cDv9vR.mjs → eventUpsertInputSchema-XRzH6yFb.mjs} +5 -4
- package/dist/{load-config-h2Ri_tDO.mjs → load-config-DwiS-Ibn.mjs} +2 -2
- package/dist/load-config-zu397zDX.mjs +4 -0
- package/dist/{plan-Dyv1rMTT.mjs → plan-ChNV88KF.mjs} +1 -1
- package/dist/scaffold/index.mjs +2 -2
- package/dist/{sdk-event-upsert-DmNSeHgP.mjs → sdk-event-upsert-4t4e1z-h.mjs} +12390 -10802
- package/dist/{src-B03aw4Tv.mjs → src-LhtqTjH7.mjs} +505 -15
- package/dist/testing.mjs +4 -4
- package/package.json +1 -1
- package/dist/load-config-BGzlsmtt.mjs +0 -4
|
@@ -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-
|
|
3
|
-
import {
|
|
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
|
|
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:
|
|
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.
|
|
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.
|
|
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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
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";
|
package/dist/scaffold/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "../src-
|
|
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-
|
|
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 };
|