@yahoo/uds-create-cli 5.73.0 → 5.73.1
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 +11 -11
- package/subprocess/transform-runner.mjs +52 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-create-cli",
|
|
3
|
-
"version": "5.73.
|
|
3
|
+
"version": "5.73.1",
|
|
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.73.
|
|
36
|
-
"@yahoo/uds-create-loader": "5.73.
|
|
37
|
-
"@yahoo/uds-create-types": "5.73.
|
|
38
|
-
"@yahoo/uds-create-utils": "5.73.
|
|
35
|
+
"@yahoo/uds-create-config": "5.73.1",
|
|
36
|
+
"@yahoo/uds-create-loader": "5.73.1",
|
|
37
|
+
"@yahoo/uds-create-types": "5.73.1",
|
|
38
|
+
"@yahoo/uds-create-utils": "5.73.1",
|
|
39
39
|
"esbuild": "^0.27.4",
|
|
40
40
|
"ts-morph": "^27.0.2",
|
|
41
41
|
"get-tsconfig": "^4.10.0",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
},
|
|
55
55
|
"udsSchemaVersion": 20261102193912,
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@yahoo/uds-create-cli-darwin-arm64": "5.73.
|
|
58
|
-
"@yahoo/uds-create-cli-darwin-x64": "5.73.
|
|
59
|
-
"@yahoo/uds-create-cli-linux-arm64": "5.73.
|
|
60
|
-
"@yahoo/uds-create-cli-linux-x64": "5.73.
|
|
61
|
-
"@yahoo/uds-create-cli-linux-arm64-musl": "5.73.
|
|
62
|
-
"@yahoo/uds-create-cli-linux-x64-musl": "5.73.
|
|
57
|
+
"@yahoo/uds-create-cli-darwin-arm64": "5.73.1",
|
|
58
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.73.1",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.73.1",
|
|
60
|
+
"@yahoo/uds-create-cli-linux-x64": "5.73.1",
|
|
61
|
+
"@yahoo/uds-create-cli-linux-arm64-musl": "5.73.1",
|
|
62
|
+
"@yahoo/uds-create-cli-linux-x64-musl": "5.73.1"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -78709,6 +78709,15 @@ function linkedVarNaming(config2, slug2) {
|
|
|
78709
78709
|
return name;
|
|
78710
78710
|
};
|
|
78711
78711
|
}
|
|
78712
|
+
function linkedLocalRow({ config: config2, slug: slug2, kind, path: path2 }) {
|
|
78713
|
+
const drawn = linkedDraw({
|
|
78714
|
+
config: config2,
|
|
78715
|
+
slug: slug2,
|
|
78716
|
+
kind,
|
|
78717
|
+
path: path2
|
|
78718
|
+
});
|
|
78719
|
+
return "row" in drawn ? drawn.row : void 0;
|
|
78720
|
+
}
|
|
78712
78721
|
function linkedDraw({ config: config2, slug: slug2, kind, path: path2 }) {
|
|
78713
78722
|
const [head, ...rest] = sourceHops(slug2);
|
|
78714
78723
|
const via = head !== void 0 && rest.length > 0 && config2.sourceFor(head);
|
|
@@ -82190,12 +82199,16 @@ var compositePropsCache = createSliceMemo({
|
|
|
82190
82199
|
compute: (_config) => /* @__PURE__ */ new Map()
|
|
82191
82200
|
});
|
|
82192
82201
|
function stylePropClassBase(config2, path2) {
|
|
82202
|
+
const held = consumerRow(config2, path2);
|
|
82203
|
+
if (held) return stylePropClassBase(held.config, held.path);
|
|
82193
82204
|
const { classPrefix, opacityOf } = config2.resolve("style-property", path2)?.toJSON() ?? {};
|
|
82194
82205
|
if (classPrefix === void 0 && opacityOf) return `${stylePropClassBase(config2, pathOf2(opacityOf.__ref))}-opacity`;
|
|
82195
82206
|
const segment = classPrefix ?? path2;
|
|
82196
82207
|
return segment ? className(config2, "style-property", segment) : classPrefixOf(config2);
|
|
82197
82208
|
}
|
|
82198
82209
|
function stylePropClassName(config2, path2, leaf) {
|
|
82210
|
+
const held = consumerRow(config2, path2);
|
|
82211
|
+
if (held) return stylePropClassName(held.config, held.path, leaf);
|
|
82199
82212
|
const own2 = ownClassNames(config2, path2).get(leaf);
|
|
82200
82213
|
if (own2 !== void 0) return prefixed({
|
|
82201
82214
|
prefix: classPrefixOf(config2),
|
|
@@ -82206,6 +82219,20 @@ function stylePropClassName(config2, path2, leaf) {
|
|
|
82206
82219
|
if (!suffix) return base;
|
|
82207
82220
|
return base ? `${base}-${suffix}` : suffix;
|
|
82208
82221
|
}
|
|
82222
|
+
function consumerRow(config2, path2) {
|
|
82223
|
+
const view = moduleViewOf(config2);
|
|
82224
|
+
if (!view) return void 0;
|
|
82225
|
+
const row = linkedLocalRow({
|
|
82226
|
+
config: view.consumer,
|
|
82227
|
+
slug: view.slug,
|
|
82228
|
+
kind: "style-property",
|
|
82229
|
+
path: path2
|
|
82230
|
+
});
|
|
82231
|
+
return row === void 0 ? void 0 : {
|
|
82232
|
+
config: view.consumer,
|
|
82233
|
+
path: row
|
|
82234
|
+
};
|
|
82235
|
+
}
|
|
82209
82236
|
var ownClassNameCache = /* @__PURE__ */ new WeakMap();
|
|
82210
82237
|
function ownClassNames(config2, path2) {
|
|
82211
82238
|
const entries = stylePropEntries(config2, path2);
|
|
@@ -82218,6 +82245,13 @@ function ownClassNames(config2, path2) {
|
|
|
82218
82245
|
}
|
|
82219
82246
|
return own2;
|
|
82220
82247
|
}
|
|
82248
|
+
function stylePropOwnClasses(config2, path2) {
|
|
82249
|
+
const held = consumerRow(config2, path2);
|
|
82250
|
+
if (held) return stylePropOwnClasses(held.config, held.path);
|
|
82251
|
+
const out = /* @__PURE__ */ new Map();
|
|
82252
|
+
for (const leaf of ownClassNames(config2, path2).keys()) out.set(leaf, stylePropClassName(config2, path2, leaf));
|
|
82253
|
+
return out;
|
|
82254
|
+
}
|
|
82221
82255
|
function classLeaf(leaf) {
|
|
82222
82256
|
const spaced = leaf.replace(/\s+/g, "-");
|
|
82223
82257
|
return /^\d+\/\d+$/.test(spaced) ? spaced : spaced.replaceAll("/", "-");
|
|
@@ -97208,7 +97242,7 @@ var GuidanceStyle = defineEntity({
|
|
|
97208
97242
|
});
|
|
97209
97243
|
|
|
97210
97244
|
// ../config/dist/entities/system/component-module.js
|
|
97211
|
-
var COMPONENT_MODULE_BUILD_VERSION =
|
|
97245
|
+
var COMPONENT_MODULE_BUILD_VERSION = 10;
|
|
97212
97246
|
var WEB_RUNTIME_KINDS = [
|
|
97213
97247
|
"style-property",
|
|
97214
97248
|
"modifier",
|
|
@@ -97242,9 +97276,25 @@ function componentRuntimeKey(config2) {
|
|
|
97242
97276
|
name: config2.name,
|
|
97243
97277
|
settings: Settings.get(config2)?.toJSON(),
|
|
97244
97278
|
entities: componentRuntimeEntitiesKey(config2),
|
|
97245
|
-
inputDir: Settings.get(config2)?.inputDir
|
|
97279
|
+
inputDir: Settings.get(config2)?.inputDir,
|
|
97280
|
+
...viewClassNamesKey(config2)
|
|
97246
97281
|
});
|
|
97247
97282
|
}
|
|
97283
|
+
var viewClassNames = /* @__PURE__ */ new WeakMap();
|
|
97284
|
+
function viewClassNamesKey(config2) {
|
|
97285
|
+
if (!moduleViewOf(config2)) return {};
|
|
97286
|
+
let key2 = viewClassNames.get(config2);
|
|
97287
|
+
if (key2 === void 0) {
|
|
97288
|
+
const classNames = {};
|
|
97289
|
+
for (const prop of config2.list("style-property")) classNames[prop.path] = {
|
|
97290
|
+
base: stylePropClassBase(config2, prop.path),
|
|
97291
|
+
own: Object.fromEntries(stylePropOwnClasses(config2, prop.path))
|
|
97292
|
+
};
|
|
97293
|
+
key2 = contentKey(classNames);
|
|
97294
|
+
viewClassNames.set(config2, key2);
|
|
97295
|
+
}
|
|
97296
|
+
return { classNames: key2 };
|
|
97297
|
+
}
|
|
97248
97298
|
function componentsByFile(config2) {
|
|
97249
97299
|
const cached2 = componentsByFileCache.get(config2);
|
|
97250
97300
|
if (cached2) return cached2;
|