@yahoo/uds-create-cli 5.74.0 → 5.75.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.
|
|
3
|
+
"version": "5.75.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.75.0",
|
|
36
|
+
"@yahoo/uds-create-loader": "5.75.0",
|
|
37
|
+
"@yahoo/uds-create-types": "5.75.0",
|
|
38
|
+
"@yahoo/uds-create-utils": "5.75.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": 20261103115059,
|
|
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.75.0",
|
|
58
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.75.0",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.75.0",
|
|
60
|
+
"@yahoo/uds-create-cli-linux-x64": "5.75.0",
|
|
61
|
+
"@yahoo/uds-create-cli-linux-arm64-musl": "5.75.0",
|
|
62
|
+
"@yahoo/uds-create-cli-linux-x64-musl": "5.75.0"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -75843,7 +75843,7 @@ function virtualEntryPlugin(options) {
|
|
|
75843
75843
|
setup(build) {
|
|
75844
75844
|
build.onResolve(
|
|
75845
75845
|
{
|
|
75846
|
-
filter: /^\.\/(react-registry|react-catalog|react-providers|react-renderer)$/
|
|
75846
|
+
filter: /^\.\/(react-registry|react-catalog|react-providers|react-renderer|components-runtime)$/
|
|
75847
75847
|
},
|
|
75848
75848
|
(args) => ({
|
|
75849
75849
|
path: args.path.replace("./", ""),
|
|
@@ -75898,7 +75898,7 @@ function virtualEntryPlugin(options) {
|
|
|
75898
75898
|
});
|
|
75899
75899
|
build.onLoad({ filter: /.*/, namespace: "virtual" }, async (args) => {
|
|
75900
75900
|
const source = virtualModules[args.path];
|
|
75901
|
-
if (source) {
|
|
75901
|
+
if (source !== void 0) {
|
|
75902
75902
|
return {
|
|
75903
75903
|
contents: platform === "native" ? await compileNativeWorklets(source, `${args.path}.tsx`) : source,
|
|
75904
75904
|
loader: "tsx",
|
|
@@ -76274,6 +76274,13 @@ async function buildPreviewBundleWithLogLevel(options, logLevel) {
|
|
|
76274
76274
|
`export { registryComponents, registry, runtimeRegistry, glyphMembers, registryDescriptor } from './react-registry';`,
|
|
76275
76275
|
`export { UdsProviders, UdsActionBridge } from './react-providers';`,
|
|
76276
76276
|
`export { UdsRenderer } from './react-renderer';`,
|
|
76277
|
+
// The canvas puts a native frame in the page's modes through the same provider the
|
|
76278
|
+
// components read, so it has to be this bundle's instance of the runtime. It's read off the
|
|
76279
|
+
// namespace, so a runtime that declares none exports `undefined` instead of failing the build.
|
|
76280
|
+
...platform === "native-canvas" ? [
|
|
76281
|
+
`import * as __udsComponentRuntime from './${COMPONENT_RUNTIME_MODULE}';`,
|
|
76282
|
+
"export const NativeThemeProvider = __udsComponentRuntime.NativeThemeProvider;"
|
|
76283
|
+
] : [],
|
|
76277
76284
|
...nativeRegistration ? [
|
|
76278
76285
|
`import { UdsRenderer as __udsNativeRenderer } from './react-renderer';`,
|
|
76279
76286
|
`globalThis[${JSON.stringify(nativeRegistration.registerGlobal)}]({`,
|