Compare commits

...

4 Commits

Author SHA1 Message Date
c274590184 5.5.2 2016-10-22 02:38:59 +02:00
de8992da84 fix some minor issues 2016-10-22 02:38:55 +02:00
dc598e1627 5.5.1 2016-10-22 01:34:11 +02:00
bfcd78b169 fix version display 2016-10-22 01:34:07 +02:00
5 changed files with 8 additions and 6 deletions

View File

@ -49,7 +49,7 @@ let checkDependencies = (configArg) => {
plugins.beautylog.warn(`Watch out: unused dependency "${item}"`);
}
for (let item in unused.missing) {
plugins.beautylog.error(`unused devDependency "${item}"`);
plugins.beautylog.error(`missing dependency "${item}" in package.json`);
}
if (unused.missing.length > 0) {
plugins.beautylog.info('exiting due to missing dependencies in package.json');

4
dist/npmts.cli.js vendored
View File

@ -50,7 +50,9 @@ exports.run = () => {
.then(NpmtsShip.run);
return done.promise;
})
.catch((err) => { console.log(err); });
.catch((err) => { if (err instanceof Error) {
console.log(err);
} });
npmtsCli.addVersion(npmtsProjectInfo.version);
npmtsCli.startParse();
return done.promise;

View File

@ -1,6 +1,6 @@
{
"name": "npmts",
"version": "5.5.0",
"version": "5.5.2",
"description": "Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.",
"main": "dist/index.js",
"bin": {
@ -69,7 +69,7 @@
"smartstring": "^2.0.17",
"smartsystem": "^1.0.9",
"source-map-support": "^0.4.5",
"tsn": "^2.0.11",
"tsn": "^2.0.13",
"typedoc": "^0.5.0",
"typescript": "next",
"typings-global": "^1.0.14"

View File

@ -54,7 +54,7 @@ let checkDependencies = (configArg) => {
plugins.beautylog.warn(`Watch out: unused dependency "${item}"`)
}
for (let item in unused.missing) {
plugins.beautylog.error(`unused devDependency "${item}"`)
plugins.beautylog.error(`missing dependency "${item}" in package.json`)
}
if (unused.missing.length > 0) {
plugins.beautylog.info('exiting due to missing dependencies in package.json')

View File

@ -53,7 +53,7 @@ export let run = () => {
return done.promise
})
.catch((err) => { console.log(err) })
.catch((err) => { if (err instanceof Error) { console.log(err) } } )
npmtsCli.addVersion(npmtsProjectInfo.version)
npmtsCli.startParse()
return done.promise