From c43ee28a0ccbd784600822806fc44136ca7b9a95 Mon Sep 17 00:00:00 2001 From: Eugene Date: Wed, 8 Jan 2025 16:44:06 +0100 Subject: [PATCH] Update install-deps.mjs --- scripts/install-deps.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-deps.mjs b/scripts/install-deps.mjs index 9e1d4e62..bdb89514 100755 --- a/scripts/install-deps.mjs +++ b/scripts/install-deps.mjs @@ -10,6 +10,8 @@ log.info('deps', 'app') sh.cd('app') sh.exec(`yarn install --force --network-timeout 1000000`, { fatal: true }) +// Some native packages might fail to build before patch-package gets a chance to run via postinstall +sh.exec(`yarn postinstall`, { fatal: false }) sh.cd('..') sh.cd('web') @@ -21,8 +23,6 @@ vars.allPackages.forEach(plugin => { log.info('deps', plugin) sh.cd(plugin) sh.exec(`yarn install --force --network-timeout 1000000`, { fatal: true }) - // Some native packages might fail to build before patch-package gets a chance to run via postinstall - sh.exec(`yarn postinstall`, { fatal: false }) sh.cd('..') })