vitest-mobile@0.4.1
Patch Changes
-
0124380: ### fix(harness): prevent bootstrap hang from npx install prompts
Add
--yesto everynpxcall in the harness builder so npx
auto-confirms package downloads instead of prompting. Under the
spinner, stdin is'ignore'— any prompt would hang indefinitely:-
npx --yes @react-native-community/cli init(scaffold step, runs
before the project'snode_modulesexist, so npx always needs to
resolve the package over the network) -
npx --yes react-native build-iosandnpx --yes react-native build-android(build steps; defensive — these usually resolve
locally afternpm install)While here, also switch
buildAndroidfrom a rawgradlew assembleDebugtonpx react-native build-androidfor symmetry with
iOS and to let the RN CLI handle codegen + Gradle wrapper setup.
Pass--tasks assembleDebugexplicitly: the CLI defaults its task
prefix tobundle(producing an.aab), notassemble(producing
the.apkwe need). The--helptext is misleading on this point.
-