From e7e50523ce07b5c279c0aeef78bbffad88e69d29 Mon Sep 17 00:00:00 2001 From: Sami Jaber Date: Wed, 29 Nov 2023 16:53:10 -0400 Subject: [PATCH] fix React Native signals (#1310) * f * rl --- .yarn/versions/3cb89724.yml | 3 +++ packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/core/src/helpers/plugins/process-signals.ts | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .yarn/versions/3cb89724.yml diff --git a/.yarn/versions/3cb89724.yml b/.yarn/versions/3cb89724.yml new file mode 100644 index 0000000000..8a48931abe --- /dev/null +++ b/.yarn/versions/3cb89724.yml @@ -0,0 +1,3 @@ +undecided: + - "@builder.io/mitosis-repo" + - "@builder.io/mitosis" diff --git a/packages/cli/package.json b/packages/cli/package.json index 8117aec65c..4d26401ef1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@builder.io/mitosis-cli", - "version": "0.0.94", + "version": "0.0.95", "description": "mitosis CLI", "types": "build/types/types.d.ts", "bin": { diff --git a/packages/core/package.json b/packages/core/package.json index ebf33451e9..b5a863df9e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -22,7 +22,7 @@ "name": "Builder.io", "url": "https://www.builder.io" }, - "version": "0.0.135", + "version": "0.0.136", "homepage": "https://github.com/BuilderIO/mitosis", "main": "./dist/src/index.js", "exports": { diff --git a/packages/core/src/helpers/plugins/process-signals.ts b/packages/core/src/helpers/plugins/process-signals.ts index 261fbbfb84..b635fc45b4 100644 --- a/packages/core/src/helpers/plugins/process-signals.ts +++ b/packages/core/src/helpers/plugins/process-signals.ts @@ -113,6 +113,8 @@ const getSignalMapperForTarget = (target: Target): SignalMapper => { return { getter: (name) => types.identifier('$' + name), }; + case 'preact': + case 'reactNative': case 'react': case 'solid': return {