@yahoo/uds-create-cli 5.91.3 → 5.91.5

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.3",
3
+ "version": "5.91.5",
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.3",
36
- "@yahoo/uds-create-loader": "5.91.3",
37
- "@yahoo/uds-create-types": "5.91.3",
38
- "@yahoo/uds-create-utils": "5.91.3",
35
+ "@yahoo/uds-create-config": "5.91.5",
36
+ "@yahoo/uds-create-loader": "5.91.5",
37
+ "@yahoo/uds-create-types": "5.91.5",
38
+ "@yahoo/uds-create-utils": "5.91.5",
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": 20261109214535,
55
+ "udsSchemaVersion": 20261110145811,
56
56
  "optionalDependencies": {
57
- "@yahoo/uds-create-cli-darwin-arm64": "5.91.3",
58
- "@yahoo/uds-create-cli-darwin-x64": "5.91.3",
59
- "@yahoo/uds-create-cli-linux-arm64": "5.91.3",
60
- "@yahoo/uds-create-cli-linux-x64": "5.91.3",
61
- "@yahoo/uds-create-cli-linux-arm64-musl": "5.91.3",
62
- "@yahoo/uds-create-cli-linux-x64-musl": "5.91.3"
57
+ "@yahoo/uds-create-cli-darwin-arm64": "5.91.5",
58
+ "@yahoo/uds-create-cli-darwin-x64": "5.91.5",
59
+ "@yahoo/uds-create-cli-linux-arm64": "5.91.5",
60
+ "@yahoo/uds-create-cli-linux-x64": "5.91.5",
61
+ "@yahoo/uds-create-cli-linux-arm64-musl": "5.91.5",
62
+ "@yahoo/uds-create-cli-linux-x64-musl": "5.91.5"
63
63
  }
64
64
  }
@@ -85952,10 +85952,17 @@ var indexCondition = external_exports.strictObject({
85952
85952
  ...comparisonOperands,
85953
85953
  not: external_exports.literal(true).optional()
85954
85954
  });
85955
+ var computedCondition = external_exports.strictObject({
85956
+ $computed: external_exports.string(),
85957
+ args: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
85958
+ ...comparisonOperands,
85959
+ not: external_exports.literal(true).optional()
85960
+ });
85955
85961
  var singleCondition = external_exports.union([
85956
85962
  stateCondition,
85957
85963
  itemCondition,
85958
- indexCondition
85964
+ indexCondition,
85965
+ computedCondition
85959
85966
  ]);
85960
85967
  var orCondition = external_exports.strictObject({ $or: external_exports.array(external_exports.union([singleCondition, external_exports.array(singleCondition)])) });
85961
85968
  var flatCondition = external_exports.record(external_exports.string(), external_exports.union([
@@ -85989,7 +85996,7 @@ var visibility = external_exports.union([
85989
85996
  external_exports.array(external_exports.union([singleCondition, orCondition])),
85990
85997
  external_exports.literal(false),
85991
85998
  flatCondition
85992
- ], { error: 'a condition is `{ "$state": "<prop>" }` for a prop that is set, `{ "$state": "<prop>", "eq": "<value>" }` for one value of it (`neq`, `gt`, `gte`, `lt`, `lte` and `not: true` also work), `{ "$or": [ \u2026 ] }` for any of several, a list of conditions that must all hold, or `false` for a position only an interaction shows' });
85999
+ ], { error: 'a condition is `{ "$state": "<prop>" }` for a prop that is set, `{ "$state": "<prop>", "eq": "<value>" }` for one value of it (`neq`, `gt`, `gte`, `lt`, `lte` and `not: true` also work), `{ "$computed": "<function ref>", "args": { \u2026 } }` for a value a function computes, `{ "$or": [ \u2026 ] }` for any of several, a list of conditions that must all hold, or `false` for a position only an interaction shows' });
85993
86000
  var stateAction = external_exports.strictObject({
85994
86001
  action: external_exports.literal("setState"),
85995
86002
  params: external_exports.strictObject({
@@ -91033,7 +91040,7 @@ var Entity = class {
91033
91040
  };
91034
91041
 
91035
91042
  // ../config/dist/framework/schema-version.js
91036
- var CURRENT_SCHEMA_VERSION = 20261109214535;
91043
+ var CURRENT_SCHEMA_VERSION = 20261110145811;
91037
91044
  var SETTINGS_AS_KIND_VERSION = 20260908171448;
91038
91045
  var SchemaVersionTooNew = class extends ConfigFormatError {
91039
91046
  found;
@@ -91053,7 +91060,7 @@ function registerSchemaMigrations(...migrations) {
91053
91060
  for (const migration of migrations) {
91054
91061
  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.`);
91055
91062
  if (REGISTERED.has(migration.version)) throw new Error(`A schema migration at version ${migration.version} is already registered.`);
91056
- if (migration.version > 20261109214535) 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.`);
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.`);
91057
91064
  REGISTERED.set(migration.version, migration);
91058
91065
  }
91059
91066
  }
@@ -91084,7 +91091,7 @@ function pendingFor(version2, target2, options) {
91084
91091
  return [...(options?.migrations ?? REGISTERED).values()].filter((m) => m.version > version2 && m.version <= target2).sort((a, b) => a.version - b.version);
91085
91092
  }
91086
91093
  function upgradeSerializedConfig(json2, options) {
91087
- const target2 = options?.target ?? 20261109214535;
91094
+ const target2 = options?.target ?? 20261110145811;
91088
91095
  const version2 = detectedWireVersion(json2);
91089
91096
  if (version2 > target2) throw new SchemaVersionTooNew(version2, target2);
91090
91097
  const raw = json2;
@@ -98278,7 +98285,7 @@ var Config = class Config2 {
98278
98285
  * links from the provided sources. A declared `linkedKind` with no provided source throws. */
98279
98286
  hydrateFrom(stored, options) {
98280
98287
  const claimed = schemaVersionOf(stored);
98281
- if (claimed > 20261109214535) throw new SchemaVersionTooNew(claimed);
98288
+ if (claimed > 20261110145811) throw new SchemaVersionTooNew(claimed);
98282
98289
  const wire = upgradeSerializedConfig(stored);
98283
98290
  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.`);
98284
98291
  const leftover = wire.options;
@@ -102063,6 +102070,15 @@ var anatomyNodeOverridesMigration = {
102063
102070
  }
102064
102071
  };
102065
102072
 
102073
+ // ../config/dist/migrations/20261110145811_computed_visibility.js
102074
+ var COMPUTED_VISIBILITY_VERSION = 20261110145811;
102075
+ var computedVisibilityMigration = {
102076
+ version: COMPUTED_VISIBILITY_VERSION,
102077
+ up(json2) {
102078
+ return json2;
102079
+ }
102080
+ };
102081
+
102066
102082
  // ../../node_modules/css-tree/lib/generator/sourceMap.js
102067
102083
  var import_source_map_generator = __toESM(require_source_map_generator(), 1);
102068
102084
  var trackNodes = /* @__PURE__ */ new Set(["Atrule", "Selector", "Declaration"]);
@@ -104815,6 +104831,7 @@ if (!registeredSchemaMigrations().has(20261108042210)) registerSchemaMigrations(
104815
104831
  if (!registeredSchemaMigrations().has(20261109144822)) registerSchemaMigrations(lintRulesByGroupMigration);
104816
104832
  if (!registeredSchemaMigrations().has(20261109205852)) registerSchemaMigrations(stringPropUniqueIdsMigration);
104817
104833
  if (!registeredSchemaMigrations().has(20261109214535)) registerSchemaMigrations(anatomyNodeOverridesMigration);
104834
+ if (!registeredSchemaMigrations().has(20261110145811)) registerSchemaMigrations(computedVisibilityMigration);
104818
104835
 
104819
104836
  // ../config/dist/capture/node-ops.js
104820
104837
  var DEFAULT_WIDTH = 1600;