remove q in favour of smartq

This commit is contained in:
2017-01-18 00:58:09 +01:00
parent 9f42a20e4b
commit 9a25b4ef91
33 changed files with 39 additions and 60 deletions

View File

@ -1,4 +1,2 @@
/// <reference types="q" />
import * as q from 'q';
import { INpmtsConfig } from '../npmts.config';
export declare let run: (configArg: INpmtsConfig) => q.Promise<INpmtsConfig>;
export declare let run: (configArg: INpmtsConfig) => Promise<INpmtsConfig>;

6
dist/mod02/index.js vendored
View File

@ -12,7 +12,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
* -------------------------------------------- */
const plugins = require("./mod02.plugins");
const paths = require("../npmts.paths");
const q = require("q");
const q = require("smartq");
const npmts_log_1 = require("../npmts.log");
/**
* runs mocha
@ -29,7 +29,7 @@ let mocha = function (configArg) {
target: 'ES5',
emitDecoratorMetadata: true,
experimentalDecorators: true,
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator']
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable']
}),
plugins.gulpIstanbul({}),
plugins.gulpSourcemaps.write(),
@ -49,7 +49,7 @@ let mocha = function (configArg) {
target: 'ES5',
emitDecoratorMetadata: true,
experimentalDecorators: true,
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator']
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable']
}),
plugins.gulpInjectModules(),
plugins.gulpMocha(),