mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
OPS: Windows patches
This commit is contained in:
parent
0f87e1a81c
commit
250466af6b
2 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
||||||
"postinstall": "rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path,assert,crypto --hack; npm run releasenotes2json; npm run podinstall",
|
"postinstall": "rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path,assert,crypto --hack; npm run releasenotes2json; npm run podinstall",
|
||||||
"test": "npm run lint && npm run unit && npm run jest",
|
"test": "npm run lint && npm run unit && npm run jest",
|
||||||
"jest": "jest -b -w 1 tests/integration/*",
|
"jest": "jest -b -w 1 tests/integration/*",
|
||||||
|
"windowspatches": "./scripts/windows-patches.sh",
|
||||||
"maccatalystpatches": "./scripts/maccatalystpatches/applypatchesformaccatalyst.sh",
|
"maccatalystpatches": "./scripts/maccatalystpatches/applypatchesformaccatalyst.sh",
|
||||||
"e2e:debug-build": "detox build -c android.emu.debug",
|
"e2e:debug-build": "detox build -c android.emu.debug",
|
||||||
"e2e:debug-test": "detox test -c android.emu.debug -l fatal",
|
"e2e:debug-test": "detox test -c android.emu.debug -l fatal",
|
||||||
|
|
1
scripts/windows-patches.sh
Executable file
1
scripts/windows-patches.sh
Executable file
|
@ -0,0 +1 @@
|
||||||
|
sed -i '' 's/if (error.code === "ENOENT") {/if (error.code === "ENOENT" || error.code === 'EISDIR') {/g' ./node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js
|
Loading…
Add table
Reference in a new issue