Skip to content

Commit a174575

Browse files
committed
chore(deps): add -w flag to taze in update script
- Modified update script to always write changes to package.json
1 parent 911c229 commit a174575

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

scripts/update.mjs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,13 @@ async function main() {
2727
logger.log('\n🔨 Monorepo Dependency Update\n')
2828
}
2929

30-
// Build taze command with appropriate flags for monorepo.
31-
const tazeArgs = ['exec', 'taze', '-r']
30+
// Build taze command with appropriate flags for monorepo
31+
const tazeArgs = ['exec', 'taze', '-r', '-w']
3232

33-
if (apply) {
34-
tazeArgs.push('-w')
35-
if (!quiet) {
33+
if (!quiet) {
34+
if (apply) {
3635
logger.progress('Updating dependencies across monorepo...')
37-
}
38-
} else {
39-
if (!quiet) {
36+
} else {
4037
logger.progress('Checking for updates across monorepo...')
4138
}
4239
}

0 commit comments

Comments
 (0)