plugin versions

This commit is contained in:
Eugene Pankov 2017-07-01 00:54:55 +02:00
parent f58cf469ed
commit b109fb8766
8 changed files with 23 additions and 6 deletions

View file

@ -80,5 +80,5 @@
"lint": "tslint -c tslint.json -t stylish terminus-*/src/**/*.ts terminus-*/src/*.ts app/src/*.ts",
"postinstall": "install-app-deps"
},
"false": {}
"repository": "eugeny/terminus"
}

View file

@ -22,3 +22,4 @@ vars.builtinPlugins.forEach(plugin => {
}
sh.cd('..')
})
fs.unlinkSync(path.join(target, 'package.json'), '{}')

11
scripts/set-plugin-versions.js Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env node
const sh = require('shelljs')
const vars = require('./vars')
const log = require('npmlog')
vars.builtinPlugins.forEach(plugin => {
log.info('bump', plugin)
sh.cd(plugin)
sh.exec('npm --no-git-tag-version version ' + vars.version)
sh.cd('..')
})

View file

@ -1,7 +1,8 @@
{
"name": "terminus-community-color-schemes",
"version": "0.0.1",
"version": "1.0.0-alpha.14",
"description": "Community color schemes for Terminus",
"keywords": ["terminus-plugin"],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {

View file

@ -1,7 +1,8 @@
{
"name": "terminus-core",
"version": "0.0.1",
"version": "1.0.0-alpha.14",
"description": "Terminus core",
"keywords": ["terminus-plugin"],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {

View file

@ -1,7 +1,8 @@
{
"name": "terminus-plugin-manager",
"version": "0.0.1",
"version": "1.0.0-alpha.14",
"description": "Terminus' plugin manager",
"keywords": ["terminus-plugin"],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {

View file

@ -1,7 +1,8 @@
{
"name": "terminus-settings",
"version": "0.0.1",
"version": "1.0.0-alpha.14",
"description": "Terminus terminal settings page",
"keywords": ["terminus-plugin"],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {

View file

@ -1,7 +1,8 @@
{
"name": "terminus-terminal",
"version": "0.0.1",
"version": "1.0.0-alpha.14",
"description": "Terminus' terminal emulation core",
"keywords": ["terminus-plugin"],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {