mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-08-10 16:43:19 +00:00
Bump all hot-updater packages to a consistent 0.32.0 (CLI, @hot-updater/react-native, bare, firebase, sentry-plugin), replacing the previous mixed set (bare was pinned at 0.20.11). - Add @expo/fingerprint as an explicit devDependency: it is now an optional peer dep and is required by updateStrategy: "fingerprint". - Remove patches/@hot-updater+bare+0.20.11.patch: the hermes-compiler path resolution it added is now upstream in bare 0.32.0 (getHermesCompilerPackagePath). hot-updater.config.ts needs no changes (firebaseStorage/firebaseDatabase config shapes unchanged). The live 0.23.1 app runtime stays wire-compatible with the redeployed 0.32.0 server (identical path-based update-check route). Infra steps still required (run separately): npx hot-updater init to refresh Firebase functions + Android native config, then a native rebuild to enable bundle diffing for new installs. Also drops dead commented-out @noble/curves Metro resolver workaround. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
464 B
JavaScript
17 lines
464 B
JavaScript
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
|
|
const { withSentryConfig } = require("@sentry/react-native/metro");
|
|
|
|
/**
|
|
* Metro configuration
|
|
* https://reactnative.dev/docs/metro
|
|
*
|
|
* @type {import('@react-native/metro-config').MetroConfig}
|
|
*/
|
|
const config = {
|
|
resolver: {
|
|
sourceExts: ['jsx', 'js', 'ts', 'tsx', 'json', 'cjs'],
|
|
},
|
|
};
|
|
|
|
module.exports = withSentryConfig(mergeConfig(getDefaultConfig(__dirname), config));
|