diff --git a/bun.lock b/bun.lock index d46d0bd9..3dcdb763 100644 --- a/bun.lock +++ b/bun.lock @@ -17,7 +17,7 @@ }, "example": { "name": "mmkv-example", - "version": "4.3.1", + "version": "4.3.2", "dependencies": { "@react-native/new-app-screen": "0.85.3", "http-proxy": "^1.18.1", @@ -58,7 +58,7 @@ }, "packages/react-native-mmkv": { "name": "react-native-mmkv", - "version": "4.3.1", + "version": "4.3.2", "devDependencies": { "@react-native/eslint-config": "0.85.3", "@react-native/jest-preset": "0.85.3", @@ -79,6 +79,9 @@ "react-native": "*", "react-native-nitro-modules": "*", }, + "optionalPeers": [ + "react-native-nitro-modules", + ], }, }, "packages": { diff --git a/packages/react-native-mmkv/package.json b/packages/react-native-mmkv/package.json index 324dfb75..007d89f8 100644 --- a/packages/react-native-mmkv/package.json +++ b/packages/react-native-mmkv/package.json @@ -78,6 +78,11 @@ "react-native": "*", "react-native-nitro-modules": "*" }, + "peerDependenciesMeta": { + "react-native-nitro-modules": { + "optional": true + } + }, "eslintConfig": { "root": true, "extends": [