const { execSync } = require('child_process'); const repositories = ['fineui', 'fineui-materials']; repositories.forEach(repository => { execSync(`yarn upgrade ${repository}`); });