@yahoo/uds-create-cli 5.95.3 → 5.96.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 +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-create-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.96.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.
|
|
36
|
-
"@yahoo/uds-create-loader": "5.
|
|
37
|
-
"@yahoo/uds-create-types": "5.
|
|
38
|
-
"@yahoo/uds-create-utils": "5.
|
|
35
|
+
"@yahoo/uds-create-config": "5.96.1",
|
|
36
|
+
"@yahoo/uds-create-loader": "5.96.1",
|
|
37
|
+
"@yahoo/uds-create-types": "5.96.1",
|
|
38
|
+
"@yahoo/uds-create-utils": "5.96.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": 20261112154943,
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@yahoo/uds-create-cli-darwin-arm64": "5.
|
|
58
|
-
"@yahoo/uds-create-cli-darwin-x64": "5.
|
|
59
|
-
"@yahoo/uds-create-cli-linux-arm64": "5.
|
|
60
|
-
"@yahoo/uds-create-cli-linux-x64": "5.
|
|
61
|
-
"@yahoo/uds-create-cli-linux-arm64-musl": "5.
|
|
62
|
-
"@yahoo/uds-create-cli-linux-x64-musl": "5.
|
|
57
|
+
"@yahoo/uds-create-cli-darwin-arm64": "5.96.1",
|
|
58
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.96.1",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.96.1",
|
|
60
|
+
"@yahoo/uds-create-cli-linux-x64": "5.96.1",
|
|
61
|
+
"@yahoo/uds-create-cli-linux-arm64-musl": "5.96.1",
|
|
62
|
+
"@yahoo/uds-create-cli-linux-x64-musl": "5.96.1"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -86189,6 +86189,11 @@ function convertLinkedTokenValue({ path: path2, value, sourcePlatform, destinati
|
|
|
86189
86189
|
if (LENGTH_GROUPS.has(group)) {
|
|
86190
86190
|
if (typeof value === "number") return value;
|
|
86191
86191
|
if (group === "size" && typeof value === "string" && (value === "auto" || /^-?(?:\d+(?:\.\d+)?|\.\d+)%$/.test(value))) return value;
|
|
86192
|
+
if (group === "size" && typeof value === "string" && [
|
|
86193
|
+
"min-content",
|
|
86194
|
+
"max-content",
|
|
86195
|
+
"fit-content"
|
|
86196
|
+
].includes(value)) throw new Error(`[uds] Linked native size token "${path2}" has unsupported CSS intrinsic sizing value ${JSON.stringify(value)}. Use an explicit native layout: replacing it with auto alone can stretch a component in a column parent. Account for parent direction, label shrink, and caller width/minWidth/maxWidth.`);
|
|
86192
86197
|
const match = typeof value === "string" ? LENGTH.exec(value) : null;
|
|
86193
86198
|
if (!match) throw unsupported("native", path2, value, "a px or rem length");
|
|
86194
86199
|
if (match[2] === "rem" && remBase === void 0) throw new Error(`[uds] Linked native token "${path2}" has value ${JSON.stringify(value)}, but its source has no fixed root font size for rem conversion.`);
|