diff --git a/docs/build.md b/docs/build.md index 0795a98925..436a1197d0 100644 --- a/docs/build.md +++ b/docs/build.md @@ -32,7 +32,7 @@ This is NOT required when developing for web. - `bundler install` (this will install Cocoapods) - After initial setup: - Copy `google-services.json.example` to `google-services.json` or provide your own `google-services.json`. (A real firebase project is NOT required) - - `npx expo prebuild` -> you will also need to run this anytime `app.json` or native `package.json` deps change + - `pnpm prebuild` -> you will also need to run this anytime `app.json` or native `package.json` deps change ### Running the Native App @@ -65,7 +65,7 @@ After you do `pnpm ios` and `pnpm android` once, you can later just run `pnpm we - Copy the `.env.example` to `.env` and fill in any necessary tokens. (The Sentry token is NOT required; see instructions below if you want to enable Sentry.) - To run on the device, add `--device` to the command (e.g. `pnpm android --device`). To build in production mode (slower build, faster app), also add `--variant release` on Android or `--configuration Release` on iOS. - If you want to use Expo EAS on your own builds without ejecting from Expo, make sure to change the `owner` and `extra.eas.projectId` properties. If you do not have an Expo account, you may remove these properties. -- `npx react-native info` Checks what has been installed. +- `pnpm exec react-native info` Checks what has been installed. - If the Android simulator frequently hangs or is very sluggish, [bump its memory limit](https://stackoverflow.com/a/40068396) - The Android simulator won't be able to access localhost services unless you run `adb reverse tcp:{PORT} tcp:{PORT}` - For instance, the locally-hosted dev-wallet will need `adb reverse tcp:3001 tcp:3001` diff --git a/package.json b/package.json index e42ce342f0..9a05575637 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,6 @@ "engines": { "node": ">=24.15.0" }, - "devEngines": { - "packageManager": { - "name": "pnpm", - "onFail": "error" - } - }, "packageManager": "pnpm@11.1.2+sha512.415a1cc25974731e75455c1468371be74c5aa5fb7621b50d4056d222451609f11412f23fd602e6169f1e060466641f798597e1be961a10688836a67b16569499", "expo": { "autolinking": { @@ -79,8 +73,8 @@ "intl:release": "pnpm intl:pull && pnpm intl:extract:all", "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android", "update-extensions": "bash scripts/updateExtensions.sh", - "export": "npx expo export --dump-sourcemap && pnpm upload-native-sourcemaps", - "upload-native-sourcemaps": "npx sentry-expo-upload-sourcemaps dist", + "export": "expo export --dump-sourcemap && pnpm upload-native-sourcemaps", + "upload-native-sourcemaps": "sentry-expo-upload-sourcemaps dist", "make-deploy-bundle": "bash scripts/bundleUpdate.sh", "generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 pnpm build-web", "open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 pnpm build-web",