@diagonal-hq/cli 0.42.18 → 0.42.20
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/README.md +1 -1
- package/dist/check-data.json +1 -1
- package/dist/{cli-check-data-R4UXA3WH.mjs → cli-check-data-HURPYIZA.mjs} +4 -4
- package/dist/{cli-chunk-AQ7QT67Z.mjs → cli-chunk-F7F5XTO6.mjs} +1 -1
- package/dist/{cli-chunk-RNGY5MCU.mjs → cli-chunk-PTWPTBJL.mjs} +1 -1
- package/dist/{cli-chunk-QONY26SY.mjs → cli-chunk-QDNFACNZ.mjs} +1 -0
- package/dist/{cli-workflows-5IMXLJMI.mjs → cli-workflows-FIZDOSKK.mjs} +2 -2
- package/dist/cli.mjs +69 -15
- package/dist/sdk-contract.d.ts +1 -0
- package/dist/system-authorization.generated.d.ts +1 -0
- package/dist/system-authorization.generated.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -218,7 +218,7 @@ The build reports each of these errors at `file:line:column`:
|
|
|
218
218
|
|
|
219
219
|
`diagonal check --fix` rewrites `params` and the flat options to `bindings` and `seo` in place. It changes only the options object, and the rest of the file stays byte-identical. It writes in the same pass as a missing `uid`. Without `--fix`, `diagonal check` only warns. A resolver object of another type in a flat option stays in place, and the build reports an error at that option. A `text.template` or `page.binding` resolver in a flat option also stays, with the other flat options of the page, and the build warns at it. Write it as a seo function. The page builder's **Save** writes the new shape too.
|
|
220
220
|
|
|
221
|
-
The page builder
|
|
221
|
+
The page builder edits each `seo` value as text or as a seo function. Text that starts with `({ bindings }) =>` is a function, and **Save** writes it into the page file. The social image also takes `Assets.<Name>.key`, and its button picks an Application Asset.
|
|
222
222
|
|
|
223
223
|
The change is forward-only. A file with `seo` needs a `@diagonal-hq/cli` version that has this option. An older version reports `Unknown page option "seo"`.
|
|
224
224
|
|