remove q in favour of smartq
This commit is contained in:
4
dist/mod02/index.d.ts
vendored
4
dist/mod02/index.d.ts
vendored
@ -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
6
dist/mod02/index.js
vendored
@ -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(),
|
||||
|
Reference in New Issue
Block a user