2017-06-30 22:54:55 +00:00
|
|
|
#!/usr/bin/env node
|
|
|
|
const sh = require('shelljs')
|
|
|
|
const vars = require('./vars')
|
|
|
|
const log = require('npmlog')
|
2021-12-06 08:19:32 +00:00
|
|
|
const { execSync } = require('child_process')
|
2017-06-30 22:54:55 +00:00
|
|
|
|
2021-07-11 21:03:55 +00:00
|
|
|
vars.allPackages.forEach(plugin => {
|
2021-07-01 20:56:23 +00:00
|
|
|
log.info('bump', plugin)
|
|
|
|
sh.cd(plugin)
|
2022-01-16 18:41:01 +00:00
|
|
|
sh.exec('npm --no-git-tag-version version ' + vars.version, { fatal: true })
|
2021-12-06 08:19:32 +00:00
|
|
|
execSync('npm publish', { stdio: 'inherit' })
|
2021-07-01 20:56:23 +00:00
|
|
|
sh.cd('..')
|
2017-06-30 22:54:55 +00:00
|
|
|
})
|