remove q in favour of smartq
This commit is contained in:
parent
9f42a20e4b
commit
9a25b4ef91
4
dist/mod00/index.d.ts
vendored
4
dist/mod00/index.d.ts
vendored
@ -1,4 +1,2 @@
|
|||||||
/// <reference types="q" />
|
|
||||||
import * as q from 'q';
|
|
||||||
import { INpmtsConfig } from '../npmts.config';
|
import { INpmtsConfig } from '../npmts.config';
|
||||||
export declare let run: (configArg: INpmtsConfig) => q.Promise<INpmtsConfig>;
|
export declare let run: (configArg: INpmtsConfig) => Promise<INpmtsConfig>;
|
||||||
|
2
dist/mod00/index.js
vendored
2
dist/mod00/index.js
vendored
@ -2,7 +2,7 @@
|
|||||||
/* ------------------------------------------
|
/* ------------------------------------------
|
||||||
* This module compiles TypeScript files
|
* This module compiles TypeScript files
|
||||||
* -------------------------------------------- */
|
* -------------------------------------------- */
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const npmts_log_1 = require("../npmts.log");
|
const npmts_log_1 = require("../npmts.log");
|
||||||
const NpmtsAssets = require("./mod00.assets");
|
const NpmtsAssets = require("./mod00.assets");
|
||||||
const NpmtsCheck = require("./mod00.check");
|
const NpmtsCheck = require("./mod00.check");
|
||||||
|
4
dist/mod00/mod00.assets.d.ts
vendored
4
dist/mod00/mod00.assets.d.ts
vendored
@ -1,3 +1 @@
|
|||||||
/// <reference types="q" />
|
export declare let run: (configArg: any) => Promise<{}>;
|
||||||
import * as q from 'q';
|
|
||||||
export declare var run: (configArg: any) => q.Promise<{}>;
|
|
||||||
|
2
dist/mod00/mod00.assets.js
vendored
2
dist/mod00/mod00.assets.js
vendored
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const paths = require("../npmts.paths");
|
const paths = require("../npmts.paths");
|
||||||
const npmts_log_1 = require("../npmts.log");
|
const npmts_log_1 = require("../npmts.log");
|
||||||
const plugins = require("./mod00.plugins");
|
const plugins = require("./mod00.plugins");
|
||||||
|
4
dist/mod00/mod00.check.d.ts
vendored
4
dist/mod00/mod00.check.d.ts
vendored
@ -1,5 +1,3 @@
|
|||||||
/// <reference types="q" />
|
|
||||||
import * as q from 'q';
|
|
||||||
import { ProjectinfoNpm } from 'projectinfo';
|
import { ProjectinfoNpm } from 'projectinfo';
|
||||||
export declare let projectInfo: ProjectinfoNpm;
|
export declare let projectInfo: ProjectinfoNpm;
|
||||||
export declare let run: (configArg: any) => q.Promise<{}>;
|
export declare let run: (configArg: any) => Promise<{}>;
|
||||||
|
2
dist/mod00/mod00.check.js
vendored
2
dist/mod00/mod00.check.js
vendored
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const projectinfo_1 = require("projectinfo");
|
const projectinfo_1 = require("projectinfo");
|
||||||
const paths = require("../npmts.paths");
|
const paths = require("../npmts.paths");
|
||||||
const npmts_log_1 = require("../npmts.log");
|
const npmts_log_1 = require("../npmts.log");
|
||||||
|
4
dist/mod00/mod00.clean.d.ts
vendored
4
dist/mod00/mod00.clean.d.ts
vendored
@ -1,3 +1 @@
|
|||||||
/// <reference types="q" />
|
export declare let run: (configArg: any) => Promise<{}>;
|
||||||
import * as q from 'q';
|
|
||||||
export declare let run: (configArg: any) => q.Promise<{}>;
|
|
||||||
|
2
dist/mod00/mod00.clean.js
vendored
2
dist/mod00/mod00.clean.js
vendored
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const paths = require("../npmts.paths");
|
const paths = require("../npmts.paths");
|
||||||
const npmts_log_1 = require("../npmts.log");
|
const npmts_log_1 = require("../npmts.log");
|
||||||
const plugins = require("./mod00.plugins");
|
const plugins = require("./mod00.plugins");
|
||||||
|
4
dist/mod00/mod00.compile.d.ts
vendored
4
dist/mod00/mod00.compile.d.ts
vendored
@ -1,3 +1 @@
|
|||||||
/// <reference types="q" />
|
export declare let run: (configArg: any) => Promise<{}>;
|
||||||
import * as q from 'q';
|
|
||||||
export declare let run: (configArg: any) => q.Promise<{}>;
|
|
||||||
|
2
dist/mod00/mod00.compile.js
vendored
2
dist/mod00/mod00.compile.js
vendored
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const paths = require("../npmts.paths");
|
const paths = require("../npmts.paths");
|
||||||
const npmts_log_1 = require("../npmts.log");
|
const npmts_log_1 = require("../npmts.log");
|
||||||
const plugins = require("./mod00.plugins");
|
const plugins = require("./mod00.plugins");
|
||||||
|
4
dist/mod01/index.d.ts
vendored
4
dist/mod01/index.d.ts
vendored
@ -1,4 +1,2 @@
|
|||||||
/// <reference types="q" />
|
|
||||||
import * as q from 'q';
|
|
||||||
import { INpmtsConfig } from '../npmts.config';
|
import { INpmtsConfig } from '../npmts.config';
|
||||||
export declare let run: (configArg: INpmtsConfig) => q.Promise<INpmtsConfig>;
|
export declare let run: (configArg: INpmtsConfig) => Promise<INpmtsConfig>;
|
||||||
|
2
dist/mod01/index.js
vendored
2
dist/mod01/index.js
vendored
@ -2,7 +2,7 @@
|
|||||||
/* ------------------------------------------
|
/* ------------------------------------------
|
||||||
* This module creates TypeScript documentation
|
* This module creates TypeScript documentation
|
||||||
* -------------------------------------------- */
|
* -------------------------------------------- */
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
exports.run = function (configArg) {
|
exports.run = function (configArg) {
|
||||||
let done = q.defer();
|
let done = q.defer();
|
||||||
done.resolve(configArg);
|
done.resolve(configArg);
|
||||||
|
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';
|
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 plugins = require("./mod02.plugins");
|
||||||
const paths = require("../npmts.paths");
|
const paths = require("../npmts.paths");
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const npmts_log_1 = require("../npmts.log");
|
const npmts_log_1 = require("../npmts.log");
|
||||||
/**
|
/**
|
||||||
* runs mocha
|
* runs mocha
|
||||||
@ -29,7 +29,7 @@ let mocha = function (configArg) {
|
|||||||
target: 'ES5',
|
target: 'ES5',
|
||||||
emitDecoratorMetadata: true,
|
emitDecoratorMetadata: true,
|
||||||
experimentalDecorators: true,
|
experimentalDecorators: true,
|
||||||
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator']
|
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable']
|
||||||
}),
|
}),
|
||||||
plugins.gulpIstanbul({}),
|
plugins.gulpIstanbul({}),
|
||||||
plugins.gulpSourcemaps.write(),
|
plugins.gulpSourcemaps.write(),
|
||||||
@ -49,7 +49,7 @@ let mocha = function (configArg) {
|
|||||||
target: 'ES5',
|
target: 'ES5',
|
||||||
emitDecoratorMetadata: true,
|
emitDecoratorMetadata: true,
|
||||||
experimentalDecorators: true,
|
experimentalDecorators: true,
|
||||||
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator']
|
lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable']
|
||||||
}),
|
}),
|
||||||
plugins.gulpInjectModules(),
|
plugins.gulpInjectModules(),
|
||||||
plugins.gulpMocha(),
|
plugins.gulpMocha(),
|
||||||
|
4
dist/npmts.cli.d.ts
vendored
4
dist/npmts.cli.d.ts
vendored
@ -1,3 +1 @@
|
|||||||
/// <reference types="q" />
|
export declare let run: () => Promise<{}>;
|
||||||
import * as q from 'q';
|
|
||||||
export declare let run: () => q.Promise<{}>;
|
|
||||||
|
2
dist/npmts.cli.js
vendored
2
dist/npmts.cli.js
vendored
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const plugins = require("./npmts.plugins");
|
const plugins = require("./npmts.plugins");
|
||||||
const paths = require("./npmts.paths");
|
const paths = require("./npmts.paths");
|
||||||
const NpmtsConfig = require("./npmts.config");
|
const NpmtsConfig = require("./npmts.config");
|
||||||
|
4
dist/npmts.config.d.ts
vendored
4
dist/npmts.config.d.ts
vendored
@ -1,5 +1,3 @@
|
|||||||
/// <reference types="q" />
|
|
||||||
import * as q from 'q';
|
|
||||||
export declare type npmtsMode = 'default' | 'custom';
|
export declare type npmtsMode = 'default' | 'custom';
|
||||||
export interface INpmtsConfig {
|
export interface INpmtsConfig {
|
||||||
argv: any;
|
argv: any;
|
||||||
@ -11,4 +9,4 @@ export interface INpmtsConfig {
|
|||||||
tsOptions: any;
|
tsOptions: any;
|
||||||
watch: boolean;
|
watch: boolean;
|
||||||
}
|
}
|
||||||
export declare var run: (argvArg: any) => q.Promise<{}>;
|
export declare let run: (argvArg: any) => Promise<{}>;
|
||||||
|
2
dist/npmts.config.js
vendored
2
dist/npmts.config.js
vendored
@ -1,7 +1,7 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
const plugins = require("./npmts.plugins");
|
const plugins = require("./npmts.plugins");
|
||||||
const paths = require("./npmts.paths");
|
const paths = require("./npmts.paths");
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const npmts_log_1 = require("./npmts.log");
|
const npmts_log_1 = require("./npmts.log");
|
||||||
;
|
;
|
||||||
exports.run = function (argvArg) {
|
exports.run = function (argvArg) {
|
||||||
|
2
dist/npmts.ship.js
vendored
2
dist/npmts.ship.js
vendored
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const plugins = require("./npmts.plugins");
|
const plugins = require("./npmts.plugins");
|
||||||
exports.run = (configArg) => {
|
exports.run = (configArg) => {
|
||||||
let done = q.defer();
|
let done = q.defer();
|
||||||
|
4
dist/npmts.watch.d.ts
vendored
4
dist/npmts.watch.d.ts
vendored
@ -1,4 +1,2 @@
|
|||||||
/// <reference types="q" />
|
|
||||||
import * as q from 'q';
|
|
||||||
import { INpmtsConfig } from './npmts.config';
|
import { INpmtsConfig } from './npmts.config';
|
||||||
export declare let run: (configArg: INpmtsConfig) => q.Promise<{}>;
|
export declare let run: (configArg: INpmtsConfig) => Promise<{}>;
|
||||||
|
2
dist/npmts.watch.js
vendored
2
dist/npmts.watch.js
vendored
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
const q = require("q");
|
const q = require("smartq");
|
||||||
const smartchok = require("smartchok");
|
const smartchok = require("smartchok");
|
||||||
const plugins = require("./npmts.plugins");
|
const plugins = require("./npmts.plugins");
|
||||||
const cli = require("./npmts.cli");
|
const cli = require("./npmts.cli");
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
"@types/gulp-mocha": "0.0.29",
|
"@types/gulp-mocha": "0.0.29",
|
||||||
"@types/gulp-sourcemaps": "0.0.29",
|
"@types/gulp-sourcemaps": "0.0.29",
|
||||||
"@types/minimatch": "^2.0.29",
|
"@types/minimatch": "^2.0.29",
|
||||||
"@types/q": "^0.x.x",
|
|
||||||
"@types/shelljs": "^0.3.33",
|
"@types/shelljs": "^0.3.33",
|
||||||
"@types/through2": "^2.0.32",
|
"@types/through2": "^2.0.32",
|
||||||
"beautylog": "6.0.0",
|
"beautylog": "6.0.0",
|
||||||
@ -55,7 +54,6 @@
|
|||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"npmextra": "^2.0.3",
|
"npmextra": "^2.0.3",
|
||||||
"projectinfo": "3.0.1",
|
"projectinfo": "3.0.1",
|
||||||
"q": "^1.4.1",
|
|
||||||
"shelljs": "^0.7.6",
|
"shelljs": "^0.7.6",
|
||||||
"smartchok": "^1.0.4",
|
"smartchok": "^1.0.4",
|
||||||
"smartcli": "2.0.1",
|
"smartcli": "2.0.1",
|
||||||
@ -63,6 +61,7 @@
|
|||||||
"smartenv": "2.0.0",
|
"smartenv": "2.0.0",
|
||||||
"smartfile": "4.1.2",
|
"smartfile": "4.1.2",
|
||||||
"smartpath": "3.2.7",
|
"smartpath": "3.2.7",
|
||||||
|
"smartq": "^1.0.2",
|
||||||
"smartstream": "^1.0.5",
|
"smartstream": "^1.0.5",
|
||||||
"smartstring": "^2.0.22",
|
"smartstring": "^2.0.22",
|
||||||
"smartsystem": "^1.0.12",
|
"smartsystem": "^1.0.12",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* ------------------------------------------
|
/* ------------------------------------------
|
||||||
* This module compiles TypeScript files
|
* This module compiles TypeScript files
|
||||||
* -------------------------------------------- */
|
* -------------------------------------------- */
|
||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
|
|
||||||
import { npmtsOra } from '../npmts.log'
|
import { npmtsOra } from '../npmts.log'
|
||||||
import { INpmtsConfig } from '../npmts.config'
|
import { INpmtsConfig } from '../npmts.config'
|
||||||
@ -13,7 +13,7 @@ import * as NpmtsCheck from './mod00.check'
|
|||||||
import * as NpmtsClean from './mod00.clean'
|
import * as NpmtsClean from './mod00.clean'
|
||||||
import * as NpmtsCompile from './mod00.compile'
|
import * as NpmtsCompile from './mod00.compile'
|
||||||
|
|
||||||
export let run = function(configArg: INpmtsConfig): q.Promise<INpmtsConfig> {
|
export let run = function(configArg: INpmtsConfig): Promise<INpmtsConfig> {
|
||||||
let done = q.defer<INpmtsConfig>()
|
let done = q.defer<INpmtsConfig>()
|
||||||
npmtsOra.text('starting TypeScript Compilation')
|
npmtsOra.text('starting TypeScript Compilation')
|
||||||
NpmtsClean.run(configArg)
|
NpmtsClean.run(configArg)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
|
|
||||||
import paths = require('../npmts.paths')
|
import paths = require('../npmts.paths')
|
||||||
import { npmtsOra } from '../npmts.log'
|
import { npmtsOra } from '../npmts.log'
|
||||||
@ -6,7 +6,7 @@ import { npmtsOra } from '../npmts.log'
|
|||||||
import plugins = require('./mod00.plugins')
|
import plugins = require('./mod00.plugins')
|
||||||
import { projectInfo } from '../mod00/mod00.check'
|
import { projectInfo } from '../mod00/mod00.check'
|
||||||
|
|
||||||
export var run = function(configArg){
|
export let run = function(configArg){
|
||||||
let done = q.defer()
|
let done = q.defer()
|
||||||
let config = configArg
|
let config = configArg
|
||||||
npmtsOra.text('now looking at ' + 'required assets'.yellow)
|
npmtsOra.text('now looking at ' + 'required assets'.yellow)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
import { ProjectinfoNpm } from 'projectinfo'
|
import { ProjectinfoNpm } from 'projectinfo'
|
||||||
|
|
||||||
import * as paths from '../npmts.paths'
|
import * as paths from '../npmts.paths'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
import paths = require('../npmts.paths')
|
import paths = require('../npmts.paths')
|
||||||
|
|
||||||
import { npmtsOra } from '../npmts.log'
|
import { npmtsOra } from '../npmts.log'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
|
|
||||||
import * as paths from '../npmts.paths'
|
import * as paths from '../npmts.paths'
|
||||||
import { npmtsOra } from '../npmts.log'
|
import { npmtsOra } from '../npmts.log'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* ------------------------------------------
|
/* ------------------------------------------
|
||||||
* This module creates TypeScript documentation
|
* This module creates TypeScript documentation
|
||||||
* -------------------------------------------- */
|
* -------------------------------------------- */
|
||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
|
|
||||||
import * as paths from '../npmts.paths'
|
import * as paths from '../npmts.paths'
|
||||||
import { npmtsOra } from '../npmts.log'
|
import { npmtsOra } from '../npmts.log'
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
import plugins = require('./mod02.plugins')
|
import plugins = require('./mod02.plugins')
|
||||||
import paths = require('../npmts.paths')
|
import paths = require('../npmts.paths')
|
||||||
|
|
||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
|
|
||||||
import { npmtsOra } from '../npmts.log'
|
import { npmtsOra } from '../npmts.log'
|
||||||
import { INpmtsConfig } from '../npmts.config'
|
import { INpmtsConfig } from '../npmts.config'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
|
|
||||||
import * as plugins from './npmts.plugins'
|
import * as plugins from './npmts.plugins'
|
||||||
import * as paths from './npmts.paths'
|
import * as paths from './npmts.paths'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import plugins = require('./npmts.plugins')
|
import plugins = require('./npmts.plugins')
|
||||||
import paths = require('./npmts.paths')
|
import paths = require('./npmts.paths')
|
||||||
|
|
||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
|
|
||||||
import { npmtsOra } from './npmts.log'
|
import { npmtsOra } from './npmts.log'
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ export interface INpmtsConfig {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export var run = function (argvArg) {
|
export let run = function (argvArg) {
|
||||||
let done = q.defer()
|
let done = q.defer()
|
||||||
let defaultConfig: INpmtsConfig = {
|
let defaultConfig: INpmtsConfig = {
|
||||||
argv: undefined,
|
argv: undefined,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
|
|
||||||
import * as plugins from './npmts.plugins'
|
import * as plugins from './npmts.plugins'
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import * as q from 'q'
|
import * as q from 'smartq'
|
||||||
import * as smartchok from 'smartchok'
|
import * as smartchok from 'smartchok'
|
||||||
|
|
||||||
import * as plugins from './npmts.plugins'
|
import * as plugins from './npmts.plugins'
|
||||||
|
Loading…
Reference in New Issue
Block a user