diff --git a/scripts/update.mjs b/scripts/update.mjs index 65d34e7e..c9fdda5a 100644 --- a/scripts/update.mjs +++ b/scripts/update.mjs @@ -31,16 +31,13 @@ async function main() { logger.log('\n🔨 Monorepo Dependency Update\n') } - // Build taze command with appropriate flags for monorepo. - const tazeArgs = ['exec', 'taze', '-r'] + // Build taze command with appropriate flags for monorepo + const tazeArgs = ['exec', 'taze', '-r', '-w'] - if (apply) { - tazeArgs.push('-w') - if (!quiet) { + if (!quiet) { + if (apply) { logger.progress('Updating dependencies across monorepo...') - } - } else { - if (!quiet) { + } else { logger.progress('Checking for updates across monorepo...') } } @@ -56,8 +53,8 @@ async function main() { process.stdout.write('\r\x1b[K') } - // If applying updates, also update Socket packages. - if (apply && result.code === 0) { + // Always update Socket packages when applying (bypass taze maturity period). + if (apply) { if (!quiet) { logger.progress('Updating Socket packages...') }