riverbankcms 0.6.0 → 0.7.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 +24 -38
- package/dist/cli/index.mjs +2339 -1952
- package/dist/cli/init-docs/content/cli-reference.md +12 -17
- package/dist/cli/init-docs/content/content-management.md +4 -5
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
- package/dist/{eventUpsertInputSchema-CtkDnYlQ.mjs → eventUpsertInputSchema-CWglzaib.mjs} +2 -2
- package/dist/load-config-CZ9qKC9m.mjs +5 -0
- package/dist/{load-config-DbMjs6df.mjs → load-config-DBGNYfxV.mjs} +1 -1
- package/dist/{plan-DubdLR3N.mjs → plan-DgjlCWxa.mjs} +22 -14
- package/dist/scaffold/index.mjs +2 -2
- package/dist/{sdk-event-upsert-CvFCbzNc.mjs → sdk-event-upsert-CS9tY-KW.mjs} +44 -17
- package/dist/{sdk-peer-CyQ2so48.mjs → sdk-peer-BjTmH5Mt.mjs} +3 -3
- package/dist/{src-X9oZOIoK.mjs → src-DT7DBZtQ.mjs} +1083 -131
- package/dist/{style-aixm8BXi.mjs → style-D2srLsI5.mjs} +11 -18
- package/dist/testing.mjs +4 -4
- package/package.json +2 -2
- package/dist/load-config-NNJ0ww1N.mjs +0 -5
|
@@ -749,32 +749,27 @@ riverbankcms block list home --json
|
|
|
749
749
|
|
|
750
750
|
## Navigation Commands
|
|
751
751
|
|
|
752
|
-
|
|
752
|
+
Every site has three fixed locations: `main`, `footer`, and `legal`. Each owns its items. Locations cannot be renamed, reassigned, shared or deleted.
|
|
753
753
|
|
|
754
754
|
### navigation upsert
|
|
755
755
|
|
|
756
|
-
|
|
756
|
+
Replace the items in one location. An empty array clears its links and keeps the location.
|
|
757
757
|
|
|
758
758
|
```bash
|
|
759
|
-
|
|
760
|
-
riverbankcms navigation upsert
|
|
761
|
-
|
|
762
|
-
# With JSON file
|
|
763
|
-
riverbankcms navigation upsert main --file ./main-nav.json
|
|
759
|
+
riverbankcms navigation upsert main --data '[{"label":"Home","link":{"kind":"page","identifier":"home"}}]'
|
|
760
|
+
riverbankcms navigation upsert footer --file ./footer-links.json
|
|
761
|
+
riverbankcms navigation upsert legal --data '[]'
|
|
764
762
|
```
|
|
765
763
|
|
|
766
|
-
|
|
764
|
+
Example item array:
|
|
767
765
|
|
|
768
766
|
```json
|
|
769
767
|
[
|
|
770
|
-
{ "label": "Home", "
|
|
771
|
-
{ "label": "About", "url": "/about" },
|
|
768
|
+
{ "label": "Home", "link": { "kind": "page", "identifier": "home" } },
|
|
772
769
|
{
|
|
773
770
|
"label": "Products",
|
|
774
|
-
"url": "/products",
|
|
775
771
|
"children": [
|
|
776
|
-
{ "label": "Category A", "url": "/products/a" }
|
|
777
|
-
{ "label": "Category B", "url": "/products/b" }
|
|
772
|
+
{ "label": "Category A", "link": { "kind": "url", "href": "/products/a" } }
|
|
778
773
|
]
|
|
779
774
|
}
|
|
780
775
|
]
|
|
@@ -782,17 +777,17 @@ riverbankcms navigation upsert main --file ./main-nav.json
|
|
|
782
777
|
|
|
783
778
|
### navigation get
|
|
784
779
|
|
|
785
|
-
|
|
780
|
+
Read one fixed location.
|
|
786
781
|
|
|
787
782
|
```bash
|
|
788
|
-
riverbankcms navigation get <menu-name>
|
|
789
783
|
riverbankcms navigation get main
|
|
790
|
-
riverbankcms navigation get
|
|
784
|
+
riverbankcms navigation get footer --json
|
|
785
|
+
riverbankcms navigation get legal
|
|
791
786
|
```
|
|
792
787
|
|
|
793
788
|
### navigation list
|
|
794
789
|
|
|
795
|
-
List all
|
|
790
|
+
List all three locations, including those with no items.
|
|
796
791
|
|
|
797
792
|
```bash
|
|
798
793
|
riverbankcms navigation list
|
|
@@ -65,7 +65,8 @@ See `block-types.md` for the full list.
|
|
|
65
65
|
|
|
66
66
|
Menu structures for site navigation.
|
|
67
67
|
|
|
68
|
-
-
|
|
68
|
+
- Three independent fixed locations: `main`, `footer`, and `legal`
|
|
69
|
+
- Empty item lists clear a location; omitted locations are left unchanged
|
|
69
70
|
- Hierarchical items with labels, URLs, and children
|
|
70
71
|
|
|
71
72
|
**Local file structure:**
|
|
@@ -557,8 +558,7 @@ riverbankcms push --env=remote --yes
|
|
|
557
558
|
{
|
|
558
559
|
"menus": [
|
|
559
560
|
{
|
|
560
|
-
"
|
|
561
|
-
"name": "Main Navigation",
|
|
561
|
+
"location": "main",
|
|
562
562
|
"items": [
|
|
563
563
|
{ "label": "Home", "link": { "kind": "page", "identifier": "home" } },
|
|
564
564
|
{
|
|
@@ -582,8 +582,7 @@ riverbankcms push --env=remote --yes
|
|
|
582
582
|
]
|
|
583
583
|
},
|
|
584
584
|
{
|
|
585
|
-
"
|
|
586
|
-
"name": "Footer Navigation",
|
|
585
|
+
"location": "footer",
|
|
587
586
|
"items": [
|
|
588
587
|
{ "label": "Privacy", "link": { "kind": "url", "href": "/privacy" } },
|
|
589
588
|
{ "label": "Terms", "link": { "kind": "url", "href": "/terms" } }
|
|
@@ -30,7 +30,7 @@ import { blockOverrides } from '@/lib/block-overrides'
|
|
|
30
30
|
import { getRiverbankClient } from '@/lib/riverbank-client'
|
|
31
31
|
|
|
32
32
|
// Next.js route config values must remain statically analyzable literals.
|
|
33
|
-
export const revalidate =
|
|
33
|
+
export const revalidate = 60
|
|
34
34
|
export const dynamicParams = true
|
|
35
35
|
export const generateStaticParams = createGenerateStaticParams({
|
|
36
36
|
getClient: getRiverbankClient,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as classifySdkEventBookingOffer, i as classifySdkEventSchedule, r as sdkEventUpsertOptionalFieldSchemas } from "./sdk-event-upsert-
|
|
3
|
-
import {
|
|
2
|
+
import { a as classifySdkEventBookingOffer, i as classifySdkEventSchedule, r as sdkEventUpsertOptionalFieldSchemas } from "./sdk-event-upsert-CS9tY-KW.mjs";
|
|
3
|
+
import { l as EVENT_PRESET_VALUES } from "./src-DT7DBZtQ.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region ../blocks/src/lib/typeGuards.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { n as assertCompatibleSdkPeer } from "./sdk-peer-
|
|
2
|
+
import { n as assertCompatibleSdkPeer } from "./sdk-peer-BjTmH5Mt.mjs";
|
|
3
3
|
import { dirname, resolve } from "path";
|
|
4
4
|
import { createJiti } from "jiti";
|
|
5
5
|
import { existsSync } from "fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { Rt as err, dt as parseSiteId, zt as ok } from "./src-DT7DBZtQ.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";
|
|
@@ -561,7 +561,7 @@ import { dataLoaderOverrides } from '@/lib/data-loader-overrides.server';
|
|
|
561
561
|
${previewImports}
|
|
562
562
|
|
|
563
563
|
// Next.js route config values must remain statically analyzable literals.
|
|
564
|
-
export const revalidate =
|
|
564
|
+
export const revalidate = 60;
|
|
565
565
|
export const dynamicParams = true;
|
|
566
566
|
// Route discovery falls back to the homepage when the CMS is unavailable so
|
|
567
567
|
// the scaffold verification build does not require a live API. Add
|
|
@@ -2014,18 +2014,26 @@ function starterContentTemplates(config) {
|
|
|
2014
2014
|
status: "published",
|
|
2015
2015
|
blocks: []
|
|
2016
2016
|
}),
|
|
2017
|
-
jsonTemplate("content/navigation.json", { menus: [
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2017
|
+
jsonTemplate("content/navigation.json", { menus: [
|
|
2018
|
+
{
|
|
2019
|
+
location: "main",
|
|
2020
|
+
items: [{
|
|
2021
|
+
label: "Home",
|
|
2022
|
+
link: {
|
|
2023
|
+
kind: "page",
|
|
2024
|
+
identifier: "home"
|
|
2025
|
+
}
|
|
2026
|
+
}]
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
location: "footer",
|
|
2030
|
+
items: []
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
location: "legal",
|
|
2034
|
+
items: []
|
|
2035
|
+
}
|
|
2036
|
+
] }),
|
|
2029
2037
|
jsonTemplate("content/settings.json", {
|
|
2030
2038
|
homepageId: "home",
|
|
2031
2039
|
seoDefaults: {
|
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-DT7DBZtQ.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-DgjlCWxa.mjs";
|
|
4
4
|
|
|
5
5
|
export { deriveGeneratedPackageRanges, deriveScaffoldLocalManifest, deriveScaffoldPlan, findPackageManifestPath, loadGeneratedPackageRanges, preflightScaffoldPlan, preflightScaffoldTargets, prepareScaffoldExecution, writeScaffoldFiles };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { D as
|
|
2
|
+
import { D as parseFooterCompositionV1, E as footerNavigationLayouts, Rt as err, U as parseUtcIsoDateTimeString, b as stableJsonStringify, j as isPresent, k as isCanonicalRichTextDoc, l as EVENT_PRESET_VALUES, ot as assertNever, q as parseBookingTimeZone, s as resolveSiteVerticalBookingConfig, t as NAVIGATION_LOCATIONS, u as ORDINARY_EVENT_PRESET_VALUES, zt as ok } from "./src-DT7DBZtQ.mjs";
|
|
3
3
|
import "node:module";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
@@ -272,16 +272,6 @@ const eventRegistrationStatuses = ["confirmed"];
|
|
|
272
272
|
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region ../site-commands/src/commandDomain.ts
|
|
275
|
-
const navigationLocations = [
|
|
276
|
-
"main",
|
|
277
|
-
"header",
|
|
278
|
-
"footer"
|
|
279
|
-
];
|
|
280
|
-
const navigationMenuRoles = [
|
|
281
|
-
"primary",
|
|
282
|
-
"footer",
|
|
283
|
-
"legal-policy"
|
|
284
|
-
];
|
|
285
275
|
const offeringVisibilities = [
|
|
286
276
|
"draft",
|
|
287
277
|
"unlisted",
|
|
@@ -16160,6 +16150,46 @@ const defaultThemeTokens = {
|
|
|
16160
16150
|
"accent-900": "#7c2d12"
|
|
16161
16151
|
}
|
|
16162
16152
|
};
|
|
16153
|
+
/**
|
|
16154
|
+
* Project the expanded semantic palette into the token buckets consumed by
|
|
16155
|
+
* runtime transforms. Keep this mapping shared by full themes and the
|
|
16156
|
+
* tokens-only hosted-booking runtime so the two paths cannot drift.
|
|
16157
|
+
*/
|
|
16158
|
+
function buildThemeTokens(palette) {
|
|
16159
|
+
const tokens = cloneThemeTokens(defaultThemeTokens);
|
|
16160
|
+
const paletteStrings = {};
|
|
16161
|
+
for (const [key, value] of Object.entries(palette)) {
|
|
16162
|
+
if (typeof value === "string" && value.trim().length > 0) {
|
|
16163
|
+
paletteStrings[key] = value;
|
|
16164
|
+
}
|
|
16165
|
+
}
|
|
16166
|
+
tokens.palette = paletteStrings;
|
|
16167
|
+
const resolveColor = (...keys) => {
|
|
16168
|
+
for (const key of keys) {
|
|
16169
|
+
const value = paletteStrings[key];
|
|
16170
|
+
if (value) return value;
|
|
16171
|
+
}
|
|
16172
|
+
return undefined;
|
|
16173
|
+
};
|
|
16174
|
+
const assignColor = (token, ...keys) => {
|
|
16175
|
+
const value = resolveColor(...keys);
|
|
16176
|
+
if (value) tokens.color[token] = value;
|
|
16177
|
+
};
|
|
16178
|
+
assignColor("background/base", "background", "surface", "primary-50");
|
|
16179
|
+
assignColor("background/elevated", "surface", "background");
|
|
16180
|
+
assignColor("surface/base", "surface", "background");
|
|
16181
|
+
assignColor("surface/subtle", "neutral-100", "surface", "background");
|
|
16182
|
+
assignColor("surface/inverted", "neutral-900", "text", "primary-900");
|
|
16183
|
+
assignColor("content/primary", "text", "body", "neutral-900");
|
|
16184
|
+
assignColor("content/secondary", "mutedText", "secondary", "neutral-600");
|
|
16185
|
+
assignColor("accent/primary", "primary", "accent");
|
|
16186
|
+
assignColor("accent/secondary", "accent", "secondary", "primary-400");
|
|
16187
|
+
assignColor("border/base", "border", "neutral-300");
|
|
16188
|
+
return tokens;
|
|
16189
|
+
}
|
|
16190
|
+
function cloneThemeTokens(source) {
|
|
16191
|
+
return JSON.parse(JSON.stringify(source));
|
|
16192
|
+
}
|
|
16163
16193
|
|
|
16164
16194
|
//#endregion
|
|
16165
16195
|
//#region ../theme-core/src/site-styles/backgroundAppearance.ts
|
|
@@ -29768,12 +29798,9 @@ const upsertNavigationMenuCommandSchema = z.object({
|
|
|
29768
29798
|
type: z.literal("upsertNavigationMenu"),
|
|
29769
29799
|
ref: navigationRefSchema,
|
|
29770
29800
|
input: z.object({
|
|
29771
|
-
|
|
29772
|
-
name: z.string().min(1).optional(),
|
|
29773
|
-
location: z.enum(navigationLocations).optional(),
|
|
29774
|
-
role: z.enum(navigationMenuRoles).optional(),
|
|
29801
|
+
location: z.enum(NAVIGATION_LOCATIONS),
|
|
29775
29802
|
items: z.array(navigationItemSchema).readonly()
|
|
29776
|
-
}).strict()
|
|
29803
|
+
}).strict()
|
|
29777
29804
|
}).strict();
|
|
29778
29805
|
const formFieldSchema = z.object({
|
|
29779
29806
|
id: z.string().min(1),
|
|
@@ -32526,4 +32553,4 @@ function parseSdkEventRunUpsertInput(input, runIndex, options) {
|
|
|
32526
32553
|
}
|
|
32527
32554
|
|
|
32528
32555
|
//#endregion
|
|
32529
|
-
export {
|
|
32556
|
+
export { defineBlockDesignMetadata as $, surfaceForegroundDeclarations as $n, borderColorStyle as $t, defaultPaletteForSiteStyle as A, NAV_LINK_TEXT_SIZE_MAP as An, __toESM as Ar, themeSchema as At, parsePersistedHeaderLayoutId as B, ICON_SIZE_PX as Bn, BREAKPOINT_SM as Bt, retargetCompiledBoundaryRuntimeForContentAdjacency as C, getComponentShadowVar as Cn, createFormRef as Cr, themeButtonClassName as Ct, curatedSiteStyles as D, NAV_LINK_LETTER_SPACING_MAP as Dn, createVenueRef as Dr, generateShadowValue as Dt, concretePaletteToTheme as E, NAV_LINK_BORDER_RADIUS_MAP as En, createSiteCommandSiteRef as Er, formatButtonColourContractError as Et, findFooterLook as F, ACCORDION_OPEN_ACCENT_THICKNESS as Fn, generateMobileOverlayBackdropFilterFix as Ft, parseGradientPresetId as G, isOnColorBackgroundCandidateToken as Gn, MQ_SM_UP as Gt, gradientToCss as H, getDefaultCardVariants as Hn, MQ_LG_UP as Ht, guaranteedFallbackFooterLookId as I, ACCORDION_SPACING_MAP as In, getHeaderPaintTargets as It, backgroundAppearanceColorTokenNames as J, contrastRatio as Jn, isCssColorLiteral as Jt, findCuratedPalette as K, onColorTokenName as Kn, MQ_TABLET_ONLY as Kt, parsePersistedFooterLookId as L, ACCORDION_TRIGGER_FONT_SCALE as Ln, renderHeaderPaintTargetRules as Lt, headerLayoutChoicesForSiteStyle as M, INPUT_FONT_SIZE_MAP as Mn, boxBackgroundOverlaySchema as Mt, headerStyleChoicesForLayout as N, INPUT_SPACING_MAP as Nn, boxBackgroundSchema as Nt, defaultButtonStyleSelectionForSiteStyle as O, NAV_LINK_PADDING_MAP as On, refSlug as Or, expandPalette as Ot, compileTransitionRuntime as P, LABEL_FONT_SIZE_MAP as Pn, generateHeaderScrollTreatmentStyles as Pt, defaultThemeTokens as Q, DEFAULT_SURFACE_TEXT_COLOR as Qn, backgroundColorStyle as Qt, getHeaderLayout as R, ACCORDION_TRIGGER_LETTER_SPACING as Rn, BREAKPOINT_LG as Rt, eventBookingOfferIntentSchema as S, getComponentBorderWidthPx as Sn, createFooterRef as Sr, parseThemeButtonVariantId as St, readHeaderNavFontSizePreference as T, parseCustomCssRules as Tn, createPageRef as Tr, compileButtonColourStates as Tt, GRADIENT_PRESET_IDS as U, generateCardCss as Un, MQ_MD_DOWN as Ut, parsePersistedHeaderStyleId as V, generateCardCoreCss as Vn, BREAKPOINT_XL as Vt, getGradientPreset as W, resolveSurfaceForeground as Wn, MQ_SM_DOWN as Wt, parseBackgroundAppearanceColorToken as X, hexToRgb as Xn, resolveThemeColorReferenceValue as Xt, backgroundAppearanceQuickColorTokenNames as Y, featuresFromHex as Yn, resolveOnColorForThemeToken as Yt, buildThemeTokens as Z, oklchToHexGamut as Zn, resolveTokenOrCssColorValue as Zt, entryIdentifierForCommand as _, makeBoundaryId as _n, createBlocksRef as _r, resolveContextualButtonRole as _t, classifySdkEventBookingOffer as a, asAppearancePresetId as an, cardVariantRoleValues as ar, buttonStyleSelectionSchema as at, pagePathForCommand as b, tileTreatmentValues as bn, createEventCategoryRef as br, generateBaseInteractiveCSS as bt, stableStringify as c, assertNever$1 as cn, mediaIdentifierSchema as cr, PUBLIC_BUTTON_ROLES as ct, mapEventCommandContent as d, defineNoBlockDesignCapability as dn, persistableMediaSchema as dr, RESOLVED_BUTTON_DISABLED_DECLARATIONS as dt, cssVarValue as en, surfaceForegroundStyle as er, require_jsx_runtime as et, evaluateSiteCommandBatchExposure as f, eventListTreatmentValues as fn, VARIANT_ROLES as fr, resolvedButtonColourDeclarations as ft, blockOrderIdentifiersForCommand as g, introCompositionTreatmentValues as gn, createBlockRef as gr, deriveButtonSurfaceContext as gt, blockIdentifierForCommand as h, headingDecorationColorTokenValues as hn, parseBlockColorToken as hr, contextualButtonSurfaceStyles as ht, classifySdkEventSchedule as i, pageDesignEditorBackgroundOverrideOwner as in, cardRoleSchema as ir, findButtonStyleRecipe as it, getCuratedSiteStyle as j, FONT_WEIGHT_MAP$1 as jn, typographySchema as jt, defaultHeaderSelectionForSiteStyle as k, NAV_LINK_PADDING_X_MAP as kn, slugPart as kr, getTextColorForBackground as kt, createDryRunReport as l, defineBlockDesignCapability as ln, mediaSchema as lr, AFFORDANCE_SUPPRESS_CLASS as lt, getSiteCommandMetadata as m, featureCardCompositionTreatmentValues as mn, unsafeAsOpaqueButtonColourToken as mr, contextualButtonSurfaceResetStyles as mt, sdkEventOccurrenceInputSchema as n, rgbColorValue as nn, TokenResolver as nr, pickShadeTowardBackground as nt, venueManagementFields as o, asDesignBlockId as on, normalizeCardRole as or, createDefaultButtonStyleSelection as ot, evaluateSiteCommandExposure as p, eyebrowTreatmentValues as pn, buttonVariantIdSchema as pr, resolvedButtonFocusDeclarations as pt, boundaryRuntimeMetricsForTransition as q, ORDINARY_TEXT_MIN_CONTRAST_RATIO as qn, headerVariantValues as qt, sdkEventUpsertOptionalFieldSchemas as r, textColorStyle as rn, generateShadowValue$1 as rr, generateCssVars as rt, sortRecord as s, asSiteStyleId as sn, paletteSchema as sr, isButtonStyleId as st, classifySdkEventTiming as t, mergeStyles as tn, surfaceForegroundValue as tr, require_react as tt, parseAndPlanCommandBatchForTypes as u, defineFrameCapability as un, mediaTypeDiscriminants as ur, generateButtonCss as ut, pageIdentifierForBlockCommand as v, offeringsPreviewCompositionTreatmentValues as vn, createCommandRef as vr, generateDefaultButtonSystem as vt, mergeHeaderNavTypographyPreference as w, parseBlockCustomCssRules as wn, createNavigationRef as wr, parseThemeForPersistence as wt, hasConfiguredBookingVertical as x, visibleHeadingDecorationFamilyValues as xn, createEventSeriesRef as xr, generateInteractiveChildInheritanceCSS as xt, pageIdentifierForCommand as y, testimonialsCompositionTreatmentValues as yn, createContentEntryRef as yr, generateEffectsCSS as yt, getHeaderStyle as z, ICON_CONFIG as zn, BREAKPOINT_MD as zt };
|
|
@@ -3,8 +3,8 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
3
3
|
import { dirname, join, parse } from "node:path";
|
|
4
4
|
|
|
5
5
|
//#region package.json
|
|
6
|
-
var version = "0.
|
|
7
|
-
var peerDependencies = { "@riverbankcms/sdk": ">=0.
|
|
6
|
+
var version = "0.7.0";
|
|
7
|
+
var peerDependencies = { "@riverbankcms/sdk": ">=0.139.0 <1.0.0" };
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "riverbankcms",
|
|
10
10
|
version,
|
|
@@ -79,7 +79,7 @@ var package_default = {
|
|
|
79
79
|
//#endregion
|
|
80
80
|
//#region src/version.ts
|
|
81
81
|
/** The package manifest is the source-run fallback; builds inject this value. */
|
|
82
|
-
const CLI_VERSION = typeof "0.
|
|
82
|
+
const CLI_VERSION = typeof "0.7.0" === "string" ? "0.7.0" : version;
|
|
83
83
|
/**
|
|
84
84
|
* The CLI's SDK peer range is bundled from the CLI manifest alongside its
|
|
85
85
|
* version. Runtime config loading uses this value as the single compatibility
|