update
This commit is contained in:
@ -8,7 +8,7 @@ early.start('NPMTS')
|
||||
import * as plugins from './npmts.plugins'
|
||||
import * as cli from './npmts.cli'
|
||||
early.stop()
|
||||
.then(() => {
|
||||
let loaded = plugins // to make sure plugins get actually loaded
|
||||
cli.run()
|
||||
})
|
||||
.then(() => {
|
||||
let loaded = plugins // to make sure plugins get actually loaded
|
||||
cli.run()
|
||||
})
|
||||
|
@ -24,6 +24,8 @@ npmtsAnalytics.sendEvent('npm','exec','git.zone')
|
||||
export let run = () => {
|
||||
let done = q.defer()
|
||||
let npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot)
|
||||
// check for updates
|
||||
plugins.smartupdate.standardHandler.check('npmts', npmtsProjectInfo.version)
|
||||
let npmtsCli = new plugins.smartcli.Smartcli()
|
||||
npmtsCli.standardTask()
|
||||
.then((argvArg) => {
|
||||
|
@ -14,6 +14,7 @@ import * as smartpath from 'smartpath'
|
||||
import * as smartstream from 'smartstream'
|
||||
import * as smartstring from 'smartstring'
|
||||
import * as smartsystem from 'smartsystem'
|
||||
import * as smartupdate from 'smartupdate'
|
||||
import * as through2 from 'through2'
|
||||
|
||||
export {
|
||||
@ -31,5 +32,6 @@ export {
|
||||
smartstream,
|
||||
smartstring,
|
||||
smartsystem,
|
||||
smartupdate,
|
||||
through2
|
||||
}
|
||||
|
Reference in New Issue
Block a user