diff --git a/.changeset/quiet-crews-cover.md b/.changeset/quiet-crews-cover.md new file mode 100644 index 0000000..d7ee4dd --- /dev/null +++ b/.changeset/quiet-crews-cover.md @@ -0,0 +1,5 @@ +--- +'@livekit/react-native': patch +--- + +Fix incomplete exports map in package.json, causing a dual-instance of @livekit/components and breaking RoomContext diff --git a/.github/workflows/changeset.yaml b/.github/workflows/changeset.yaml index 25ae4a0..6dc8961 100644 --- a/.github/workflows/changeset.yaml +++ b/.github/workflows/changeset.yaml @@ -5,6 +5,7 @@ on: push: branches: - main + - 'release/**' # e.g. release/2.10.x concurrency: ${{ github.workflow }}-${{ github.ref }} diff --git a/package.json b/package.json index 8002c8f..8acaca8 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,9 @@ ".": { "source": "./src/index.tsx", "types": "./lib/typescript/src/index.d.ts", + "react-native": "./src/index.tsx", + "import": "./lib/module/index.js", + "require": "./lib/commonjs/index.js", "default": "./lib/commonjs/index.js" } },