@yahoo/uds-create-cli 5.107.1 → 5.107.2
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 +7 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-create-cli",
|
|
3
|
-
"version": "5.107.
|
|
3
|
+
"version": "5.107.2",
|
|
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.107.
|
|
36
|
-
"@yahoo/uds-create-loader": "5.107.
|
|
37
|
-
"@yahoo/uds-create-types": "5.107.
|
|
38
|
-
"@yahoo/uds-create-utils": "5.107.
|
|
35
|
+
"@yahoo/uds-create-config": "5.107.2",
|
|
36
|
+
"@yahoo/uds-create-loader": "5.107.2",
|
|
37
|
+
"@yahoo/uds-create-types": "5.107.2",
|
|
38
|
+
"@yahoo/uds-create-utils": "5.107.2",
|
|
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": 20261113131930,
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@yahoo/uds-create-cli-darwin-arm64": "5.107.
|
|
58
|
-
"@yahoo/uds-create-cli-darwin-x64": "5.107.
|
|
59
|
-
"@yahoo/uds-create-cli-linux-arm64": "5.107.
|
|
60
|
-
"@yahoo/uds-create-cli-linux-x64": "5.107.
|
|
61
|
-
"@yahoo/uds-create-cli-linux-arm64-musl": "5.107.
|
|
62
|
-
"@yahoo/uds-create-cli-linux-x64-musl": "5.107.
|
|
57
|
+
"@yahoo/uds-create-cli-darwin-arm64": "5.107.2",
|
|
58
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.107.2",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.107.2",
|
|
60
|
+
"@yahoo/uds-create-cli-linux-x64": "5.107.2",
|
|
61
|
+
"@yahoo/uds-create-cli-linux-arm64-musl": "5.107.2",
|
|
62
|
+
"@yahoo/uds-create-cli-linux-x64-musl": "5.107.2"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -92295,7 +92295,11 @@ function placedTypeRef({ type, slug: slug2, system, field }) {
|
|
|
92295
92295
|
type,
|
|
92296
92296
|
slug: slug2
|
|
92297
92297
|
});
|
|
92298
|
-
|
|
92298
|
+
const path2 = pathOf2(placed);
|
|
92299
|
+
if (kindOf2(placed) === "component" && !system.resolve("component", path2)) {
|
|
92300
|
+
const matches = system.list("component").filter((entry) => entry.path.endsWith(`/${path2}`));
|
|
92301
|
+
return rejectData(`The system has no component "${path2}".${matches.length === 1 ? ` Did you mean "${matches[0].path}"?` : ""}`, field);
|
|
92302
|
+
}
|
|
92299
92303
|
return placed;
|
|
92300
92304
|
}
|
|
92301
92305
|
function elementNodeFields({ element: element2, nodeId, slug: slug2, system, field }) {
|
|
@@ -107764,17 +107768,14 @@ var nodeGestureOps = {
|
|
|
107764
107768
|
input: wrapInput,
|
|
107765
107769
|
readOnly: false,
|
|
107766
107770
|
label: "Wrap children in a container",
|
|
107767
|
-
description: `Group or wrap elements ("wrap these in a stack", "group the title and the body", "put it in a card"): some of this node's direct children move into a new container element of the given component type, which takes their place among the node's children.
|
|
107771
|
+
description: `Group or wrap elements ("wrap these in a stack", "group the title and the body", "put it in a card"): some of this node's direct children move into a new container element of the given component type, which takes their place among the node's children. Use the full component path as listed by the attached system, including any group prefix. The elements land in the container's children, or in the slot its \`slotProp\` names, and a slot that lists what it accepts refuses anything else.`,
|
|
107768
107772
|
scope: "item",
|
|
107769
107773
|
title: (entity) => `Wrap children of ${entity}`,
|
|
107770
107774
|
example: () => ({
|
|
107771
107775
|
path: "card",
|
|
107772
107776
|
data: {
|
|
107773
107777
|
elements: ["card/title", "card/body"],
|
|
107774
|
-
container: {
|
|
107775
|
-
type: "VStack",
|
|
107776
|
-
props: { gap: "2" }
|
|
107777
|
-
}
|
|
107778
|
+
container: { type: "layout/VStack" }
|
|
107778
107779
|
}
|
|
107779
107780
|
}),
|
|
107780
107781
|
handler: (input2, config2) => applied2(config2, wrap(config2, wrapInput.parse(input2)))
|