@yahoo/uds-create-cli 5.101.0 → 5.101.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yahoo/uds-create-cli",
3
- "version": "5.101.0",
3
+ "version": "5.101.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.101.0",
36
- "@yahoo/uds-create-loader": "5.101.0",
37
- "@yahoo/uds-create-types": "5.101.0",
38
- "@yahoo/uds-create-utils": "5.101.0",
35
+ "@yahoo/uds-create-config": "5.101.2",
36
+ "@yahoo/uds-create-loader": "5.101.2",
37
+ "@yahoo/uds-create-types": "5.101.2",
38
+ "@yahoo/uds-create-utils": "5.101.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.101.0",
58
- "@yahoo/uds-create-cli-darwin-x64": "5.101.0",
59
- "@yahoo/uds-create-cli-linux-arm64": "5.101.0",
60
- "@yahoo/uds-create-cli-linux-x64": "5.101.0",
61
- "@yahoo/uds-create-cli-linux-arm64-musl": "5.101.0",
62
- "@yahoo/uds-create-cli-linux-x64-musl": "5.101.0"
57
+ "@yahoo/uds-create-cli-darwin-arm64": "5.101.2",
58
+ "@yahoo/uds-create-cli-darwin-x64": "5.101.2",
59
+ "@yahoo/uds-create-cli-linux-arm64": "5.101.2",
60
+ "@yahoo/uds-create-cli-linux-x64": "5.101.2",
61
+ "@yahoo/uds-create-cli-linux-arm64-musl": "5.101.2",
62
+ "@yahoo/uds-create-cli-linux-x64-musl": "5.101.2"
63
63
  }
64
64
  }
@@ -75493,6 +75493,11 @@ var require_lib33 = __commonJS({
75493
75493
  import { existsSync as existsSync3, mkdirSync, readFileSync as readFileSync3 } from "node:fs";
75494
75494
  import path5 from "node:path";
75495
75495
 
75496
+ // ../config/dist/renderer/canvas-export.js
75497
+ function canvasExportName(exportName) {
75498
+ return `${exportName}__udsCanvas`;
75499
+ }
75500
+
75496
75501
  // ../utils/dist/semaphore.js
75497
75502
  function createSemaphore(limit) {
75498
75503
  if (!Number.isInteger(limit) || limit <= 0) throw new RangeError("Semaphore limit must be a positive integer");
@@ -76337,9 +76342,14 @@ async function buildPreviewBundleResult(options) {
76337
76342
  return buildPreviewBundleWithLogLevel(options);
76338
76343
  }
76339
76344
  async function buildComponentModule(options, entry) {
76345
+ const names = [...entry.exportNames].sort();
76346
+ const canvasNames = options.canvasComponentSources.has(entry.subpath) ? names.map((name) => `${name} as ${canvasExportName(name)}`) : [];
76347
+ const live = `export { ${names.join(", ")} } from '#uds/components/${entry.subpath}';`;
76348
+ const canvas = canvasNames.length > 0 ? `
76349
+ export { ${canvasNames.join(", ")} } from '#uds/components-canvas/${entry.subpath}';` : "";
76340
76350
  const { bundle } = await buildPreviewBundleWithLogLevel({
76341
76351
  ...options,
76342
- entrySourceOverride: `export { ${[...entry.exportNames].sort().join(", ")} } from '#uds/components/${entry.subpath}';`
76352
+ entrySourceOverride: `${live}${canvas}`
76343
76353
  });
76344
76354
  return bundle;
76345
76355
  }
@@ -101074,7 +101074,7 @@ function activationOf(modifier) {
101074
101074
  }
101075
101075
 
101076
101076
  // ../config/dist/entities/system/component-module.js
101077
- var COMPONENT_MODULE_BUILD_VERSION = 10;
101077
+ var COMPONENT_MODULE_BUILD_VERSION = 11;
101078
101078
  var WEB_RUNTIME_KINDS = [
101079
101079
  "style-property",
101080
101080
  "modifier",