@yahoo/uds-create-cli 5.88.1 → 5.89.0
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 +36 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-create-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.89.0",
|
|
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.89.0",
|
|
36
|
+
"@yahoo/uds-create-loader": "5.89.0",
|
|
37
|
+
"@yahoo/uds-create-types": "5.89.0",
|
|
38
|
+
"@yahoo/uds-create-utils": "5.89.0",
|
|
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": 20261109144822,
|
|
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.89.0",
|
|
58
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.89.0",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.89.0",
|
|
60
|
+
"@yahoo/uds-create-cli-linux-x64": "5.89.0",
|
|
61
|
+
"@yahoo/uds-create-cli-linux-arm64-musl": "5.89.0",
|
|
62
|
+
"@yahoo/uds-create-cli-linux-x64-musl": "5.89.0"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -69864,16 +69864,30 @@ function storedDefaultConditions(body) {
|
|
|
69864
69864
|
return isPlainObject2(stored) ? stored : {};
|
|
69865
69865
|
}
|
|
69866
69866
|
function defaultsFor({ body, given }) {
|
|
69867
|
-
const defaults = body
|
|
69868
|
-
|
|
69869
|
-
if (conditions.length === 0) return defaults;
|
|
69867
|
+
const defaults = unconditionalDefaults(body);
|
|
69868
|
+
if (Object.keys(storedDefaultConditions(body)).length === 0) return defaults;
|
|
69870
69869
|
const out = { ...defaults };
|
|
69871
|
-
for (const {
|
|
69872
|
-
|
|
69873
|
-
|
|
69874
|
-
})) Object.assign(out, props);
|
|
69870
|
+
for (const { condition } of holdingDefaultConditions({
|
|
69871
|
+
body,
|
|
69872
|
+
given
|
|
69873
|
+
})) Object.assign(out, condition.props);
|
|
69875
69874
|
return out;
|
|
69876
69875
|
}
|
|
69876
|
+
function holdingDefaultConditions({ body, given }) {
|
|
69877
|
+
const defaults = unconditionalDefaults(body);
|
|
69878
|
+
return Object.entries(storedDefaultConditions(body)).flatMap(([key2, condition]) => {
|
|
69879
|
+
return Object.entries(condition.when).every(([prop, value]) => {
|
|
69880
|
+
const current = given[prop] !== void 0 ? given[prop] : defaults[prop];
|
|
69881
|
+
return String(refLeaf(current)) === String(refLeaf(value));
|
|
69882
|
+
}) ? [{
|
|
69883
|
+
key: key2,
|
|
69884
|
+
condition
|
|
69885
|
+
}] : [];
|
|
69886
|
+
});
|
|
69887
|
+
}
|
|
69888
|
+
function unconditionalDefaults(body) {
|
|
69889
|
+
return body?.defaultProps ?? {};
|
|
69890
|
+
}
|
|
69877
69891
|
|
|
69878
69892
|
// ../config/dist/framework/config-operation-kind.js
|
|
69879
69893
|
var CONFIG_OPERATION_KIND = "config";
|
|
@@ -106053,6 +106067,21 @@ var defineComponent = Object.assign(defineComponentImpl, {
|
|
|
106053
106067
|
props: definePropsFirst
|
|
106054
106068
|
});
|
|
106055
106069
|
|
|
106070
|
+
// ../config/dist/entities/system/resolve-properties.js
|
|
106071
|
+
var componentModels = createSliceMemo({
|
|
106072
|
+
kinds: [
|
|
106073
|
+
"component",
|
|
106074
|
+
"style-property",
|
|
106075
|
+
"token",
|
|
106076
|
+
"composite",
|
|
106077
|
+
"modifier",
|
|
106078
|
+
"icon",
|
|
106079
|
+
"motion",
|
|
106080
|
+
"source"
|
|
106081
|
+
],
|
|
106082
|
+
compute: (_config) => /* @__PURE__ */ new Map()
|
|
106083
|
+
});
|
|
106084
|
+
|
|
106056
106085
|
// ../config/dist/framework/derived-mutations.js
|
|
106057
106086
|
var PROBE_COLLECTION = defineSubEntity({
|
|
106058
106087
|
name: "member",
|