feat(update): add colored messages for what is being updated

This commit is contained in:
matt1432 2025-04-11 12:10:32 -04:00
commit e9fffbc3b6
7 changed files with 21 additions and 2 deletions
apps/update-sources/src

View file

@ -3,6 +3,7 @@ import { accessSync, constants, existsSync } from 'node:fs';
import { spawnSync } from 'node:child_process';
import { replaceInFile, npmRun } from './lib';
import { styleText } from 'node:util';
/* Constants */
@ -72,7 +73,7 @@ const prefetchNpmDeps = (workspaceDir: string): string => {
export default async() => {
console.log('Updating node modules');
console.log(styleText(['magenta'], '\nUpdating node modules:\n'));
const updates = {};