@yahoo/uds-create-cli 5.100.4 → 5.100.6
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 +26 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-create-cli",
|
|
3
|
-
"version": "5.100.
|
|
3
|
+
"version": "5.100.6",
|
|
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.100.
|
|
36
|
-
"@yahoo/uds-create-loader": "5.100.
|
|
37
|
-
"@yahoo/uds-create-types": "5.100.
|
|
38
|
-
"@yahoo/uds-create-utils": "5.100.
|
|
35
|
+
"@yahoo/uds-create-config": "5.100.6",
|
|
36
|
+
"@yahoo/uds-create-loader": "5.100.6",
|
|
37
|
+
"@yahoo/uds-create-types": "5.100.6",
|
|
38
|
+
"@yahoo/uds-create-utils": "5.100.6",
|
|
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.100.
|
|
58
|
-
"@yahoo/uds-create-cli-darwin-x64": "5.100.
|
|
59
|
-
"@yahoo/uds-create-cli-linux-arm64": "5.100.
|
|
60
|
-
"@yahoo/uds-create-cli-linux-x64": "5.100.
|
|
61
|
-
"@yahoo/uds-create-cli-linux-arm64-musl": "5.100.
|
|
62
|
-
"@yahoo/uds-create-cli-linux-x64-musl": "5.100.
|
|
57
|
+
"@yahoo/uds-create-cli-darwin-arm64": "5.100.6",
|
|
58
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.100.6",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.100.6",
|
|
60
|
+
"@yahoo/uds-create-cli-linux-x64": "5.100.6",
|
|
61
|
+
"@yahoo/uds-create-cli-linux-arm64-musl": "5.100.6",
|
|
62
|
+
"@yahoo/uds-create-cli-linux-x64-musl": "5.100.6"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -101173,7 +101173,7 @@ function componentRegistryImports(config2, filePath) {
|
|
|
101173
101173
|
}
|
|
101174
101174
|
return imports.sort((left, right) => left.specifier.localeCompare(right.specifier));
|
|
101175
101175
|
}
|
|
101176
|
-
function componentModuleBuildPlan(config2, filePath) {
|
|
101176
|
+
function componentModuleBuildPlan({ config: config2, filePath, localScope }) {
|
|
101177
101177
|
const byFile = componentsByFile(config2);
|
|
101178
101178
|
const entities = {};
|
|
101179
101179
|
const groups = {};
|
|
@@ -101193,6 +101193,7 @@ function componentModuleBuildPlan(config2, filePath) {
|
|
|
101193
101193
|
for (const group of owner.groups(kind)) {
|
|
101194
101194
|
if (!path2.startsWith(`${group.path}/`)) continue;
|
|
101195
101195
|
groups[`${source ? `${source}:` : ""}${kind}:${group.path}`] = group.meta;
|
|
101196
|
+
if (!source && (kind === "component" || kind === "file")) localScope?.localRefs.add(`${kind}:${group.path}`);
|
|
101196
101197
|
}
|
|
101197
101198
|
};
|
|
101198
101199
|
const recordEntity = (target2) => {
|
|
@@ -101203,7 +101204,11 @@ function componentModuleBuildPlan(config2, filePath) {
|
|
|
101203
101204
|
const key2 = `${ref2.source ? `${ref2.source}:` : ""}${ref2.kind}:${ref2.path}`;
|
|
101204
101205
|
entities[key2] = buildEntityBody(ref2.kind, entity.toJSON());
|
|
101205
101206
|
recordGroups(owner, ref2.source, ref2.kind, ref2.path);
|
|
101206
|
-
if (ref2.kind === "
|
|
101207
|
+
if (!ref2.source && (ref2.kind === "component" || ref2.kind === "file")) localScope?.localRefs.add(`${ref2.kind}:${ref2.path}`);
|
|
101208
|
+
if (ref2.kind === "file" && !ref2.source) {
|
|
101209
|
+
localScope?.filePaths.add(ref2.path);
|
|
101210
|
+
pendingFiles.push(ref2.path);
|
|
101211
|
+
}
|
|
101207
101212
|
};
|
|
101208
101213
|
const recordRegistryComponent = (target2) => {
|
|
101209
101214
|
const parsed = splitRef2(target2);
|
|
@@ -101267,8 +101272,26 @@ function componentModuleBuildPlan(config2, filePath) {
|
|
|
101267
101272
|
registryComponents
|
|
101268
101273
|
};
|
|
101269
101274
|
}
|
|
101275
|
+
function componentModuleBuildScope({ config: config2, filePath }) {
|
|
101276
|
+
const localScope = {
|
|
101277
|
+
localRefs: /* @__PURE__ */ new Set(),
|
|
101278
|
+
filePaths: /* @__PURE__ */ new Set()
|
|
101279
|
+
};
|
|
101280
|
+
componentModuleBuildPlan({
|
|
101281
|
+
config: config2,
|
|
101282
|
+
filePath,
|
|
101283
|
+
localScope
|
|
101284
|
+
});
|
|
101285
|
+
return {
|
|
101286
|
+
filePaths: [...localScope.filePaths].sort(),
|
|
101287
|
+
localRefs: localScope.localRefs
|
|
101288
|
+
};
|
|
101289
|
+
}
|
|
101270
101290
|
function componentModuleFilePaths(config2, filePath) {
|
|
101271
|
-
return
|
|
101291
|
+
return componentModuleBuildScope({
|
|
101292
|
+
config: config2,
|
|
101293
|
+
filePath
|
|
101294
|
+
}).filePaths;
|
|
101272
101295
|
}
|
|
101273
101296
|
|
|
101274
101297
|
// ../config/dist/entities/system/copy-plan.js
|