2017-06-30 22:54:55 +00:00
|
|
|
#!/usr/bin/env node
|
2023-02-26 19:42:31 +00:00
|
|
|
import sh from 'shelljs'
|
|
|
|
import * as vars from './vars.mjs'
|
|
|
|
import log from 'npmlog'
|
|
|
|
import { execSync } from '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
|
|
|
})
|