Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions scripts/update.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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...')
}
}
Expand All @@ -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...')
}
Expand Down