diff --git a/.pnpmfile.cjs b/.pnpmfile.cjs deleted file mode 100644 index 6b7c476b2..000000000 --- a/.pnpmfile.cjs +++ /dev/null @@ -1,21 +0,0 @@ -function readPackage(pkg, context) { - if ( - pkg.name === '@atproto/oauth-client-expo' && - pkg.version === '0.0.10' && - pkg.dependencies?.['react-native-mmkv'] === '^3.3.3' - ) { - pkg.dependencies['react-native-mmkv'] = - 'npm:@bsky.app/react-native-mmkv@2.12.5' - context.log( - 'patched @atproto/oauth-client-expo@0.0.10 react-native-mmkv -> npm:@bsky.app/react-native-mmkv@2.12.5', - ) - } - - return pkg -} - -module.exports = { - hooks: { - readPackage, - }, -} diff --git a/patches/@atproto__oauth-client-expo.patch b/patches/@atproto__oauth-client-expo.patch index 84141a18e..e43e0d2fa 100644 --- a/patches/@atproto__oauth-client-expo.patch +++ b/patches/@atproto__oauth-client-expo.patch @@ -62,3 +62,16 @@ index b7dc3e4..8f4a8ef 100644 +} //# sourceMappingURL=polyfill.web.js.map \ No newline at end of file +diff --git a/package.json b/package.json +index b30be1e..855fdf8 100644 +--- a/package.json ++++ b/package.json +@@ -31,7 +31,7 @@ + "dependencies": { + "core-js": "^3", + "expo-web-browser": "^15.0.8", +- "react-native-mmkv": "^3.3.3", ++ "react-native-mmkv": "npm:@bsky.app/react-native-mmkv@2.12.5", + "react-native-url-polyfill": "^3.0.0", + "@atproto-labs/simple-store": "^0.3.0", + "@atproto/oauth-client": "^0.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56364d638..698eca105 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,8 +19,6 @@ overrides: sonner-native: 0.21.0 unicode-segmenter: 0.14.5 -pnpmfileChecksum: sha256-JN+J/nZtQDsFTboS0kVQFCgXDGVL0zmIyE1oMYP6Hx0= - patchedDependencies: '@assembless/react-native-material-you': hash: 53be260b92b83090343dcb6cc301d0df2355ee77c053a2dd2e882afbbe1f3750 @@ -35,7 +33,7 @@ patchedDependencies: hash: 2587c55920f0a39156618e6e7526fd7a179ae86cc80f7fa765ee595c79ff1590 path: patches/@atproto__oauth-client-browser.patch '@atproto/oauth-client-expo': - hash: a6a280d4ea415b4ff380f6c428f785044a62a926ff572ccd4a9b368714126aa2 + hash: 4becc2a92bcc0c798e65f606a9d8a55450f2b1a81e2e9fcacececb8cbf5c78c2 path: patches/@atproto__oauth-client-expo.patch '@discord/bottom-sheet': hash: c1f55b9e514f17d0fb14cb8f63be8c29c13813dc92825ad1b068319a89b78058 @@ -119,7 +117,7 @@ importers: version: 0.3.41(patch_hash=2587c55920f0a39156618e6e7526fd7a179ae86cc80f7fa765ee595c79ff1590) '@atproto/oauth-client-expo': specifier: ^0.0.10 - version: 0.0.10(patch_hash=a6a280d4ea415b4ff380f6c428f785044a62a926ff572ccd4a9b368714126aa2)(expo@54.0.33(@babel/core@7.25.2)(react-native-webview@13.16.1(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0) + version: 0.0.10(patch_hash=4becc2a92bcc0c798e65f606a9d8a55450f2b1a81e2e9fcacececb8cbf5c78c2)(expo@54.0.33(@babel/core@7.25.2)(react-native-webview@13.16.1(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0) '@atproto/syntax': specifier: 0.5.2 version: 0.5.2 @@ -10650,6 +10648,12 @@ packages: react-native: '*' react-native-reanimated: '>=3.0.0' + react-native-mmkv@3.3.3: + resolution: {integrity: sha512-GMsfOmNzx0p5+CtrCFRVtpOOMYNJXuksBVARSQrCFaZwjUyHJdQzcN900GGaFFNTxw2fs8s5Xje//RDKj9+PZA==} + peerDependencies: + react: '*' + react-native: '*' + react-native-pager-view@6.8.0: resolution: {integrity: sha512-/wgFV8nB4TLnQ6j9e3TvNrHbPF5TINMZHaXt86GOV0NSJNMVGkWguniJVKrYLm85LL8KVhRkgdh43Rdu7PvW1A==} peerDependencies: @@ -12867,7 +12871,7 @@ snapshots: '@atproto/oauth-types': 0.6.3 core-js: 3.49.0 - '@atproto/oauth-client-expo@0.0.10(patch_hash=a6a280d4ea415b4ff380f6c428f785044a62a926ff572ccd4a9b368714126aa2)(expo@54.0.33(@babel/core@7.25.2)(react-native-webview@13.16.1(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0)': + '@atproto/oauth-client-expo@0.0.10(patch_hash=4becc2a92bcc0c798e65f606a9d8a55450f2b1a81e2e9fcacececb8cbf5c78c2)(expo@54.0.33(@babel/core@7.25.2)(react-native-webview@13.16.1(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0)': dependencies: '@atproto-labs/simple-store': 0.3.0 '@atproto/oauth-client': 0.6.0(patch_hash=07eb9c1dce2d9b9ebf8462cdc04d1f7c8b7beb33c941911b61d5d165acc438e4) @@ -12876,7 +12880,7 @@ snapshots: expo: 54.0.33(@babel/core@7.25.2)(react-native-webview@13.16.1(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0) expo-web-browser: 15.0.10(expo@54.0.33(@babel/core@7.25.2)(react-native-webview@13.16.1(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0)) react-native: 0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0) - react-native-mmkv: '@bsky.app/react-native-mmkv@2.12.5(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0)' + react-native-mmkv: 3.3.3(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0) react-native-url-polyfill: 3.0.0(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0)) transitivePeerDependencies: - react @@ -24852,6 +24856,11 @@ snapshots: react-native-is-edge-to-edge: 1.3.1(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0) react-native-reanimated: 3.19.5(patch_hash=c07ea02fe4c889e65498c2fb39d82e93a0745a06e7800850054fbf0cb95ee1e4)(@babel/core@7.25.2)(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0) + react-native-mmkv@3.3.3(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0): + dependencies: + react: 19.1.0 + react-native: 0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0) + react-native-pager-view@6.8.0(patch_hash=dc75f16661d6d3e8df3922bc4a116ae0475316979175aca7c9c44205f2261d4a)(react-native@0.81.5(patch_hash=1708bf9fa9265ebd463d53fa71c037e9387eb16fb483287e49616407b4dc342e)(@babel/core@7.25.2)(@types/react@19.2.14)(react@19.1.0))(react@19.1.0): dependencies: react: 19.1.0