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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "../sdk-event-upsert-
|
|
3
|
-
import "../src-
|
|
4
|
-
import { t as eventUpsertInputSchema } from "../eventUpsertInputSchema-
|
|
2
|
+
import "../sdk-event-upsert-CS9tY-KW.mjs";
|
|
3
|
+
import "../src-DT7DBZtQ.mjs";
|
|
4
|
+
import { t as eventUpsertInputSchema } from "../eventUpsertInputSchema-CWglzaib.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/acceptance/matrix-builders.ts
|
|
7
7
|
const workflow = (scenario, stepId) => ({
|
|
@@ -228,40 +228,27 @@ const contentScenario = {
|
|
|
228
228
|
//#region src/acceptance/navigation-scenario.ts
|
|
229
229
|
const navigationScenario = {
|
|
230
230
|
id: "navigation-lifecycle",
|
|
231
|
-
steps: [
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
"
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
capture("upsert", "result", "name"),
|
|
253
|
-
"--env=local",
|
|
254
|
-
"--json"
|
|
255
|
-
]),
|
|
256
|
-
commandStep("delete", "navigation delete", [
|
|
257
|
-
"navigation",
|
|
258
|
-
"delete",
|
|
259
|
-
capture("upsert", "result", "id"),
|
|
260
|
-
"--yes",
|
|
261
|
-
"--env=local",
|
|
262
|
-
"--json"
|
|
263
|
-
])
|
|
264
|
-
]
|
|
231
|
+
steps: [commandStep("upsert", "navigation upsert", [
|
|
232
|
+
"navigation",
|
|
233
|
+
"upsert",
|
|
234
|
+
"main",
|
|
235
|
+
"--data",
|
|
236
|
+
JSON.stringify([{
|
|
237
|
+
label: "Acceptance link",
|
|
238
|
+
link: {
|
|
239
|
+
kind: "external",
|
|
240
|
+
href: "https://example.com/acceptance"
|
|
241
|
+
}
|
|
242
|
+
}]),
|
|
243
|
+
"--env=local",
|
|
244
|
+
"--json"
|
|
245
|
+
]), commandStep("get", "navigation get", [
|
|
246
|
+
"navigation",
|
|
247
|
+
"get",
|
|
248
|
+
capture("upsert", "result", "location"),
|
|
249
|
+
"--env=local",
|
|
250
|
+
"--json"
|
|
251
|
+
])]
|
|
265
252
|
};
|
|
266
253
|
|
|
267
254
|
//#endregion
|
|
@@ -830,7 +817,6 @@ const acceptanceTuples = [
|
|
|
830
817
|
])],
|
|
831
818
|
["block get", workflow(blockScenario, "get")],
|
|
832
819
|
["navigation upsert", workflow(navigationScenario, "upsert")],
|
|
833
|
-
["navigation delete", workflow(navigationScenario, "delete")],
|
|
834
820
|
["navigation get", workflow(navigationScenario, "get")],
|
|
835
821
|
["navigation list", scratchExecute([
|
|
836
822
|
"navigation",
|