mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
1e5cfd1d4b
New standard theme that follows your chosen terminal colors, Bootstrap 5 & Angular 15 upgrade
33 lines
809 B
JavaScript
Executable file
33 lines
809 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
import sh from 'shelljs'
|
|
import * as vars from './vars.mjs'
|
|
import log from 'npmlog'
|
|
|
|
log.info('patch')
|
|
sh.exec(`yarn patch-package`, { fatal: true })
|
|
|
|
log.info('deps', 'app')
|
|
|
|
sh.cd('app')
|
|
sh.exec(`yarn install --force --network-timeout 1000000`, { fatal: true })
|
|
sh.cd('..')
|
|
|
|
sh.cd('web')
|
|
sh.exec(`yarn install --force --network-timeout 1000000`, { fatal: true })
|
|
sh.exec(`yarn patch-package`, { fatal: true })
|
|
sh.cd('..')
|
|
|
|
vars.allPackages.forEach(plugin => {
|
|
log.info('deps', plugin)
|
|
sh.cd(plugin)
|
|
sh.exec(`yarn install --force --network-timeout 1000000`, { fatal: true })
|
|
sh.cd('..')
|
|
})
|
|
|
|
if (['darwin', 'linux'].includes(process.platform)) {
|
|
sh.cd('node_modules')
|
|
for (let x of vars.builtinPlugins) {
|
|
sh.ln('-fs', '../' + x, x)
|
|
}
|
|
sh.cd('..')
|
|
}
|