From 9e2cc9ba2df499e557b0355a3fae2c5f01cc5548 Mon Sep 17 00:00:00 2001 From: Hui Zhao Date: Tue, 7 Nov 2023 15:20:50 -0800 Subject: [PATCH] fix(repo): react-native entries --- packages/aws-amplify/package.json | 3 +-- packages/pubsub/iot/packages.json | 2 +- packages/pubsub/mqtt/packages.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index 0b30e4331bf..23f059e5db4 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -137,8 +137,7 @@ "./adapter-core": { "types": "./dist/esm/adapterCore/index.d.ts", "import": "./dist/esm/adapterCore/index.mjs", - "require": "./dist/cjs/adapterCore/index.js", - "react-native": "./src/adapterCore/index.ts" + "require": "./dist/cjs/adapterCore/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/pubsub/iot/packages.json b/packages/pubsub/iot/packages.json index a9fbe5ad43d..0dda3dc6a3a 100644 --- a/packages/pubsub/iot/packages.json +++ b/packages/pubsub/iot/packages.json @@ -4,5 +4,5 @@ "browser": "../dist/esm/clients/iot.mjs", "module": "../dist/esm/clients/iot.mjs", "typings": "../dist/esm/clients/iot.d.ts", - "react-native": "../dist/cjs/clients/iot.js" + "react-native": "../src/clients/iot.ts" } diff --git a/packages/pubsub/mqtt/packages.json b/packages/pubsub/mqtt/packages.json index bad73bbf6fe..301b5280a49 100644 --- a/packages/pubsub/mqtt/packages.json +++ b/packages/pubsub/mqtt/packages.json @@ -4,5 +4,5 @@ "browser": "../dist/esm/clients/mqtt.mjs", "module": "../dist/esm/clients/mqtt.mjs", "typings": "../dist/esm/clients/mqtt.d.ts", - "react-native": "../dist/cjs/clients/mqtt.js" + "react-native": "../src/clients/mqtt.ts" }