1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-19 08:57:34 +03:00

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')
log.info('deps', 'app')
sh.exec('npm prune')
sh.exec('npm install')
sh.exec('npm update --dev')
sh.exec('yarn prune')
sh.exec('yarn install')
sh.cd('app')
sh.exec('npm prune')
sh.exec('npm install')
sh.exec('npm update --dev')
sh.exec('yarn prune')
sh.exec('yarn install')
sh.cd('..')
vars.builtinPlugins.forEach(plugin => {
log.info('deps', plugin)
sh.cd(plugin)
sh.exec('npm prune')
sh.exec('npm install')
sh.exec('npm update --dev')
sh.exec('yarn prune')
sh.exec('yarn install')
sh.cd('..')
})