@yahoo/uds-create-cli 5.78.0 → 5.80.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yahoo/uds-create-cli",
3
- "version": "5.78.0",
3
+ "version": "5.80.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.78.0",
36
- "@yahoo/uds-create-loader": "5.78.0",
37
- "@yahoo/uds-create-types": "5.78.0",
38
- "@yahoo/uds-create-utils": "5.78.0",
35
+ "@yahoo/uds-create-config": "5.80.0",
36
+ "@yahoo/uds-create-loader": "5.80.0",
37
+ "@yahoo/uds-create-types": "5.80.0",
38
+ "@yahoo/uds-create-utils": "5.80.0",
39
39
  "esbuild": "^0.27.4",
40
40
  "ts-morph": "^27.0.2",
41
41
  "get-tsconfig": "^4.10.0",
@@ -52,13 +52,13 @@
52
52
  "lodash": "^4.17.23",
53
53
  "prettier": "^3.8.1"
54
54
  },
55
- "udsSchemaVersion": 20261104151013,
55
+ "udsSchemaVersion": 20261105185042,
56
56
  "optionalDependencies": {
57
- "@yahoo/uds-create-cli-darwin-arm64": "5.78.0",
58
- "@yahoo/uds-create-cli-darwin-x64": "5.78.0",
59
- "@yahoo/uds-create-cli-linux-arm64": "5.78.0",
60
- "@yahoo/uds-create-cli-linux-x64": "5.78.0",
61
- "@yahoo/uds-create-cli-linux-arm64-musl": "5.78.0",
62
- "@yahoo/uds-create-cli-linux-x64-musl": "5.78.0"
57
+ "@yahoo/uds-create-cli-darwin-arm64": "5.80.0",
58
+ "@yahoo/uds-create-cli-darwin-x64": "5.80.0",
59
+ "@yahoo/uds-create-cli-linux-arm64": "5.80.0",
60
+ "@yahoo/uds-create-cli-linux-x64": "5.80.0",
61
+ "@yahoo/uds-create-cli-linux-arm64-musl": "5.80.0",
62
+ "@yahoo/uds-create-cli-linux-x64-musl": "5.80.0"
63
63
  }
64
64
  }
@@ -76113,7 +76113,8 @@ function urlExternalsPlugin(urlExternals) {
76113
76113
  }
76114
76114
  function sharedDepsPlugin({
76115
76115
  platform,
76116
- hostModules
76116
+ hostModules,
76117
+ hostPackage
76117
76118
  }) {
76118
76119
  return {
76119
76120
  name: "shared-deps",
@@ -76125,6 +76126,12 @@ function sharedDepsPlugin({
76125
76126
  namespace: "shared-deps"
76126
76127
  })
76127
76128
  );
76129
+ if (hostPackage) {
76130
+ build.onResolve(
76131
+ { filter: BARE_SPECIFIER },
76132
+ (args) => hostPackage(args.path) === "host" ? { path: args.path, namespace: "shared-deps" } : void 0
76133
+ );
76134
+ }
76128
76135
  build.onLoad({ filter: /.*/, namespace: "shared-deps" }, (args) => ({
76129
76136
  contents: shimFor(args.path, platform),
76130
76137
  loader: "js"
@@ -76258,6 +76265,7 @@ async function buildPreviewBundleWithLogLevel(options, logLevel) {
76258
76265
  platform = "web",
76259
76266
  nativeRegistration,
76260
76267
  hostModules = [],
76268
+ hostPackage,
76261
76269
  canvasPackageAliases = {},
76262
76270
  canvasPackageAliasResolveDir,
76263
76271
  sealedSourceAliases = /* @__PURE__ */ new Map(),
@@ -76368,7 +76376,13 @@ async function buildPreviewBundleWithLogLevel(options, logLevel) {
76368
76376
  frameworkSourceDir,
76369
76377
  externalPackages
76370
76378
  })
76371
- ] : [sharedDepsPlugin({ platform, hostModules })]
76379
+ ] : [
76380
+ sharedDepsPlugin({
76381
+ platform,
76382
+ hostModules,
76383
+ ...platform === "native" && hostPackage ? { hostPackage } : {}
76384
+ })
76385
+ ]
76372
76386
  ]
76373
76387
  });
76374
76388
  if (logLevel === "silent" && result.warnings.length > 0) {