mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
use yarn for plugin deps
This commit is contained in:
parent
4ba7cf106f
commit
3d29b99ddf
1 changed files with 6 additions and 9 deletions
|
@ -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('..')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue