Files
minibits_wallet/metro.config.js
T
minibits-cashandClaude Opus 4.8 211f27f259 Upgrade hot-updater 0.23.1 -> 0.32.0
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>
2026-06-01 14:06:35 +02:00

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));