@yahoo/uds-create-cli 5.96.3 → 5.96.4
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 +274 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-create-cli",
|
|
3
|
-
"version": "5.96.
|
|
3
|
+
"version": "5.96.4",
|
|
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.96.
|
|
36
|
-
"@yahoo/uds-create-loader": "5.96.
|
|
37
|
-
"@yahoo/uds-create-types": "5.96.
|
|
38
|
-
"@yahoo/uds-create-utils": "5.96.
|
|
35
|
+
"@yahoo/uds-create-config": "5.96.4",
|
|
36
|
+
"@yahoo/uds-create-loader": "5.96.4",
|
|
37
|
+
"@yahoo/uds-create-types": "5.96.4",
|
|
38
|
+
"@yahoo/uds-create-utils": "5.96.4",
|
|
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": 20261112154943,
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@yahoo/uds-create-cli-darwin-arm64": "5.96.
|
|
58
|
-
"@yahoo/uds-create-cli-darwin-x64": "5.96.
|
|
59
|
-
"@yahoo/uds-create-cli-linux-arm64": "5.96.
|
|
60
|
-
"@yahoo/uds-create-cli-linux-x64": "5.96.
|
|
61
|
-
"@yahoo/uds-create-cli-linux-arm64-musl": "5.96.
|
|
62
|
-
"@yahoo/uds-create-cli-linux-x64-musl": "5.96.
|
|
57
|
+
"@yahoo/uds-create-cli-darwin-arm64": "5.96.4",
|
|
58
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.96.4",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.96.4",
|
|
60
|
+
"@yahoo/uds-create-cli-linux-x64": "5.96.4",
|
|
61
|
+
"@yahoo/uds-create-cli-linux-arm64-musl": "5.96.4",
|
|
62
|
+
"@yahoo/uds-create-cli-linux-x64-musl": "5.96.4"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -61135,11 +61135,11 @@ function foldObjects(members2) {
|
|
|
61135
61135
|
for (const key2 of object3.required ?? [])
|
|
61136
61136
|
required2.add(key2);
|
|
61137
61137
|
}
|
|
61138
|
-
const
|
|
61138
|
+
const folded2 = { type: "object", properties };
|
|
61139
61139
|
if (required2.size)
|
|
61140
|
-
|
|
61140
|
+
folded2.required = [...required2];
|
|
61141
61141
|
if (objects.every((object3) => object3.additionalProperties === false)) {
|
|
61142
|
-
|
|
61142
|
+
folded2.additionalProperties = false;
|
|
61143
61143
|
} else {
|
|
61144
61144
|
const constraints = [];
|
|
61145
61145
|
for (const object3 of objects) {
|
|
@@ -61148,11 +61148,11 @@ function foldObjects(members2) {
|
|
|
61148
61148
|
constraints.push(constraint);
|
|
61149
61149
|
}
|
|
61150
61150
|
if (constraints.length === 1)
|
|
61151
|
-
|
|
61151
|
+
folded2.additionalProperties = constraints[0];
|
|
61152
61152
|
else if (constraints.length > 1)
|
|
61153
|
-
|
|
61153
|
+
folded2.additionalProperties = { allOf: constraints };
|
|
61154
61154
|
}
|
|
61155
|
-
return
|
|
61155
|
+
return folded2;
|
|
61156
61156
|
}
|
|
61157
61157
|
function foldIntersection(json2) {
|
|
61158
61158
|
const allOf = json2.allOf;
|
|
@@ -61162,9 +61162,9 @@ function foldIntersection(json2) {
|
|
|
61162
61162
|
if (key2 in json2)
|
|
61163
61163
|
return;
|
|
61164
61164
|
const unions = allOf.filter((m) => UNION_KEYS.some((k) => Array.isArray(m[k])));
|
|
61165
|
-
let
|
|
61165
|
+
let folded2 = null;
|
|
61166
61166
|
if (!unions.length) {
|
|
61167
|
-
|
|
61167
|
+
folded2 = foldObjects(allOf);
|
|
61168
61168
|
} else {
|
|
61169
61169
|
const union2 = unions[0];
|
|
61170
61170
|
const keyword = UNION_KEYS.find((k) => Array.isArray(union2[k]));
|
|
@@ -61174,12 +61174,12 @@ function foldIntersection(json2) {
|
|
|
61174
61174
|
const branches = union2[keyword].map((branch) => foldObjects([...rest, branch]));
|
|
61175
61175
|
if (branches.some((b) => !b))
|
|
61176
61176
|
return;
|
|
61177
|
-
|
|
61177
|
+
folded2 = { [keyword]: branches };
|
|
61178
61178
|
}
|
|
61179
|
-
if (!
|
|
61179
|
+
if (!folded2)
|
|
61180
61180
|
return;
|
|
61181
61181
|
delete json2.allOf;
|
|
61182
|
-
assignProps(json2,
|
|
61182
|
+
assignProps(json2, folded2);
|
|
61183
61183
|
}
|
|
61184
61184
|
function finalize(ctx, schema) {
|
|
61185
61185
|
const root = ctx.seen.get(schema);
|
|
@@ -83913,6 +83913,260 @@ var vocabularyToken = createSliceMemo({
|
|
|
83913
83913
|
compute: (_config) => ({})
|
|
83914
83914
|
});
|
|
83915
83915
|
|
|
83916
|
+
// ../config/dist/framework/dom-attributes.js
|
|
83917
|
+
var GLOBAL = /* @__PURE__ */ new Set([
|
|
83918
|
+
"as",
|
|
83919
|
+
"children",
|
|
83920
|
+
"className",
|
|
83921
|
+
"dangerouslySetInnerHTML",
|
|
83922
|
+
"defaultChecked",
|
|
83923
|
+
"defaultValue",
|
|
83924
|
+
"key",
|
|
83925
|
+
"ref",
|
|
83926
|
+
"style",
|
|
83927
|
+
"suppressContentEditableWarning",
|
|
83928
|
+
"suppressHydrationWarning",
|
|
83929
|
+
"accessKey",
|
|
83930
|
+
"autoCapitalize",
|
|
83931
|
+
"autoFocus",
|
|
83932
|
+
"contentEditable",
|
|
83933
|
+
"dir",
|
|
83934
|
+
"draggable",
|
|
83935
|
+
"enterKeyHint",
|
|
83936
|
+
"hidden",
|
|
83937
|
+
"id",
|
|
83938
|
+
"inert",
|
|
83939
|
+
"inputMode",
|
|
83940
|
+
"is",
|
|
83941
|
+
"itemID",
|
|
83942
|
+
"itemProp",
|
|
83943
|
+
"itemRef",
|
|
83944
|
+
"itemScope",
|
|
83945
|
+
"itemType",
|
|
83946
|
+
"lang",
|
|
83947
|
+
"nonce",
|
|
83948
|
+
"popover",
|
|
83949
|
+
"popoverTarget",
|
|
83950
|
+
"popoverTargetAction",
|
|
83951
|
+
"role",
|
|
83952
|
+
"slot",
|
|
83953
|
+
"spellCheck",
|
|
83954
|
+
"tabIndex",
|
|
83955
|
+
"title",
|
|
83956
|
+
"translate",
|
|
83957
|
+
"abbr",
|
|
83958
|
+
"accept",
|
|
83959
|
+
"acceptCharset",
|
|
83960
|
+
"action",
|
|
83961
|
+
"allow",
|
|
83962
|
+
"allowFullScreen",
|
|
83963
|
+
"alt",
|
|
83964
|
+
"async",
|
|
83965
|
+
"autoComplete",
|
|
83966
|
+
"autoPlay",
|
|
83967
|
+
"capture",
|
|
83968
|
+
"charSet",
|
|
83969
|
+
"checked",
|
|
83970
|
+
"cite",
|
|
83971
|
+
"colSpan",
|
|
83972
|
+
"cols",
|
|
83973
|
+
"content",
|
|
83974
|
+
"controls",
|
|
83975
|
+
"coords",
|
|
83976
|
+
"crossOrigin",
|
|
83977
|
+
"data",
|
|
83978
|
+
"dateTime",
|
|
83979
|
+
"decoding",
|
|
83980
|
+
"default",
|
|
83981
|
+
"defer",
|
|
83982
|
+
"disabled",
|
|
83983
|
+
"download",
|
|
83984
|
+
"encType",
|
|
83985
|
+
"fetchPriority",
|
|
83986
|
+
"form",
|
|
83987
|
+
"formAction",
|
|
83988
|
+
"formEncType",
|
|
83989
|
+
"formMethod",
|
|
83990
|
+
"formNoValidate",
|
|
83991
|
+
"formTarget",
|
|
83992
|
+
"headers",
|
|
83993
|
+
"high",
|
|
83994
|
+
"href",
|
|
83995
|
+
"hrefLang",
|
|
83996
|
+
"htmlFor",
|
|
83997
|
+
"httpEquiv",
|
|
83998
|
+
"integrity",
|
|
83999
|
+
"kind",
|
|
84000
|
+
"label",
|
|
84001
|
+
"list",
|
|
84002
|
+
"loading",
|
|
84003
|
+
"loop",
|
|
84004
|
+
"low",
|
|
84005
|
+
"max",
|
|
84006
|
+
"maxLength",
|
|
84007
|
+
"media",
|
|
84008
|
+
"method",
|
|
84009
|
+
"min",
|
|
84010
|
+
"minLength",
|
|
84011
|
+
"multiple",
|
|
84012
|
+
"muted",
|
|
84013
|
+
"name",
|
|
84014
|
+
"noValidate",
|
|
84015
|
+
"open",
|
|
84016
|
+
"optimum",
|
|
84017
|
+
"pattern",
|
|
84018
|
+
"ping",
|
|
84019
|
+
"placeholder",
|
|
84020
|
+
"playsInline",
|
|
84021
|
+
"poster",
|
|
84022
|
+
"preload",
|
|
84023
|
+
"readOnly",
|
|
84024
|
+
"referrerPolicy",
|
|
84025
|
+
"rel",
|
|
84026
|
+
"required",
|
|
84027
|
+
"reversed",
|
|
84028
|
+
"rowSpan",
|
|
84029
|
+
"rows",
|
|
84030
|
+
"sandbox",
|
|
84031
|
+
"scope",
|
|
84032
|
+
"selected",
|
|
84033
|
+
"shape",
|
|
84034
|
+
"size",
|
|
84035
|
+
"sizes",
|
|
84036
|
+
"span",
|
|
84037
|
+
"src",
|
|
84038
|
+
"srcDoc",
|
|
84039
|
+
"srcLang",
|
|
84040
|
+
"srcSet",
|
|
84041
|
+
"start",
|
|
84042
|
+
"step",
|
|
84043
|
+
"target",
|
|
84044
|
+
"type",
|
|
84045
|
+
"useMap",
|
|
84046
|
+
"value",
|
|
84047
|
+
"wrap"
|
|
84048
|
+
]);
|
|
84049
|
+
var SIZED = /* @__PURE__ */ new Set([
|
|
84050
|
+
"canvas",
|
|
84051
|
+
"embed",
|
|
84052
|
+
"foreignObject",
|
|
84053
|
+
"iframe",
|
|
84054
|
+
"image",
|
|
84055
|
+
"img",
|
|
84056
|
+
"input",
|
|
84057
|
+
"mask",
|
|
84058
|
+
"object",
|
|
84059
|
+
"pattern",
|
|
84060
|
+
"rect",
|
|
84061
|
+
"source",
|
|
84062
|
+
"svg",
|
|
84063
|
+
"use",
|
|
84064
|
+
"video"
|
|
84065
|
+
]);
|
|
84066
|
+
var SVG_ELEMENTS = /* @__PURE__ */ new Set([
|
|
84067
|
+
"circle",
|
|
84068
|
+
"clipPath",
|
|
84069
|
+
"defs",
|
|
84070
|
+
"ellipse",
|
|
84071
|
+
"foreignObject",
|
|
84072
|
+
"g",
|
|
84073
|
+
"image",
|
|
84074
|
+
"line",
|
|
84075
|
+
"linearGradient",
|
|
84076
|
+
"marker",
|
|
84077
|
+
"mask",
|
|
84078
|
+
"path",
|
|
84079
|
+
"pattern",
|
|
84080
|
+
"polygon",
|
|
84081
|
+
"polyline",
|
|
84082
|
+
"radialGradient",
|
|
84083
|
+
"rect",
|
|
84084
|
+
"stop",
|
|
84085
|
+
"svg",
|
|
84086
|
+
"symbol",
|
|
84087
|
+
"text",
|
|
84088
|
+
"textPath",
|
|
84089
|
+
"tspan",
|
|
84090
|
+
"use"
|
|
84091
|
+
]);
|
|
84092
|
+
var SVG_ATTRIBUTES = /* @__PURE__ */ new Set([
|
|
84093
|
+
"clipPath",
|
|
84094
|
+
"clipPathUnits",
|
|
84095
|
+
"clipRule",
|
|
84096
|
+
"color",
|
|
84097
|
+
"cx",
|
|
84098
|
+
"cy",
|
|
84099
|
+
"d",
|
|
84100
|
+
"display",
|
|
84101
|
+
"dominantBaseline",
|
|
84102
|
+
"dx",
|
|
84103
|
+
"dy",
|
|
84104
|
+
"fill",
|
|
84105
|
+
"fillOpacity",
|
|
84106
|
+
"fillRule",
|
|
84107
|
+
"filter",
|
|
84108
|
+
"focusable",
|
|
84109
|
+
"fontFamily",
|
|
84110
|
+
"fontSize",
|
|
84111
|
+
"fontWeight",
|
|
84112
|
+
"fx",
|
|
84113
|
+
"fy",
|
|
84114
|
+
"gradientTransform",
|
|
84115
|
+
"gradientUnits",
|
|
84116
|
+
"markerEnd",
|
|
84117
|
+
"markerMid",
|
|
84118
|
+
"markerStart",
|
|
84119
|
+
"mask",
|
|
84120
|
+
"maskContentUnits",
|
|
84121
|
+
"maskUnits",
|
|
84122
|
+
"offset",
|
|
84123
|
+
"opacity",
|
|
84124
|
+
"overflow",
|
|
84125
|
+
"pathLength",
|
|
84126
|
+
"patternContentUnits",
|
|
84127
|
+
"patternTransform",
|
|
84128
|
+
"patternUnits",
|
|
84129
|
+
"points",
|
|
84130
|
+
"preserveAspectRatio",
|
|
84131
|
+
"r",
|
|
84132
|
+
"rx",
|
|
84133
|
+
"ry",
|
|
84134
|
+
"shapeRendering",
|
|
84135
|
+
"stopColor",
|
|
84136
|
+
"stopOpacity",
|
|
84137
|
+
"stroke",
|
|
84138
|
+
"strokeDasharray",
|
|
84139
|
+
"strokeDashoffset",
|
|
84140
|
+
"strokeLinecap",
|
|
84141
|
+
"strokeLinejoin",
|
|
84142
|
+
"strokeMiterlimit",
|
|
84143
|
+
"strokeOpacity",
|
|
84144
|
+
"strokeWidth",
|
|
84145
|
+
"textAnchor",
|
|
84146
|
+
"transform",
|
|
84147
|
+
"transformOrigin",
|
|
84148
|
+
"vectorEffect",
|
|
84149
|
+
"version",
|
|
84150
|
+
"viewBox",
|
|
84151
|
+
"visibility",
|
|
84152
|
+
"x",
|
|
84153
|
+
"x1",
|
|
84154
|
+
"x2",
|
|
84155
|
+
"xlinkHref",
|
|
84156
|
+
"xmlns",
|
|
84157
|
+
"xmlnsXlink",
|
|
84158
|
+
"y",
|
|
84159
|
+
"y1",
|
|
84160
|
+
"y2"
|
|
84161
|
+
]);
|
|
84162
|
+
function folded(name) {
|
|
84163
|
+
return name.replace(/[-:]/g, "").toLowerCase();
|
|
84164
|
+
}
|
|
84165
|
+
var FOLDED_GLOBAL = new Set([...GLOBAL].map(folded));
|
|
84166
|
+
var FOLDED_SIZED = new Set([...SIZED].map(folded));
|
|
84167
|
+
var FOLDED_SVG_ELEMENTS = new Set([...SVG_ELEMENTS].map(folded));
|
|
84168
|
+
var FOLDED_SVG_ATTRIBUTES = new Set([...SVG_ATTRIBUTES].map(folded));
|
|
84169
|
+
|
|
83916
84170
|
// ../config/dist/framework/render-spec.js
|
|
83917
84171
|
var refOf = (value) => typeof value?.__ref === "string" ? value.__ref : void 0;
|
|
83918
84172
|
var slotAnatomyPropOf = (node2) => {
|
|
@@ -90801,8 +91055,8 @@ var Converter = class {
|
|
|
90801
91055
|
else {
|
|
90802
91056
|
const before5 = out.length;
|
|
90803
91057
|
walk(child, false);
|
|
90804
|
-
const
|
|
90805
|
-
out.splice(before5, out.length - before5, ...
|
|
91058
|
+
const folded2 = this.pinFolded(child, out.slice(before5));
|
|
91059
|
+
out.splice(before5, out.length - before5, ...folded2);
|
|
90806
91060
|
}
|
|
90807
91061
|
}
|
|
90808
91062
|
};
|
|
@@ -92707,19 +92961,19 @@ function refuseBoth({ retired, current }) {
|
|
|
92707
92961
|
rejectData(`\`${current}\` and \`${retired}\` are one value, so they can't both be set. \`${retired}\` is the deprecated spelling.`, current.split("."));
|
|
92708
92962
|
}
|
|
92709
92963
|
function foldRetiredFields({ body, retired }) {
|
|
92710
|
-
let
|
|
92964
|
+
let folded2 = body;
|
|
92711
92965
|
for (const [old, current] of Object.entries(retired)) {
|
|
92712
92966
|
const from = old.split(".");
|
|
92713
|
-
const value = valueAt3(
|
|
92967
|
+
const value = valueAt3(folded2, from);
|
|
92714
92968
|
if (value === void 0 || value === null) continue;
|
|
92715
92969
|
const to = current.split(".");
|
|
92716
|
-
if (valueAt3(
|
|
92970
|
+
if (valueAt3(folded2, to) !== void 0) refuseBoth({
|
|
92717
92971
|
retired: old,
|
|
92718
92972
|
current
|
|
92719
92973
|
});
|
|
92720
|
-
|
|
92974
|
+
folded2 = setAtPath(without(folded2, from), to, value);
|
|
92721
92975
|
}
|
|
92722
|
-
return
|
|
92976
|
+
return folded2;
|
|
92723
92977
|
}
|
|
92724
92978
|
function deltaUnderCurrentFields({ delta, retired }) {
|
|
92725
92979
|
const renamed = (key2) => {
|
|
@@ -106198,7 +106452,7 @@ var componentStatesMigration = {
|
|
|
106198
106452
|
const components = isPlainObject2(items?.component) ? items.component : void 0;
|
|
106199
106453
|
if (!items || !components) return json2;
|
|
106200
106454
|
let changed = false;
|
|
106201
|
-
const
|
|
106455
|
+
const folded2 = Object.fromEntries(Object.entries(components).map(([path2, body]) => {
|
|
106202
106456
|
const next = isPlainObject2(body) ? foldedStates(body) : body;
|
|
106203
106457
|
if (next !== body) changed = true;
|
|
106204
106458
|
return [path2, next];
|
|
@@ -106207,7 +106461,7 @@ var componentStatesMigration = {
|
|
|
106207
106461
|
...json2,
|
|
106208
106462
|
items: {
|
|
106209
106463
|
...items,
|
|
106210
|
-
component:
|
|
106464
|
+
component: folded2
|
|
106211
106465
|
}
|
|
106212
106466
|
} : json2;
|
|
106213
106467
|
}
|