Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
f964b2737f | |||
6ac634e178 |
3
dist/npmts.cli.js
vendored
3
dist/npmts.cli.js
vendored
@ -30,13 +30,14 @@ let npmtsAnalytics = new plugins.smartanalytics.AnalyticsAccount('npmts', 'UA-64
|
|||||||
npmtsAnalytics.sendEvent('npm', 'exec', 'git.zone');
|
npmtsAnalytics.sendEvent('npm', 'exec', 'git.zone');
|
||||||
exports.run = () => __awaiter(this, void 0, void 0, function* () {
|
exports.run = () => __awaiter(this, void 0, void 0, function* () {
|
||||||
let done = q.defer();
|
let done = q.defer();
|
||||||
|
plugins.beautylog.figletSync('NPMTS');
|
||||||
let npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);
|
let npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);
|
||||||
// check for updates
|
// check for updates
|
||||||
yield plugins.smartupdate.standardHandler.check('npmts', npmtsProjectInfo.version);
|
yield plugins.smartupdate.standardHandler.check('npmts', npmtsProjectInfo.version);
|
||||||
|
plugins.beautylog.log('---------------------------------------------');
|
||||||
let npmtsCli = new plugins.smartcli.Smartcli();
|
let npmtsCli = new plugins.smartcli.Smartcli();
|
||||||
npmtsCli.standardTask()
|
npmtsCli.standardTask()
|
||||||
.then((argvArg) => {
|
.then((argvArg) => {
|
||||||
plugins.beautylog.figletSync('NPMTS');
|
|
||||||
plugins.beautylog.info('npmts version: ' + npmtsProjectInfo.version);
|
plugins.beautylog.info('npmts version: ' + npmtsProjectInfo.version);
|
||||||
return NpmtsConfig.run(argvArg);
|
return NpmtsConfig.run(argvArg);
|
||||||
})
|
})
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmts",
|
"name": "npmts",
|
||||||
"version": "8.0.8",
|
"version": "8.0.9",
|
||||||
"description": "best practice npm TypeScript modules",
|
"description": "best practice npm TypeScript modules",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@ -23,13 +23,14 @@ npmtsAnalytics.sendEvent('npm','exec','git.zone')
|
|||||||
|
|
||||||
export let run = async () => {
|
export let run = async () => {
|
||||||
let done = q.defer()
|
let done = q.defer()
|
||||||
|
plugins.beautylog.figletSync('NPMTS')
|
||||||
let npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot)
|
let npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot)
|
||||||
// check for updates
|
// check for updates
|
||||||
await plugins.smartupdate.standardHandler.check('npmts', npmtsProjectInfo.version)
|
await plugins.smartupdate.standardHandler.check('npmts', npmtsProjectInfo.version)
|
||||||
|
plugins.beautylog.log('---------------------------------------------')
|
||||||
let npmtsCli = new plugins.smartcli.Smartcli()
|
let npmtsCli = new plugins.smartcli.Smartcli()
|
||||||
npmtsCli.standardTask()
|
npmtsCli.standardTask()
|
||||||
.then((argvArg) => {
|
.then((argvArg) => {
|
||||||
plugins.beautylog.figletSync('NPMTS')
|
|
||||||
plugins.beautylog.info('npmts version: ' + npmtsProjectInfo.version)
|
plugins.beautylog.info('npmts version: ' + npmtsProjectInfo.version)
|
||||||
return NpmtsConfig.run(argvArg)
|
return NpmtsConfig.run(argvArg)
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user