tangled mirror of catsky-🐱 Soothing soft social-app fork with all the niche toggles! (Unofficial); for issues and PRs please put them on github:NekoDrone/catsky-social

[16KB] use 16kb-compatible fork of react-native-mmkv (#9150)

* use 16kb-compatible fork of react-native-mmkv

* avoid using package alias

* specify ndk version

* Revert "specify ndk version"

This reverts commit 577393518e67ee59028b0c775536f53605dba6d4.

* add compiler flags to mmkv build (bump version)

* move fork to bsky repo/npm org

authored by samuel.fm and committed by GitHub 54f70a57 7f4e302b

Changed files
+8 -8
src
storage
+1 -1
package.json
··· 192 192 "react-native-gesture-handler": "~2.28.0", 193 193 "react-native-get-random-values": "~1.11.0", 194 194 "react-native-keyboard-controller": "1.18.5", 195 - "react-native-mmkv": "^2.12.2", 195 + "@bsky.app/react-native-mmkv": "2.12.5", 196 196 "react-native-pager-view": "6.8.0", 197 197 "react-native-progress": "bluesky-social/react-native-progress", 198 198 "react-native-qrcode-styled": "^0.3.3",
+1 -1
src/storage/__tests__/index.test.ts
··· 2 2 3 3 import {Storage} from '#/storage' 4 4 5 - jest.mock('react-native-mmkv', () => ({ 5 + jest.mock('@bsky.app/react-native-mmkv', () => ({ 6 6 MMKV: class MMKVMock { 7 7 _store = new Map() 8 8
+1 -1
src/storage/index.ts
··· 1 1 import {useCallback, useEffect, useState} from 'react' 2 - import {MMKV} from 'react-native-mmkv' 2 + import {MMKV} from '@bsky.app/react-native-mmkv' 3 3 4 4 import {type Account, type Device} from '#/storage/schema' 5 5
+5 -5
yarn.lock
··· 3685 3685 dependencies: 3686 3686 react-responsive "^10.0.1" 3687 3687 3688 + "@bsky.app/react-native-mmkv@2.12.5": 3689 + version "2.12.5" 3690 + resolved "https://registry.yarnpkg.com/@bsky.app/react-native-mmkv/-/react-native-mmkv-2.12.5.tgz#eb17d31a6158c74393f617a1763ac223ff3f83a6" 3691 + integrity sha512-3vUz1nQY1DiKIPAWRkpp5ZGxH5f2G6Ui0UuQuEYjYv81xx1qFcSzS9KQ2sHcOKYdkOM9amWV2Q8TQCxt1lrAHg== 3692 + 3688 3693 "@bufbuild/protobuf@^1.5.0": 3689 3694 version "1.7.0" 3690 3695 resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-1.7.0.tgz#cecddc8162a231642b410bc7b99309cd5969733c" ··· 17064 17069 integrity sha512-wbYN6Tcu3G5a05dhRYBgjgd74KqoYWuUmroLpigRg9cXy5uYo7prTMIvMgvLtARQtUF7BOtFggUnzgoBOgk0TQ== 17065 17070 dependencies: 17066 17071 react-native-is-edge-to-edge "^1.2.1" 17067 - 17068 - react-native-mmkv@^2.12.2: 17069 - version "2.12.2" 17070 - resolved "https://registry.yarnpkg.com/react-native-mmkv/-/react-native-mmkv-2.12.2.tgz#4bba0f5f04e2cf222494cce3a9794ba6a4894dee" 17071 - integrity sha512-6058Aq0p57chPrUutLGe9fYoiDVDNMU2PKV+lLFUJ3GhoHvUrLdsS1PDSCLr00yqzL4WJQ7TTzH+V8cpyrNcfg== 17072 17072 17073 17073 react-native-pager-view@6.8.0: 17074 17074 version "6.8.0"