@vosjs/cli 0.65.4 → 0.66.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/cli.js CHANGED
@@ -856,7 +856,7 @@ async function cmdCheck(argv) {
856
856
  return result.ok ? EXIT_OK : EXIT_ERROR;
857
857
  }
858
858
  async function delegate(argv, viaAlias = false) {
859
- const { run } = await import("./run-J7CQANKJ.js");
859
+ const { run } = await import("./run-OY6B5AFZ.js");
860
860
  if (viaAlias && argv[0]) {
861
861
  process.stderr.write(
862
862
  `note: "vos voila ${argv[0]}" is now "vos ${argv[0]}".
@@ -896,7 +896,7 @@ async function main() {
896
896
  const engine = HELP_ENGINE.split("\n").filter(
897
897
  (l) => l.startsWith(` vos ${cmd} `)
898
898
  );
899
- const { verbHelp } = await import("./run-J7CQANKJ.js");
899
+ const { verbHelp } = await import("./run-OY6B5AFZ.js");
900
900
  const take = verbHelp(cmd);
901
901
  process.stdout.write(
902
902
  `${engine.join("\n")}
@@ -928,7 +928,7 @@ ${take.includes("no such verb") ? "" : take}`
928
928
  main().then(async (code) => {
929
929
  if (code === EXIT_OK) {
930
930
  const verb = process.argv[2] ?? "";
931
- const { HELP } = await import("./run-J7CQANKJ.js");
931
+ const { HELP } = await import("./run-OY6B5AFZ.js");
932
932
  const documented = [
933
933
  ...helpFlagsFor(HELP_ENGINE, verb),
934
934
  ...helpFlagsFor(HELP, verb)
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  startTakeServer,
15
15
  validateActions,
16
16
  waitForPageDone
17
- } from "./chunk-IDPTF5PP.js";
17
+ } from "./chunk-SFU4U3GM.js";
18
18
  import {
19
19
  BrowserUnavailableError,
20
20
  configDuration,
@@ -6,7 +6,7 @@ import {
6
6
  takeBackdrop,
7
7
  takeBrowserArgs,
8
8
  verbHelp
9
- } from "./chunk-IDPTF5PP.js";
9
+ } from "./chunk-SFU4U3GM.js";
10
10
  import "./chunk-TYGDQEEI.js";
11
11
  import "./chunk-63KINQOJ.js";
12
12
  import "./chunk-UQLC4BEZ.js";
@@ -19,4 +19,4 @@ export {
19
19
  takeBrowserArgs,
20
20
  verbHelp
21
21
  };
22
- //# sourceMappingURL=run-J7CQANKJ.js.map
22
+ //# sourceMappingURL=run-OY6B5AFZ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vosjs/cli",
3
- "version": "0.65.4",
3
+ "version": "0.66.0",
4
4
  "description": "The vos CLI: record the real product from a scripted browser flow, auto-zoom from the cursor track, cut as data in doc.json, render deterministic video and stills, deliver a release's media per destination spec, and sync with vos.so. One binary, every verb, MIT.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -54,9 +54,9 @@
54
54
  "@vosjs/core": "^0.27.1",
55
55
  "@vosjs/editor": "^1.4.0",
56
56
  "@vosjs/elements": "^0.10.3",
57
+ "@vosjs/render-core": "^0.3.21",
57
58
  "@vosjs/shared": "^0.7.0",
58
- "@vosjs/render-core": "^0.3.20",
59
- "@vosjs/studio-core": "^0.37.0",
59
+ "@vosjs/studio-core": "^0.38.0",
60
60
  "@vosjs/timeline": "^0.5.0",
61
61
  "@vosjs/tween": "^0.8.3"
62
62
  },
@@ -964,8 +964,44 @@
964
964
  "exclusiveMinimum": 0
965
965
  },
966
966
  "text": {
967
- "type": "string",
968
- "description": "content; \\n breaks lines. With `emphasis` set (OPT-IN; {} is enough), *words between asterisks* are set in the emphasis weight (a two-weight caption: light words with bold ones), a word-by-word reveal keeps each word in its own weight, \\* is a literal asterisk and a lone * stays as typed. Without `emphasis`, asterisks are text as typed"
967
+ "description": "the words; \\n breaks lines. A string, or a list of RUNS when parts of it are set differently: each run is a piece of text and the fields in which it departs from the layer's style. Example: [{ \"text\": \"Ship \" }, { \"text\": \"faster\", \"weight\": 700, \"underline\": true }]. There is no markup in the words: an asterisk is an asterisk. A run may hold \\n, a style may start and end anywhere, and a word-by-word reveal keeps every word in its own style",
968
+ "oneOf": [
969
+ { "type": "string" },
970
+ {
971
+ "type": "array",
972
+ "items": {
973
+ "type": "object",
974
+ "additionalProperties": false,
975
+ "required": ["text"],
976
+ "properties": {
977
+ "text": { "type": "string" },
978
+ "weight": {
979
+ "type": "number",
980
+ "minimum": 100,
981
+ "maximum": 900,
982
+ "description": "font weight of this run, snapped to what the layer's family hosts (700 is bold). A family with one weight paints it as the layer's own"
983
+ },
984
+ "italic": {
985
+ "type": "boolean",
986
+ "description": "italic on, or false for upright words on an italic layer"
987
+ },
988
+ "color": {
989
+ "type": "string",
990
+ "description": "fill colour of this run (absent = the layer's)"
991
+ },
992
+ "underline": { "type": "boolean" },
993
+ "strike": {
994
+ "type": "boolean",
995
+ "description": "strikethrough"
996
+ },
997
+ "highlight": {
998
+ "type": "string",
999
+ "description": "a colour behind this run"
1000
+ }
1001
+ }
1002
+ }
1003
+ }
1004
+ ]
969
1005
  },
970
1006
  "emphasis": {
971
1007
  "type": "object",
@@ -982,7 +1018,7 @@
982
1018
  "description": "the colour of *marked* words (absent = the clip's colour)"
983
1019
  }
984
1020
  },
985
- "description": "text kind: turns *markers* in text ON ({} is enough) and says how marked words are set. Absent = emphasis off: asterisks are text as typed"
1021
+ "description": "RETIRED: styled words are runs in `text` now. A layer that still carries this is read into runs (each *marked* word a run in this weight and colour); write runs instead"
986
1022
  },
987
1023
  "preset": {
988
1024
  "enum": ["title", "caption", "label"],