@taprootio/site-authoring 0.4.0 → 0.5.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/package.json +2 -2
- package/src/constants.js +1 -1
- package/src/content/components.js +8 -5
- package/src/reference-help.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taprootio/site-authoring",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Taproot site authoring CLI: sign in once in the browser, then pull, validate, push, preview, approve, and deploy a site from the terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "ISC",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"README.md"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@taprootio/espalier": "4.
|
|
31
|
+
"@taprootio/espalier": "4.8.0"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"test": "node --test",
|
package/src/constants.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const CLI_NAME = "@taprootio/site-authoring";
|
|
2
|
-
export const CLI_VERSION = "0.
|
|
2
|
+
export const CLI_VERSION = "0.5.0";
|
|
3
3
|
export const CLI_BINARY_NAME = "taproot-site";
|
|
4
4
|
export const RESULT_SCHEMA_VERSION = 1;
|
|
5
5
|
export const CONFIG_FILE_NAME = "taproot-site.json";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// Espalier 4.
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
|
|
1
|
+
// Espalier 4.8.0 publishes the texture registry as a side-effect-free subpath
|
|
2
|
+
// (TR00630). Import it from there, never from `@taprootio/espalier/root`: that
|
|
3
|
+
// module registers `esp-root`, so a process already holding another Espalier
|
|
4
|
+
// copy — the generator's Playwright Node process, for one — cannot load this
|
|
5
|
+
// pipeline at all once a component module is in the graph.
|
|
6
|
+
import { BUILT_IN_IMAGE_TEXTURES } from "@taprootio/espalier/shared/image-texture-registry";
|
|
5
7
|
import { hasAsciiControl } from "../errors.js";
|
|
6
8
|
import {
|
|
7
9
|
CONTENT_ERROR_CODES as CODES,
|
|
@@ -195,7 +197,8 @@ const TESTIMONIAL = Object.freeze({
|
|
|
195
197
|
borderWidth: num({
|
|
196
198
|
integer: true,
|
|
197
199
|
minimum: 0,
|
|
198
|
-
description:
|
|
200
|
+
description:
|
|
201
|
+
"Pixel border around each quotation, as on a card grid; a carousel shows the visible slide's own box and is never framed. 0 boxes nothing.",
|
|
199
202
|
}),
|
|
200
203
|
});
|
|
201
204
|
|
package/src/reference-help.js
CHANGED
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
|
|
57
57
|
export { getAppearanceReference, getFooterReference, getThemeReference };
|
|
58
58
|
|
|
59
|
-
export const REFERENCE_VERSION =
|
|
59
|
+
export const REFERENCE_VERSION = 18;
|
|
60
60
|
export const PAGE_TYPES = Object.freeze(["free-form"]);
|
|
61
61
|
export const REFERENCE_TOPICS = Object.freeze([
|
|
62
62
|
Object.freeze({ name: "pages", usage: `${CLI_BINARY_NAME} help pages`, summary: "List authorable page types." }),
|