fix(dependencies): update to latest versions

This commit is contained in:
Philipp Kunz 2018-08-31 00:13:05 +02:00
parent adfda70522
commit 1ce9e32116
7 changed files with 652 additions and 187 deletions

View File

@ -117,8 +117,9 @@ pages:
image: hosttoday/ht-docker-node:npmci image: hosttoday/ht-docker-node:npmci
stage: metadata stage: metadata
script: script:
- npmci command npm install -g npmpage - npmci command npm install -g typedoc typescript
- npmci command npmpage - npmci npm install
- npmci command typedoc --module "commonjs" --target "ES2016" --out public/ ts/
tags: tags:
- docker - docker
- notpriv - notpriv

9
.snyk Normal file
View File

@ -0,0 +1,9 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.12.0
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
ignore:
'npm:mem:20180117':
- yargs > os-locale > mem:
reason: None given
expires: '2018-09-29T22:12:38.004Z'
patch: {}

781
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,8 +6,8 @@
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",
"scripts": { "scripts": {
"test": "(tsrun test/test.ts)", "test": "(tstest test/)",
"build": "(npmts)" "build": "(tsbuild)"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -26,23 +26,19 @@
}, },
"homepage": "https://gitlab.com/pushrocks/smartcli", "homepage": "https://gitlab.com/pushrocks/smartcli",
"dependencies": { "dependencies": {
"@types/yargs": "^11.0.0", "@pushrocks/lik": "^3.0.1",
"beautylog": "^6.1.10", "@pushrocks/smartlog": "^2.0.1",
"lik": "^2.0.5", "@pushrocks/smartpromise": "^2.0.5",
"rxjs": "^6.2.1", "@types/yargs": "^11.1.1",
"rxjs": "^6.3.0",
"smartparam": "1.0.2", "smartparam": "1.0.2",
"smartq": "^1.1.8", "yargs": "^12.0.1"
"yargs": "^11.0.0"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsrun": "^1.0.7", "@gitzone/tsbuild": "^2.0.22",
"@types/node": "^10.5.0", "@gitzone/tsrun": "^1.1.12",
"cz-conventional-changelog": "^2.1.0", "@gitzone/tstest": "^1.0.15",
"tapbundle": "^2.0.2" "@pushrocks/tapbundle": "^3.0.5",
}, "@types/node": "^10.9.4"
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
} }
} }

View File

@ -1,4 +1,4 @@
import { tap, expect } from 'tapbundle'; import { tap, expect } from '@pushrocks/tapbundle';
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import smartcli = require('../ts/index'); import smartcli = require('../ts/index');

View File

@ -4,7 +4,7 @@ import { Subject } from 'rxjs';
import * as plugins from './smartcli.plugins'; import * as plugins from './smartcli.plugins';
// import classes // import classes
import { Objectmap } from 'lik'; import { Objectmap } from '@pushrocks/lik';
// interfaces // interfaces
export interface ICommandPromiseObject { export interface ICommandPromiseObject {
@ -116,7 +116,7 @@ export class Smartcli {
*/ */
addHelp(optionsArg: { helpText: string }) { addHelp(optionsArg: { helpText: string }) {
this.addCommand('help').subscribe(argvArg => { this.addCommand('help').subscribe(argvArg => {
plugins.beautylog.log(optionsArg.helpText); plugins.smartlog.defaultLogger.info(optionsArg.helpText);
}); });
} }

View File

@ -1,7 +1,7 @@
import * as yargs from 'yargs'; import * as yargs from 'yargs';
import * as beautylog from 'beautylog'; import * as smartlog from '@pushrocks/smartlog';
import * as lik from 'lik'; import * as lik from '@pushrocks/lik';
import * as path from 'path'; import * as path from 'path';
import * as smartparam from 'smartparam'; import * as smartparam from 'smartparam';
export { yargs, beautylog, lik, path, smartparam }; export { yargs, smartlog, lik, path, smartparam };