use yarn for plugin deps

This commit is contained in:
Eugene Pankov 2017-07-15 18:16:27 +02:00
parent 4ba7cf106f
commit 3d29b99ddf

View file

@ -5,21 +5,18 @@ const vars = require('./vars')
const log = require('npmlog') const log = require('npmlog')
log.info('deps', 'app') log.info('deps', 'app')
sh.exec('npm prune') sh.exec('yarn prune')
sh.exec('npm install') sh.exec('yarn install')
sh.exec('npm update --dev')
sh.cd('app') sh.cd('app')
sh.exec('npm prune') sh.exec('yarn prune')
sh.exec('npm install') sh.exec('yarn install')
sh.exec('npm update --dev')
sh.cd('..') sh.cd('..')
vars.builtinPlugins.forEach(plugin => { vars.builtinPlugins.forEach(plugin => {
log.info('deps', plugin) log.info('deps', plugin)
sh.cd(plugin) sh.cd(plugin)
sh.exec('npm prune') sh.exec('yarn prune')
sh.exec('npm install') sh.exec('yarn install')
sh.exec('npm update --dev')
sh.cd('..') sh.cd('..')
}) })