Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
186460d437 | |||
30c2db9ed1 | |||
3e5ab24b90 | |||
6d63b620f1 | |||
a9270cda03 | |||
2a0a5cea8c | |||
b2d8cb53f3 | |||
875efe413a |
@ -5,7 +5,7 @@ Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.
|
|||||||
[](https://www.npmjs.com/package/npmts)
|
[](https://www.npmjs.com/package/npmts)
|
||||||
[](https://gitlab.com/pushrocks/npmts)
|
[](https://gitlab.com/pushrocks/npmts)
|
||||||
[](https://github.com/pushrocks/npmts)
|
[](https://github.com/pushrocks/npmts)
|
||||||
[](https://pushrocks.gitlab.io/npmts/docs)
|
[](https://pushrocks.gitlab.io/npmts/gitbook)
|
||||||
|
|
||||||
## Status for master
|
## Status for master
|
||||||
[](https://gitlab.com/pushrocks/npmts/commits/master)
|
[](https://gitlab.com/pushrocks/npmts/commits/master)
|
||||||
|
10
dist/index.js
vendored
10
dist/index.js
vendored
@ -1,13 +1,13 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
/* ================================================== *
|
/* ================================================== *
|
||||||
Starting NPMTS main process.
|
Starting NPMTS main process.
|
||||||
* ================================================== */
|
* ================================================== */
|
||||||
var early = require('early');
|
var early = require("early");
|
||||||
early.start('NPMTS');
|
early.start('NPMTS');
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var paths = require('./npmts.paths');
|
var paths = require("./npmts.paths");
|
||||||
var npmts_promisechain_1 = require('./npmts.promisechain');
|
var npmts_promisechain_1 = require("./npmts.promisechain");
|
||||||
early.stop()
|
early.stop()
|
||||||
.then(function () {
|
.then(function () {
|
||||||
var npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);
|
var npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);
|
||||||
|
8
dist/npmts.assets.js
vendored
8
dist/npmts.assets.js
vendored
@ -1,8 +1,8 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var paths = require('./npmts.paths');
|
var paths = require("./npmts.paths");
|
||||||
var npmts_promisechain_1 = require('./npmts.promisechain');
|
var npmts_promisechain_1 = require("./npmts.promisechain");
|
||||||
exports.run = function (configArg) {
|
exports.run = function (configArg) {
|
||||||
var done = plugins.Q.defer();
|
var done = plugins.Q.defer();
|
||||||
var config = configArg;
|
var config = configArg;
|
||||||
|
8
dist/npmts.check.js
vendored
8
dist/npmts.check.js
vendored
@ -1,8 +1,8 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var paths = require('./npmts.paths');
|
var paths = require("./npmts.paths");
|
||||||
var npmts_promisechain_1 = require('./npmts.promisechain');
|
var npmts_promisechain_1 = require("./npmts.promisechain");
|
||||||
var projectinfo_1 = require('projectinfo');
|
var projectinfo_1 = require("projectinfo");
|
||||||
var checkProjectTypings = function (configArg) {
|
var checkProjectTypings = function (configArg) {
|
||||||
var done = plugins.Q.defer();
|
var done = plugins.Q.defer();
|
||||||
exports.projectInfo = new projectinfo_1.ProjectinfoNpm(paths.cwd);
|
exports.projectInfo = new projectinfo_1.ProjectinfoNpm(paths.cwd);
|
||||||
|
8
dist/npmts.clean.js
vendored
8
dist/npmts.clean.js
vendored
@ -1,8 +1,8 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var paths = require('./npmts.paths');
|
var paths = require("./npmts.paths");
|
||||||
var npmts_promisechain_1 = require('./npmts.promisechain');
|
var npmts_promisechain_1 = require("./npmts.promisechain");
|
||||||
var removeDist = function () {
|
var removeDist = function () {
|
||||||
npmts_promisechain_1.npmtsOra.text('cleaning dist folder');
|
npmts_promisechain_1.npmtsOra.text('cleaning dist folder');
|
||||||
return plugins.smartfile.fs.remove(paths.distDir);
|
return plugins.smartfile.fs.remove(paths.distDir);
|
||||||
|
4
dist/npmts.compile.helpers.js
vendored
4
dist/npmts.compile.helpers.js
vendored
@ -1,6 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var paths = require('./npmts.paths');
|
var paths = require("./npmts.paths");
|
||||||
var outputPathIsDir = function (tsArrayArg, keyArg) {
|
var outputPathIsDir = function (tsArrayArg, keyArg) {
|
||||||
return plugins.smartpath.check.isDir(plugins.path.join(paths.cwd, tsArrayArg[keyArg]));
|
return plugins.smartpath.check.isDir(plugins.path.join(paths.cwd, tsArrayArg[keyArg]));
|
||||||
};
|
};
|
||||||
|
10
dist/npmts.compile.js
vendored
10
dist/npmts.compile.js
vendored
@ -1,8 +1,8 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var helpers = require('./npmts.compile.helpers');
|
var helpers = require("./npmts.compile.helpers");
|
||||||
var npmts_promisechain_1 = require('./npmts.promisechain');
|
var npmts_promisechain_1 = require("./npmts.promisechain");
|
||||||
var promiseArray = [];
|
var promiseArray = [];
|
||||||
var compileTs = function (tsFileArrayArg, tsOptionsArg) {
|
var compileTs = function (tsFileArrayArg, tsOptionsArg) {
|
||||||
if (tsOptionsArg === void 0) { tsOptionsArg = {}; }
|
if (tsOptionsArg === void 0) { tsOptionsArg = {}; }
|
||||||
@ -25,7 +25,7 @@ var compileTs = function (tsFileArrayArg, tsOptionsArg) {
|
|||||||
};
|
};
|
||||||
return compilerOptions;
|
return compilerOptions;
|
||||||
};
|
};
|
||||||
var _loop_1 = function(keyArg) {
|
var _loop_1 = function (keyArg) {
|
||||||
plugins.beautylog.info("TypeScript assignment: transpile from " + keyArg.blue + " to " + tsFileArrayArg[keyArg].blue);
|
plugins.beautylog.info("TypeScript assignment: transpile from " + keyArg.blue + " to " + tsFileArrayArg[keyArg].blue);
|
||||||
if (helpers.checkOutputPath(tsFileArrayArg, keyArg)) {
|
if (helpers.checkOutputPath(tsFileArrayArg, keyArg)) {
|
||||||
var filesReadPromise = plugins.smartfile.fs.listFileTree(process.cwd(), keyArg)
|
var filesReadPromise = plugins.smartfile.fs.listFileTree(process.cwd(), keyArg)
|
||||||
|
2
dist/npmts.options.d.ts
vendored
2
dist/npmts.options.d.ts
vendored
@ -2,7 +2,7 @@
|
|||||||
import 'typings-global';
|
import 'typings-global';
|
||||||
import plugins = require('./npmts.plugins');
|
import plugins = require('./npmts.plugins');
|
||||||
export declare type npmtsMode = 'default' | 'custom';
|
export declare type npmtsMode = 'default' | 'custom';
|
||||||
export interface npmtsConfig {
|
export interface INpmtsConfig {
|
||||||
argv: any;
|
argv: any;
|
||||||
coverageTreshold: number;
|
coverageTreshold: number;
|
||||||
docs: boolean;
|
docs: boolean;
|
||||||
|
14
dist/npmts.options.js
vendored
14
dist/npmts.options.js
vendored
@ -1,8 +1,8 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var paths = require('./npmts.paths');
|
var paths = require("./npmts.paths");
|
||||||
var npmts_promisechain_1 = require('./npmts.promisechain');
|
var npmts_promisechain_1 = require("./npmts.promisechain");
|
||||||
;
|
;
|
||||||
exports.run = function (argvArg) {
|
exports.run = function (argvArg) {
|
||||||
var done = plugins.Q.defer();
|
var done = plugins.Q.defer();
|
||||||
@ -41,12 +41,10 @@ exports.run = function (argvArg) {
|
|||||||
if (config.mode === 'default') {
|
if (config.mode === 'default') {
|
||||||
config.ts = (_a = {},
|
config.ts = (_a = {},
|
||||||
_a['./ts/**/*.ts'] = './dist/',
|
_a['./ts/**/*.ts'] = './dist/',
|
||||||
_a
|
_a);
|
||||||
);
|
|
||||||
config.testTs = (_b = {},
|
config.testTs = (_b = {},
|
||||||
_b['./test/test.ts'] = './test/',
|
_b['./test/test.ts'] = './test/',
|
||||||
_b
|
_b);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
// mix with commandline
|
// mix with commandline
|
||||||
|
4
dist/npmts.paths.js
vendored
4
dist/npmts.paths.js
vendored
@ -1,6 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
// NPMTS Paths
|
// NPMTS Paths
|
||||||
exports.npmtsPackageRoot = plugins.path.join(__dirname, '../');
|
exports.npmtsPackageRoot = plugins.path.join(__dirname, '../');
|
||||||
// Project paths
|
// Project paths
|
||||||
|
32
dist/npmts.plugins.js
vendored
32
dist/npmts.plugins.js
vendored
@ -1,8 +1,8 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
exports.beautylog = require('beautylog');
|
exports.beautylog = require("beautylog");
|
||||||
exports.depcheck = require('depcheck');
|
exports.depcheck = require('depcheck');
|
||||||
exports.gulp = require('gulp');
|
exports.gulp = require("gulp");
|
||||||
exports.g = {
|
exports.g = {
|
||||||
babel: require('gulp-babel'),
|
babel: require('gulp-babel'),
|
||||||
istanbul: require('gulp-istanbul'),
|
istanbul: require('gulp-istanbul'),
|
||||||
@ -12,17 +12,17 @@ exports.g = {
|
|||||||
sourcemaps: require('gulp-sourcemaps'),
|
sourcemaps: require('gulp-sourcemaps'),
|
||||||
typedoc: require('gulp-typedoc')
|
typedoc: require('gulp-typedoc')
|
||||||
};
|
};
|
||||||
exports.lodashObject = require('lodash');
|
exports.lodashObject = require("lodash");
|
||||||
exports.npmextra = require('npmextra');
|
exports.npmextra = require("npmextra");
|
||||||
exports.projectinfo = require('projectinfo');
|
exports.projectinfo = require("projectinfo");
|
||||||
exports.path = require('path');
|
exports.path = require("path");
|
||||||
exports.Q = require('q');
|
exports.Q = require("q");
|
||||||
exports.shelljs = require('shelljs');
|
exports.shelljs = require("shelljs");
|
||||||
exports.smartcli = require('smartcli');
|
exports.smartcli = require("smartcli");
|
||||||
exports.smartcov = require('smartcov');
|
exports.smartcov = require("smartcov");
|
||||||
exports.smartenv = require('smartenv');
|
exports.smartenv = require("smartenv");
|
||||||
exports.smartfile = require('smartfile');
|
exports.smartfile = require("smartfile");
|
||||||
exports.smartpath = require('smartpath');
|
exports.smartpath = require("smartpath");
|
||||||
exports.smartstring = require('smartstring');
|
exports.smartstring = require("smartstring");
|
||||||
exports.sourceMapSupport = require('source-map-support').install(); // display errors correctly during testing
|
exports.sourceMapSupport = require('source-map-support').install(); // display errors correctly during testing
|
||||||
exports.tsn = require('tsn');
|
exports.tsn = require("tsn");
|
||||||
|
20
dist/npmts.promisechain.js
vendored
20
dist/npmts.promisechain.js
vendored
@ -1,15 +1,15 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var beautylog_1 = require('beautylog');
|
var beautylog_1 = require("beautylog");
|
||||||
exports.npmtsOra = new beautylog_1.Ora('setting up TaskChain', 'cyan');
|
exports.npmtsOra = new beautylog_1.Ora('setting up TaskChain', 'cyan');
|
||||||
var NpmtsAssets = require('./npmts.assets');
|
var NpmtsAssets = require("./npmts.assets");
|
||||||
var NpmtsCheck = require('./npmts.check');
|
var NpmtsCheck = require("./npmts.check");
|
||||||
var NpmtsClean = require('./npmts.clean');
|
var NpmtsClean = require("./npmts.clean");
|
||||||
var NpmtsCompile = require('./npmts.compile');
|
var NpmtsCompile = require("./npmts.compile");
|
||||||
var NpmtsTypeDoc = require('./npmts.typedoc');
|
var NpmtsTypeDoc = require("./npmts.typedoc");
|
||||||
var NpmtsOptions = require('./npmts.options');
|
var NpmtsOptions = require("./npmts.options");
|
||||||
var NpmtsTests = require('./npmts.tests');
|
var NpmtsTests = require("./npmts.tests");
|
||||||
exports.promisechain = function (argvArg) {
|
exports.promisechain = function (argvArg) {
|
||||||
var done = plugins.Q.defer();
|
var done = plugins.Q.defer();
|
||||||
exports.npmtsOra.start();
|
exports.npmtsOra.start();
|
||||||
|
12
dist/npmts.tests.js
vendored
12
dist/npmts.tests.js
vendored
@ -1,8 +1,8 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var paths = require('./npmts.paths');
|
var paths = require("./npmts.paths");
|
||||||
var npmts_promisechain_1 = require('./npmts.promisechain');
|
var npmts_promisechain_1 = require("./npmts.promisechain");
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @returns {*}
|
* @returns {*}
|
||||||
@ -46,12 +46,12 @@ var coverage = function (configArg) {
|
|||||||
plugins.smartcov.get.percentage(plugins.path.join(paths.coverageDir, 'lcov.info'), 2)
|
plugins.smartcov.get.percentage(plugins.path.join(paths.coverageDir, 'lcov.info'), 2)
|
||||||
.then(function (percentageArg) {
|
.then(function (percentageArg) {
|
||||||
if (percentageArg >= configArg.coverageTreshold) {
|
if (percentageArg >= configArg.coverageTreshold) {
|
||||||
plugins.beautylog.ok((percentageArg.toString() + "% ")
|
plugins.beautylog.ok(percentageArg.toString() + "% "
|
||||||
+ "coverage exceeds your treshold of "
|
+ "coverage exceeds your treshold of "
|
||||||
+ (configArg.coverageTreshold.toString() + "%"));
|
+ (configArg.coverageTreshold.toString() + "%"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
plugins.beautylog.warn((percentageArg.toString() + "% ")
|
plugins.beautylog.warn(percentageArg.toString() + "% "
|
||||||
+ "coverage fails your treshold of "
|
+ "coverage fails your treshold of "
|
||||||
+ (configArg.coverageTreshold.toString() + "%"));
|
+ (configArg.coverageTreshold.toString() + "%"));
|
||||||
plugins.beautylog.error('exiting due to coverage failure');
|
plugins.beautylog.error('exiting due to coverage failure');
|
||||||
|
10
dist/npmts.typedoc.js
vendored
10
dist/npmts.typedoc.js
vendored
@ -1,9 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
require('typings-global');
|
require("typings-global");
|
||||||
var plugins = require('./npmts.plugins');
|
var plugins = require("./npmts.plugins");
|
||||||
var paths = require('./npmts.paths');
|
var paths = require("./npmts.paths");
|
||||||
var npmts_promisechain_1 = require('./npmts.promisechain');
|
var npmts_promisechain_1 = require("./npmts.promisechain");
|
||||||
var npmts_check_1 = require('./npmts.check');
|
var npmts_check_1 = require("./npmts.check");
|
||||||
var genTypeDoc = function (configArg) {
|
var genTypeDoc = function (configArg) {
|
||||||
var done = plugins.Q.defer();
|
var done = plugins.Q.defer();
|
||||||
npmts_promisechain_1.npmtsOra.text('now generating ' + 'TypeDoc documentation'.yellow);
|
npmts_promisechain_1.npmtsOra.text('now generating ' + 'TypeDoc documentation'.yellow);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmts",
|
"name": "npmts",
|
||||||
"version": "5.4.29",
|
"version": "5.4.33",
|
||||||
"description": "Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.",
|
"description": "Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
@ -37,7 +37,7 @@
|
|||||||
"@types/q": "^0.x.x",
|
"@types/q": "^0.x.x",
|
||||||
"@types/shelljs": "^0.3.30",
|
"@types/shelljs": "^0.3.30",
|
||||||
"babel-preset-es2015": "^6.14.0",
|
"babel-preset-es2015": "^6.14.0",
|
||||||
"beautylog": "5.0.22",
|
"beautylog": "5.0.23",
|
||||||
"depcheck": "^0.6.4",
|
"depcheck": "^0.6.4",
|
||||||
"early": "^2.0.26",
|
"early": "^2.0.26",
|
||||||
"gulp": "3.9.1",
|
"gulp": "3.9.1",
|
||||||
@ -53,14 +53,14 @@
|
|||||||
"projectinfo": "1.0.3",
|
"projectinfo": "1.0.3",
|
||||||
"q": "^1.4.1",
|
"q": "^1.4.1",
|
||||||
"shelljs": "^0.7.4",
|
"shelljs": "^0.7.4",
|
||||||
"smartcli": "1.0.5",
|
"smartcli": "1.0.9",
|
||||||
"smartcov": "1.0.0",
|
"smartcov": "1.0.0",
|
||||||
"smartenv": "1.2.5",
|
"smartenv": "1.2.5",
|
||||||
"smartfile": "4.0.15",
|
"smartfile": "4.0.15",
|
||||||
"smartpath": "3.2.2",
|
"smartpath": "3.2.2",
|
||||||
"smartstring": "^2.0.17",
|
"smartstring": "^2.0.17",
|
||||||
"source-map-support": "^0.4.2",
|
"source-map-support": "^0.4.2",
|
||||||
"tsn": "^1.0.12",
|
"tsn": "^1.0.13",
|
||||||
"typedoc": "^0.4.5",
|
"typedoc": "^0.4.5",
|
||||||
"typescript": "next",
|
"typescript": "next",
|
||||||
"typings-global": "^1.0.14"
|
"typings-global": "^1.0.14"
|
||||||
|
@ -5,7 +5,7 @@ import { npmtsOra } from './npmts.promisechain'
|
|||||||
|
|
||||||
export type npmtsMode = 'default' | 'custom'
|
export type npmtsMode = 'default' | 'custom'
|
||||||
|
|
||||||
export interface npmtsConfig {
|
export interface INpmtsConfig {
|
||||||
argv: any,
|
argv: any,
|
||||||
coverageTreshold: number,
|
coverageTreshold: number,
|
||||||
docs: boolean,
|
docs: boolean,
|
||||||
@ -19,7 +19,7 @@ export interface npmtsConfig {
|
|||||||
|
|
||||||
export var run = function (argvArg) {
|
export var run = function (argvArg) {
|
||||||
let done = plugins.Q.defer()
|
let done = plugins.Q.defer()
|
||||||
let defaultConfig: npmtsConfig = {
|
let defaultConfig: INpmtsConfig = {
|
||||||
argv: undefined,
|
argv: undefined,
|
||||||
coverageTreshold: 70,
|
coverageTreshold: 70,
|
||||||
docs: true,
|
docs: true,
|
||||||
@ -32,7 +32,7 @@ export var run = function (argvArg) {
|
|||||||
|
|
||||||
// mix with configfile
|
// mix with configfile
|
||||||
npmtsOra.text('looking for npmextra.json')
|
npmtsOra.text('looking for npmextra.json')
|
||||||
let config: npmtsConfig = plugins.npmextra.dataFor({
|
let config: INpmtsConfig = plugins.npmextra.dataFor({
|
||||||
toolName: 'npmts',
|
toolName: 'npmts',
|
||||||
defaultSettings: defaultConfig,
|
defaultSettings: defaultConfig,
|
||||||
cwd: paths.cwd
|
cwd: paths.cwd
|
||||||
|
@ -10,7 +10,7 @@ export let g = {
|
|||||||
mocha: require('gulp-mocha'),
|
mocha: require('gulp-mocha'),
|
||||||
sourcemaps: require('gulp-sourcemaps'),
|
sourcemaps: require('gulp-sourcemaps'),
|
||||||
typedoc: require('gulp-typedoc')
|
typedoc: require('gulp-typedoc')
|
||||||
};
|
}
|
||||||
export import lodashObject = require('lodash')
|
export import lodashObject = require('lodash')
|
||||||
export import npmextra = require('npmextra')
|
export import npmextra = require('npmextra')
|
||||||
export import projectinfo = require('projectinfo')
|
export import projectinfo = require('projectinfo')
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import 'typings-global';
|
import 'typings-global'
|
||||||
import plugins = require('./npmts.plugins');
|
import plugins = require('./npmts.plugins')
|
||||||
import {Ora} from 'beautylog'
|
import {Ora} from 'beautylog'
|
||||||
|
|
||||||
export let npmtsOra = new Ora('setting up TaskChain','cyan');
|
export let npmtsOra = new Ora('setting up TaskChain','cyan')
|
||||||
|
|
||||||
import NpmtsAssets = require('./npmts.assets')
|
import NpmtsAssets = require('./npmts.assets')
|
||||||
import NpmtsCheck = require('./npmts.check')
|
import NpmtsCheck = require('./npmts.check')
|
||||||
@ -38,12 +38,12 @@ export let promisechain = function(argvArg){
|
|||||||
' wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\n' +
|
' wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\n' +
|
||||||
' wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\n'
|
' wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\n'
|
||||||
if (process.env.CI) {
|
if (process.env.CI) {
|
||||||
console.log(shipString);
|
console.log(shipString)
|
||||||
plugins.beautylog.success('READY TO SHIP!')
|
plugins.beautylog.success('READY TO SHIP!')
|
||||||
} else {
|
} else {
|
||||||
plugins.beautylog.success('Done!')
|
plugins.beautylog.success('Done!')
|
||||||
}
|
}
|
||||||
done.resolve()
|
done.resolve()
|
||||||
});
|
})
|
||||||
return done.promise
|
return done.promise
|
||||||
};
|
}
|
||||||
|
Reference in New Issue
Block a user