@yahoo/uds-create-cli 5.91.8 → 5.91.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yahoo/uds-create-cli",
3
- "version": "5.91.8",
3
+ "version": "5.91.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,10 +32,10 @@
32
32
  "@modelcontextprotocol/sdk": "^1.32.2",
33
33
  "@orpc/client": "^1.13.9",
34
34
  "@orpc/contract": "^1.13.9",
35
- "@yahoo/uds-create-config": "5.91.8",
36
- "@yahoo/uds-create-loader": "5.91.8",
37
- "@yahoo/uds-create-types": "5.91.8",
38
- "@yahoo/uds-create-utils": "5.91.8",
35
+ "@yahoo/uds-create-config": "5.91.9",
36
+ "@yahoo/uds-create-loader": "5.91.9",
37
+ "@yahoo/uds-create-types": "5.91.9",
38
+ "@yahoo/uds-create-utils": "5.91.9",
39
39
  "esbuild": "^0.27.4",
40
40
  "ts-morph": "^27.0.2",
41
41
  "get-tsconfig": "^4.10.0",
@@ -52,13 +52,13 @@
52
52
  "lodash": "^4.17.23",
53
53
  "prettier": "^3.8.1"
54
54
  },
55
- "udsSchemaVersion": 20261110145811,
55
+ "udsSchemaVersion": 20261110171151,
56
56
  "optionalDependencies": {
57
- "@yahoo/uds-create-cli-darwin-arm64": "5.91.8",
58
- "@yahoo/uds-create-cli-darwin-x64": "5.91.8",
59
- "@yahoo/uds-create-cli-linux-arm64": "5.91.8",
60
- "@yahoo/uds-create-cli-linux-x64": "5.91.8",
61
- "@yahoo/uds-create-cli-linux-arm64-musl": "5.91.8",
62
- "@yahoo/uds-create-cli-linux-x64-musl": "5.91.8"
57
+ "@yahoo/uds-create-cli-darwin-arm64": "5.91.9",
58
+ "@yahoo/uds-create-cli-darwin-x64": "5.91.9",
59
+ "@yahoo/uds-create-cli-linux-arm64": "5.91.9",
60
+ "@yahoo/uds-create-cli-linux-x64": "5.91.9",
61
+ "@yahoo/uds-create-cli-linux-arm64-musl": "5.91.9",
62
+ "@yahoo/uds-create-cli-linux-x64-musl": "5.91.9"
63
63
  }
64
64
  }
@@ -86189,6 +86189,7 @@ var AnatomyNode = defineSubEntity({
86189
86189
  values: anatomyPropValue
86190
86190
  }) : external_exports.record(external_exports.string(), anatomyPropValue)).optional().describe('Props passed to what the node renders, keyed by prop or style-property name, as literal values. Content is not set here: a `slot` prop\'s content lands where a `{ "element": "Slot", "props": { "name": "<prop>" } }` node sits among a parent\'s `children` (on the root when there is none), and a `forward` prop (`{ "type": "forward", "target": "label/children" }`) routes it into that layer with no node entry. `$state` belongs to `visible` and to an `element` a prop chooses.'),
86191
86191
  overrides: external_exports.array(external_exports.string()).optional().describe("Keys of `props` the render writes after the layer's spread, so they win over its style rules."),
86192
+ states: external_exports.record(external_exports.string(), anatomyPropValue).optional().describe("What the render's `states(\u2026)` call sets each state to, as a value over the props (`$item` on a repeated node). A state left out takes its rest value."),
86192
86193
  text: external_exports.string().optional().describe("Literal text content, for a node that renders a fixed string."),
86193
86194
  repeat: external_exports.strictObject({
86194
86195
  source: external_exports.unknown(),
@@ -91040,7 +91041,7 @@ var Entity = class {
91040
91041
  };
91041
91042
 
91042
91043
  // ../config/dist/framework/schema-version.js
91043
- var CURRENT_SCHEMA_VERSION = 20261110145811;
91044
+ var CURRENT_SCHEMA_VERSION = 20261110171151;
91044
91045
  var SETTINGS_AS_KIND_VERSION = 20260908171448;
91045
91046
  var SchemaVersionTooNew = class extends ConfigFormatError {
91046
91047
  found;
@@ -91060,7 +91061,7 @@ function registerSchemaMigrations(...migrations) {
91060
91061
  for (const migration of migrations) {
91061
91062
  if (migration.version !== 1 && !isMintTimestamp(migration.version)) throw new Error(`Schema migration version ${migration.version} is not a mint timestamp \u2014 mint one with \`date +%Y%m%d%H%M%S\`, like a supabase migration.`);
91062
91063
  if (REGISTERED.has(migration.version)) throw new Error(`A schema migration at version ${migration.version} is already registered.`);
91063
- if (migration.version > 20261110145811) throw new Error(`Schema migration ${migration.version} is newer than CURRENT_SCHEMA_VERSION (${CURRENT_SCHEMA_VERSION}) \u2014 a stale branch merged, or the mint forgot to bump the constant. Re-mint: set CURRENT_SCHEMA_VERSION to the newest migration version.`);
91064
+ if (migration.version > 20261110171151) throw new Error(`Schema migration ${migration.version} is newer than CURRENT_SCHEMA_VERSION (${CURRENT_SCHEMA_VERSION}) \u2014 a stale branch merged, or the mint forgot to bump the constant. Re-mint: set CURRENT_SCHEMA_VERSION to the newest migration version.`);
91064
91065
  REGISTERED.set(migration.version, migration);
91065
91066
  }
91066
91067
  }
@@ -91091,7 +91092,7 @@ function pendingFor(version2, target2, options) {
91091
91092
  return [...(options?.migrations ?? REGISTERED).values()].filter((m) => m.version > version2 && m.version <= target2).sort((a, b) => a.version - b.version);
91092
91093
  }
91093
91094
  function upgradeSerializedConfig(json2, options) {
91094
- const target2 = options?.target ?? 20261110145811;
91095
+ const target2 = options?.target ?? 20261110171151;
91095
91096
  const version2 = detectedWireVersion(json2);
91096
91097
  if (version2 > target2) throw new SchemaVersionTooNew(version2, target2);
91097
91098
  const raw = json2;
@@ -98285,7 +98286,7 @@ var Config = class Config2 {
98285
98286
  * links from the provided sources. A declared `linkedKind` with no provided source throws. */
98286
98287
  hydrateFrom(stored, options) {
98287
98288
  const claimed = schemaVersionOf(stored);
98288
- if (claimed > 20261110145811) throw new SchemaVersionTooNew(claimed);
98289
+ if (claimed > 20261110171151) throw new SchemaVersionTooNew(claimed);
98289
98290
  const wire = upgradeSerializedConfig(stored);
98290
98291
  if (!Array.isArray(wire.ownedKinds) || typeof wire.items !== "object" || wire.items === null) throw new ConfigFormatError(`Config "${stored.name ?? "system-config"}" cannot be hydrated: this is not a serialized config-v2 config (no "ownedKinds"/"items"). A pre-cutover build artifact converts through the registered cutover migration \u2014 import the config type's module (e.g. \`configs/system\`) before hydrating.`);
98291
98292
  const leftover = wire.options;
@@ -102079,6 +102080,15 @@ var computedVisibilityMigration = {
102079
102080
  }
102080
102081
  };
102081
102082
 
102083
+ // ../config/dist/migrations/20261110171151_anatomy_node_states.js
102084
+ var ANATOMY_NODE_STATES_VERSION = 20261110171151;
102085
+ var anatomyNodeStatesMigration = {
102086
+ version: ANATOMY_NODE_STATES_VERSION,
102087
+ up(json2) {
102088
+ return json2;
102089
+ }
102090
+ };
102091
+
102082
102092
  // ../../node_modules/css-tree/lib/generator/sourceMap.js
102083
102093
  var import_source_map_generator = __toESM(require_source_map_generator(), 1);
102084
102094
  var trackNodes = /* @__PURE__ */ new Set(["Atrule", "Selector", "Declaration"]);
@@ -104832,6 +104842,7 @@ if (!registeredSchemaMigrations().has(20261109144822)) registerSchemaMigrations(
104832
104842
  if (!registeredSchemaMigrations().has(20261109205852)) registerSchemaMigrations(stringPropUniqueIdsMigration);
104833
104843
  if (!registeredSchemaMigrations().has(20261109214535)) registerSchemaMigrations(anatomyNodeOverridesMigration);
104834
104844
  if (!registeredSchemaMigrations().has(20261110145811)) registerSchemaMigrations(computedVisibilityMigration);
104845
+ if (!registeredSchemaMigrations().has(20261110171151)) registerSchemaMigrations(anatomyNodeStatesMigration);
104835
104846
 
104836
104847
  // ../config/dist/capture/node-ops.js
104837
104848
  var DEFAULT_WIDTH = 1600;