riverbankcms 0.22.2 → 0.23.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 -3
- package/dist/cli/index.mjs +1842 -1205
- package/dist/cli/init-docs/content/cli-reference.md +2 -2
- package/dist/cli/init-docs/content/content-management.md +1 -1
- package/dist/cli/init-docs/content/workflow-custom-block.md +4 -4
- package/dist/cli/init-docs/content/workflow-publish.md +11 -5
- package/dist/{entryCommands-BGVgMNMw.mjs → entryCommands-BdN5YrqI.mjs} +242 -170
- package/dist/{eventUpsertInputSchema-CdX--hHz.mjs → eventUpsertInputSchema-kp-U13TZ.mjs} +70 -32
- package/dist/load-config-C7Rd822n.mjs +4 -0
- package/dist/{load-config-BV9Ig2CH.mjs → load-config-D5DDfmv1.mjs} +2 -2
- package/dist/{plan-CFMj_Hee.mjs → plan-6m8gsGI8.mjs} +1 -1
- package/dist/scaffold/index.mjs +2 -2
- package/dist/{sdk-event-upsert-zWw5VolM.mjs → sdk-event-upsert-BnBxyTR6.mjs} +486 -122
- package/dist/{src-ZACBG29u.mjs → src-BPh_OivC.mjs} +463 -85
- package/dist/testing.mjs +4 -4
- package/package.json +1 -1
- package/dist/load-config-JWz__Dkx.mjs +0 -4
|
@@ -457,7 +457,7 @@ export default defineConfig({
|
|
|
457
457
|
});
|
|
458
458
|
```
|
|
459
459
|
|
|
460
|
-
**
|
|
460
|
+
**Publication**: Page pushes save drafts, including block additions, deletions and order changes on already-published pages. A page file’s `status: "published"` never publishes pending work. Review the complete page draft, including dashboard changes, then use `riverbankcms page publish <identifier>` to publish all pending page content, structure, design and page details together. A local `status: "draft"` can still unpublish a published page. Content entries still take their draft or published status from your local files.
|
|
461
461
|
|
|
462
462
|
### settings booking configure
|
|
463
463
|
|
|
@@ -688,7 +688,7 @@ site style's defaults until a design is saved for it, for example with
|
|
|
688
688
|
|
|
689
689
|
### page publish
|
|
690
690
|
|
|
691
|
-
Publish
|
|
691
|
+
Publish the whole page draft, including all pending content, structure, design and page details. Review changes saved in the dashboard as well as the CLI before publishing.
|
|
692
692
|
|
|
693
693
|
```bash
|
|
694
694
|
riverbankcms page publish <identifier>
|
|
@@ -436,7 +436,7 @@ export default defineConfig({
|
|
|
436
436
|
| ----------------- | ---------------- | -------------------------------------------- |
|
|
437
437
|
| `existingEntries` | `skip`, `update` | Whether to update entries that already exist |
|
|
438
438
|
|
|
439
|
-
**
|
|
439
|
+
**Publication**: Page pushes save drafts, including block additions, deletions and order changes on already-published pages. A page file’s `status: "published"` never publishes pending work. Review the complete page draft, including dashboard changes, then use `riverbankcms page publish <identifier>` to publish all pending page content, structure, design and page details together. A local `status: "draft"` can still unpublish a published page. Content entries still take their draft or published status from your local files.
|
|
440
440
|
|
|
441
441
|
### Environment Cloning (Remote ↔ Local) Best Practices
|
|
442
442
|
|
|
@@ -54,9 +54,7 @@ export default defineConfig({
|
|
|
54
54
|
category: 'content',
|
|
55
55
|
icon: 'Workflow',
|
|
56
56
|
tags: ['process', 'steps', 'flow'],
|
|
57
|
-
|
|
58
|
-
quickFieldPriority: ['title', 'introText'],
|
|
59
|
-
},
|
|
57
|
+
promotedFields: ['title', 'introText'],
|
|
60
58
|
fields: [
|
|
61
59
|
{
|
|
62
60
|
id: 'title',
|
|
@@ -91,7 +89,9 @@ export default defineConfig({
|
|
|
91
89
|
});
|
|
92
90
|
```
|
|
93
91
|
|
|
94
|
-
`
|
|
92
|
+
`promotedFields` is optional. Promoted behaviour/data fields appear in “What it shows”, promoted appearance fields in “Look”, and content fields stay in “Text”. Remaining fields appear in “More settings”; there is no quick-field cap.
|
|
93
|
+
|
|
94
|
+
A custom block or built-in block extension can also declare `lookField` with the ID of one of its own existing single-select fields. Its options become labelled Look tiles. This remains an ordinary content field on every editing surface, including the dashboard; it does not use built-in Default or pin behaviour.
|
|
95
95
|
|
|
96
96
|
### Step 2: Choose Field Types
|
|
97
97
|
|
|
@@ -72,20 +72,24 @@ riverbankcms page list --json
|
|
|
72
72
|
|
|
73
73
|
To see everything with pending changes across all content types in one shot — correctly server-filtered, not capped by pagination — use `riverbankcms drafts` instead of scanning `entry list` page by page.
|
|
74
74
|
|
|
75
|
-
##
|
|
75
|
+
## Push and Publication
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
Page pushes save drafts. Adding, deleting or reordering blocks on an already-published page leaves the live page unchanged until you explicitly publish the whole page. A page file’s `status: "published"` does not publish it or any other pending page changes.
|
|
78
|
+
|
|
79
|
+
Review the complete draft, including changes saved in the dashboard, then run `riverbankcms page publish <identifier>`. Publication includes all pending page content, structure, design and page details.
|
|
80
|
+
|
|
81
|
+
Content entries still take their draft or published status from your local files.
|
|
78
82
|
|
|
79
83
|
### How Status Sync Works
|
|
80
84
|
|
|
81
|
-
|
|
85
|
+
For content entries, push compares the `status` field in your local files to the remote status:
|
|
82
86
|
- If local is "published" and remote is "draft" → push will **publish** the content
|
|
83
87
|
- If local is "draft" and remote is "published" → push will **unpublish** the content
|
|
84
88
|
- If statuses match → no status change
|
|
85
89
|
|
|
86
|
-
### Edit Local Files to Control Status
|
|
90
|
+
### Edit Local Entry Files to Control Status
|
|
87
91
|
|
|
88
|
-
In your local
|
|
92
|
+
In your local entry files, set the status field:
|
|
89
93
|
|
|
90
94
|
```json
|
|
91
95
|
{
|
|
@@ -101,6 +105,8 @@ Then push:
|
|
|
101
105
|
riverbankcms push
|
|
102
106
|
```
|
|
103
107
|
|
|
108
|
+
A page file with `status: "draft"` can still unpublish an already-published page. Use `riverbankcms page unpublish <identifier>` to do this explicitly.
|
|
109
|
+
|
|
104
110
|
### Push Then Publish Selectively
|
|
105
111
|
|
|
106
112
|
```bash
|