fix(core): update
This commit is contained in:
parent
2018b27a4b
commit
3f7790e8c8
4
dist_ts/index.d.ts
vendored
4
dist_ts/index.d.ts
vendored
@ -1,2 +1,2 @@
|
|||||||
export * from './tswatch.classes.tswatch';
|
export * from './tswatch.classes.tswatch.js';
|
||||||
export * from './tswatch.cli';
|
export * from './tswatch.cli.js';
|
||||||
|
@ -1,30 +1,6 @@
|
|||||||
"use strict";
|
import * as early from '@pushrocks/early';
|
||||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
||||||
}) : (function(o, m, k, k2) {
|
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
o[k2] = m[k];
|
|
||||||
}));
|
|
||||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
||||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
||||||
}) : function(o, v) {
|
|
||||||
o["default"] = v;
|
|
||||||
});
|
|
||||||
var __importStar = (this && this.__importStar) || function (mod) {
|
|
||||||
if (mod && mod.__esModule) return mod;
|
|
||||||
var result = {};
|
|
||||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
||||||
__setModuleDefault(result, mod);
|
|
||||||
return result;
|
|
||||||
};
|
|
||||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
||||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const early = __importStar(require("@pushrocks/early"));
|
|
||||||
early.start('tswatch');
|
early.start('tswatch');
|
||||||
__exportStar(require("./tswatch.classes.tswatch"), exports);
|
export * from './tswatch.classes.tswatch.js';
|
||||||
__exportStar(require("./tswatch.cli"), exports);
|
export * from './tswatch.cli.js';
|
||||||
early.stop();
|
early.stop();
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx3REFBMEM7QUFDMUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxTQUFTLENBQUMsQ0FBQztBQUN2Qiw0REFBMEM7QUFDMUMsZ0RBQThCO0FBQzlCLEtBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQyJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssS0FBSyxNQUFNLGtCQUFrQixDQUFDO0FBQzFDLEtBQUssQ0FBQyxLQUFLLENBQUMsU0FBUyxDQUFDLENBQUM7QUFDdkIsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLEtBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQyJ9
|
2
dist_ts/interfaces/index.d.ts
vendored
2
dist_ts/interfaces/index.d.ts
vendored
@ -1 +1 @@
|
|||||||
export * from './interfaces.watchmodes';
|
export * from './interfaces.watchmodes.js';
|
||||||
|
@ -1,14 +1,2 @@
|
|||||||
"use strict";
|
export * from './interfaces.watchmodes.js';
|
||||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUMifQ==
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
||||||
}) : (function(o, m, k, k2) {
|
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
o[k2] = m[k];
|
|
||||||
}));
|
|
||||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
||||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
__exportStar(require("./interfaces.watchmodes"), exports);
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBLDBEQUF3QyJ9
|
|
@ -1,3 +1,2 @@
|
|||||||
"use strict";
|
export {};
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlcy53YXRjaG1vZGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvaW50ZXJmYWNlcy9pbnRlcmZhY2VzLndhdGNobW9kZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlcy53YXRjaG1vZGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvaW50ZXJmYWNlcy9pbnRlcmZhY2VzLndhdGNobW9kZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
6
dist_ts/tswatch.classes.tswatch.d.ts
vendored
6
dist_ts/tswatch.classes.tswatch.d.ts
vendored
@ -1,6 +1,6 @@
|
|||||||
import * as plugins from './tswatch.plugins';
|
import * as plugins from './tswatch.plugins.js';
|
||||||
import * as interfaces from './interfaces';
|
import * as interfaces from './interfaces/index.js';
|
||||||
import { Watcher } from './tswatch.classes.watcher';
|
import { Watcher } from './tswatch.classes.watcher.js';
|
||||||
export declare class TsWatch {
|
export declare class TsWatch {
|
||||||
watchmode: interfaces.TWatchModes;
|
watchmode: interfaces.TWatchModes;
|
||||||
watcherMap: plugins.lik.ObjectMap<Watcher>;
|
watcherMap: plugins.lik.ObjectMap<Watcher>;
|
||||||
|
@ -1,29 +1,8 @@
|
|||||||
"use strict";
|
import * as plugins from './tswatch.plugins.js';
|
||||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
import * as paths from './tswatch.paths.js';
|
||||||
if (k2 === undefined) k2 = k;
|
import './interfaces/index.js';
|
||||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
import { Watcher } from './tswatch.classes.watcher.js';
|
||||||
}) : (function(o, m, k, k2) {
|
export class TsWatch {
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
o[k2] = m[k];
|
|
||||||
}));
|
|
||||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
||||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
||||||
}) : function(o, v) {
|
|
||||||
o["default"] = v;
|
|
||||||
});
|
|
||||||
var __importStar = (this && this.__importStar) || function (mod) {
|
|
||||||
if (mod && mod.__esModule) return mod;
|
|
||||||
var result = {};
|
|
||||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
||||||
__setModuleDefault(result, mod);
|
|
||||||
return result;
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
exports.TsWatch = void 0;
|
|
||||||
const plugins = __importStar(require("./tswatch.plugins"));
|
|
||||||
const paths = __importStar(require("./tswatch.paths"));
|
|
||||||
const tswatch_classes_watcher_1 = require("./tswatch.classes.watcher");
|
|
||||||
class TsWatch {
|
|
||||||
constructor(watchmodeArg) {
|
constructor(watchmodeArg) {
|
||||||
this.watcherMap = new plugins.lik.ObjectMap();
|
this.watcherMap = new plugins.lik.ObjectMap();
|
||||||
this.watchmode = watchmodeArg;
|
this.watchmode = watchmodeArg;
|
||||||
@ -34,14 +13,14 @@ class TsWatch {
|
|||||||
async start() {
|
async start() {
|
||||||
switch (this.watchmode) {
|
switch (this.watchmode) {
|
||||||
case 'test':
|
case 'test':
|
||||||
this.watcherMap.add(new tswatch_classes_watcher_1.Watcher({
|
this.watcherMap.add(new Watcher({
|
||||||
filePathToWatch: paths.cwd,
|
filePathToWatch: paths.cwd,
|
||||||
commandToExecute: 'npm run test2',
|
commandToExecute: 'npm run test2',
|
||||||
timeout: null,
|
timeout: null,
|
||||||
}));
|
}));
|
||||||
break;
|
break;
|
||||||
case 'gitzone_npm':
|
case 'gitzone_npm':
|
||||||
this.watcherMap.add(new tswatch_classes_watcher_1.Watcher({
|
this.watcherMap.add(new Watcher({
|
||||||
filePathToWatch: paths.cwd,
|
filePathToWatch: paths.cwd,
|
||||||
commandToExecute: 'npm run test',
|
commandToExecute: 'npm run test',
|
||||||
timeout: null,
|
timeout: null,
|
||||||
@ -51,27 +30,27 @@ class TsWatch {
|
|||||||
// lets create a standard server
|
// lets create a standard server
|
||||||
console.log('bundling TypeScript files to "dist_watch" Note: This is for development only!');
|
console.log('bundling TypeScript files to "dist_watch" Note: This is for development only!');
|
||||||
const parcel = new plugins.smartparcel.Parcel(plugins.path.join(process.cwd(), './html/index.html'), plugins.path.join(process.cwd(), './dist_watch'), 'index.html');
|
const parcel = new plugins.smartparcel.Parcel(plugins.path.join(process.cwd(), './html/index.html'), plugins.path.join(process.cwd(), './dist_watch'), 'index.html');
|
||||||
await parcel.start();
|
await parcel.watchAndServe();
|
||||||
break;
|
break;
|
||||||
case 'gitzone_website':
|
case 'gitzone_website':
|
||||||
this.watcherMap.add(new tswatch_classes_watcher_1.Watcher({
|
this.watcherMap.add(new Watcher({
|
||||||
filePathToWatch: plugins.path.join(paths.cwd, './ts/'),
|
filePathToWatch: plugins.path.join(paths.cwd, './ts/'),
|
||||||
commandToExecute: 'npm run startTs',
|
commandToExecute: 'npm run startTs',
|
||||||
timeout: null,
|
timeout: null,
|
||||||
}));
|
}));
|
||||||
// client directory
|
// client directory
|
||||||
const parcelWebsite = new plugins.smartparcel.Parcel(plugins.path.join(process.cwd(), './ts_web/index.ts'), plugins.path.join(process.cwd(), './dist_serve'), 'bundle.js');
|
const parcelWebsite = new plugins.smartparcel.Parcel(plugins.path.join(process.cwd(), './html/index.html'), plugins.path.join(process.cwd(), './dist_serve'), 'bundle.js');
|
||||||
await parcelWebsite.start();
|
await parcelWebsite.watchAndServe();
|
||||||
break;
|
break;
|
||||||
case 'gitzone_service':
|
case 'gitzone_service':
|
||||||
this.watcherMap.add(new tswatch_classes_watcher_1.Watcher({
|
this.watcherMap.add(new Watcher({
|
||||||
filePathToWatch: plugins.path.join(paths.cwd, './ts/'),
|
filePathToWatch: plugins.path.join(paths.cwd, './ts/'),
|
||||||
commandToExecute: 'npm run startTs',
|
commandToExecute: 'npm run startTs',
|
||||||
timeout: null,
|
timeout: null,
|
||||||
}));
|
}));
|
||||||
break;
|
break;
|
||||||
case 'echoSomething':
|
case 'echoSomething':
|
||||||
const tsWatchInstanceEchoSomething = new tswatch_classes_watcher_1.Watcher({
|
const tsWatchInstanceEchoSomething = new Watcher({
|
||||||
filePathToWatch: plugins.path.join(paths.cwd, './ts'),
|
filePathToWatch: plugins.path.join(paths.cwd, './ts'),
|
||||||
commandToExecute: 'npm -v',
|
commandToExecute: 'npm -v',
|
||||||
timeout: null,
|
timeout: null,
|
||||||
@ -100,5 +79,4 @@ class TsWatch {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.TsWatch = TsWatch;
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN3YXRjaC5jbGFzc2VzLnRzd2F0Y2guanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy90c3dhdGNoLmNsYXNzZXMudHN3YXRjaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLHNCQUFzQixDQUFDO0FBQ2hELE9BQU8sS0FBSyxLQUFLLE1BQU0sb0JBQW9CLENBQUM7QUFDNUMsT0FBNEIsdUJBQXVCLENBQUM7QUFFcEQsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBRXZELE1BQU0sT0FBTyxPQUFPO0lBS2xCLFlBQVksWUFBb0M7UUFIekMsZUFBVSxHQUFHLElBQUksT0FBTyxDQUFDLEdBQUcsQ0FBQyxTQUFTLEVBQVcsQ0FBQztRQUl2RCxJQUFJLENBQUMsU0FBUyxHQUFHLFlBQVksQ0FBQztJQUNoQyxDQUFDO0lBRUQ7O09BRUc7SUFDSSxLQUFLLENBQUMsS0FBSztRQUNoQixRQUFRLElBQUksQ0FBQyxTQUFTLEVBQUU7WUFDdEIsS0FBSyxNQUFNO2dCQUNULElBQUksQ0FBQyxVQUFVLENBQUMsR0FBRyxDQUNqQixJQUFJLE9BQU8sQ0FBQztvQkFDVixlQUFlLEVBQUUsS0FBSyxDQUFDLEdBQUc7b0JBQzFCLGdCQUFnQixFQUFFLGVBQWU7b0JBQ2pDLE9BQU8sRUFBRSxJQUFJO2lCQUNkLENBQUMsQ0FDSCxDQUFDO2dCQUNGLE1BQU07W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Q0FBQyxHQUFHLEVBQUUsTUFBTSxDQUFDO29CQUNyRCxnQkFBZ0IsRUFBRSxRQUFRO29CQUMxQixPQUFPLEVBQUUsSUFBSTtpQkFDZCxDQUFDLENBQUM7Z0JBQ0gsSUFBSSxDQUFDLFVBQVUsQ0FBQyxHQUFHLENBQUMsNEJBQTRCLENBQUMsQ0FBQztnQkFDbEQsTUFBTTtZQUNSO2dCQUNFLE1BQU07U0FDVDtRQUNELElBQUksQ0FBQyxVQUFVLENBQUMsT0FBTyxDQUFDLEtBQUssRUFBRSxPQUFPLEVBQUUsRUFBRTtZQUN4QyxNQUFNLE9BQU8sQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUN4QixDQUFDLENBQUMsQ0FBQztRQUNILElBQUksSUFBSSxDQUFDLFVBQVUsRUFBRTtZQUNuQixNQUFNLElBQUksQ0FBQyxVQUFVLENBQUMsS0FBSyxFQUFFLENBQUM7U0FDL0I7SUFDSCxDQUFDO0lBRUQ7O09BRUc7SUFDSSxLQUFLLENBQUMsSUFBSTtRQUNmLElBQUksSUFBSSxDQUFDLFVBQVUsRUFBRTtZQUNuQixNQUFNLElBQUksQ0FBQyxVQUFVLENBQUMsSUFBSSxFQUFFLENBQUM7U0FDOUI7UUFDRCxJQUFJLENBQUMsVUFBVSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUUsT0FBTyxFQUFFLEVBQUU7WUFDeEMsTUFBTSxPQUFPLENBQUMsSUFBSSxFQUFFLENBQUM7UUFDdkIsQ0FBQyxDQUFDLENBQUM7SUFDTCxDQUFDO0NBQ0Y7QUFwR0QsMEJBb0dDIn0=
|
|
@ -1,31 +1,9 @@
|
|||||||
"use strict";
|
import * as plugins from './tswatch.plugins.js';
|
||||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
import { logger } from './tswatch.logging.js';
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
||||||
}) : (function(o, m, k, k2) {
|
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
o[k2] = m[k];
|
|
||||||
}));
|
|
||||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
||||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
||||||
}) : function(o, v) {
|
|
||||||
o["default"] = v;
|
|
||||||
});
|
|
||||||
var __importStar = (this && this.__importStar) || function (mod) {
|
|
||||||
if (mod && mod.__esModule) return mod;
|
|
||||||
var result = {};
|
|
||||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
||||||
__setModuleDefault(result, mod);
|
|
||||||
return result;
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
exports.Watcher = void 0;
|
|
||||||
const plugins = __importStar(require("./tswatch.plugins"));
|
|
||||||
const tswatch_logging_1 = require("./tswatch.logging");
|
|
||||||
/**
|
/**
|
||||||
* A watcher keeps track of one child execution
|
* A watcher keeps track of one child execution
|
||||||
*/
|
*/
|
||||||
class Watcher {
|
export class Watcher {
|
||||||
constructor(optionsArg) {
|
constructor(optionsArg) {
|
||||||
/**
|
/**
|
||||||
* used to execute shell commands
|
* used to execute shell commands
|
||||||
@ -56,11 +34,11 @@ class Watcher {
|
|||||||
async updateCurrentExecution() {
|
async updateCurrentExecution() {
|
||||||
if (typeof this.options.commandToExecute === 'string') {
|
if (typeof this.options.commandToExecute === 'string') {
|
||||||
if (this.currentExecution) {
|
if (this.currentExecution) {
|
||||||
tswatch_logging_1.logger.log('ok', `reexecuting ${this.options.commandToExecute}`);
|
logger.log('ok', `reexecuting ${this.options.commandToExecute}`);
|
||||||
this.currentExecution.kill();
|
this.currentExecution.kill();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
tswatch_logging_1.logger.log('ok', `executing ${this.options.commandToExecute} for the first time`);
|
logger.log('ok', `executing ${this.options.commandToExecute} for the first time`);
|
||||||
}
|
}
|
||||||
this.currentExecution = await this.smartshellInstance.execStreaming(this.options.commandToExecute);
|
this.currentExecution = await this.smartshellInstance.execStreaming(this.options.commandToExecute);
|
||||||
}
|
}
|
||||||
@ -103,5 +81,4 @@ class Watcher {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.Watcher = Watcher;
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN3YXRjaC5jbGFzc2VzLndhdGNoZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy90c3dhdGNoLmNsYXNzZXMud2F0Y2hlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLHNCQUFzQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQVU5Qzs7R0FFRztBQUNILE1BQU0sT0FBTyxPQUFPO0lBWWxCLFlBQVksVUFBc0M7UUFYbEQ7O1dBRUc7UUFDSyx1QkFBa0IsR0FBRyxJQUFJLE9BQU8sQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDO1lBQzdELFFBQVEsRUFBRSxNQUFNO1NBQ2pCLENBQUMsQ0FBQztRQUdLLHFCQUFnQixHQUFHLElBQUksT0FBTyxDQUFDLFNBQVMsQ0FBQyxTQUFTLENBQUMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBSWpFLElBQUksQ0FBQyxPQUFPLEdBQUcsVUFBVSxDQUFDO0lBQzVCLENBQUM7SUFFRDs7T0FFRztJQUNJLEtBQUssQ0FBQyxLQUFLO1FBQ2hCLE1BQU0sSUFBSSxDQUFDLFlBQVksRUFBRSxDQUFDO1FBQzFCLE9BQU8sQ0FBQyxHQUFHLENBQUMsY0FBYyxJQUFJLENBQUMsT0FBTyxDQUFDLGVBQWUs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RQUNqQixJQUFJLElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTyxFQUFFO1lBQ3hCLE9BQU8sQ0FBQyxVQUFVLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRTtnQkFDMUQsT0FBTyxDQUFDLEdBQUcsQ0FBQyxrQkFBa0IsSUFBSSxDQUFDLE9BQU8sQ0FBQyxPQUFPLHlCQUF5QixDQUFDLENBQUM7Z0JBQzdFLElBQUksQ0FBQyxJQUFJLEVBQUUsQ0FBQztnQkFDWixPQUFPLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQ2xCLENBQUMsQ0FBQyxDQUFDO1NBQ0o7SUFDSCxDQUFDO0lBRUQ7O09BRUc7SUFDSSxLQUFLLENBQUMsSUFBSTtRQUNmLE1BQU0sSUFBSSxDQUFDLGdCQUFnQixDQUFDLElBQUksRUFBRSxDQUFDO1FBQ25DLElBQUksSUFBSSxDQUFDLGdCQUFnQixJQUFJLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLFlBQVksQ0FBQyxNQUFNLEVBQUU7WUFDdkUsSUFBSSxDQUFDLGdCQUFnQixDQUFDLElBQUksRUFBRSxDQUFDO1NBQzlCO0lBQ0gsQ0FBQztDQUNGO0FBdEZELDBCQXNGQyJ9
|
|
@ -1,57 +1,35 @@
|
|||||||
"use strict";
|
import * as plugins from './tswatch.plugins.js';
|
||||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
import './tswatch.paths.js';
|
||||||
if (k2 === undefined) k2 = k;
|
import { logger } from './tswatch.logging.js';
|
||||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
import { TsWatch } from './tswatch.classes.tswatch.js';
|
||||||
}) : (function(o, m, k, k2) {
|
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
o[k2] = m[k];
|
|
||||||
}));
|
|
||||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
||||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
||||||
}) : function(o, v) {
|
|
||||||
o["default"] = v;
|
|
||||||
});
|
|
||||||
var __importStar = (this && this.__importStar) || function (mod) {
|
|
||||||
if (mod && mod.__esModule) return mod;
|
|
||||||
var result = {};
|
|
||||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
||||||
__setModuleDefault(result, mod);
|
|
||||||
return result;
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
exports.runCli = void 0;
|
|
||||||
const plugins = __importStar(require("./tswatch.plugins"));
|
|
||||||
const tswatch_logging_1 = require("./tswatch.logging");
|
|
||||||
const tswatch_classes_tswatch_1 = require("./tswatch.classes.tswatch");
|
|
||||||
const tswatchCli = new plugins.smartcli.Smartcli();
|
const tswatchCli = new plugins.smartcli.Smartcli();
|
||||||
// standard behaviour will assume gitzone setup
|
// standard behaviour will assume gitzone setup
|
||||||
tswatchCli.addCommand('element').subscribe(async (argvArg) => {
|
tswatchCli.addCommand('element').subscribe(async (argvArg) => {
|
||||||
tswatch_logging_1.logger.log('info', `running watch task for a gitzone element project`);
|
logger.log('info', `running watch task for a gitzone element project`);
|
||||||
const tsWatch = new tswatch_classes_tswatch_1.TsWatch('gitzone_element');
|
const tsWatch = new TsWatch('gitzone_element');
|
||||||
await tsWatch.start();
|
await tsWatch.start();
|
||||||
});
|
});
|
||||||
tswatchCli.addCommand('npm').subscribe(async (argvArg) => {
|
tswatchCli.addCommand('npm').subscribe(async (argvArg) => {
|
||||||
tswatch_logging_1.logger.log('info', `running watch task for a gitzone element project`);
|
logger.log('info', `running watch task for a gitzone element project`);
|
||||||
const tsWatch = new tswatch_classes_tswatch_1.TsWatch('gitzone_npm');
|
const tsWatch = new TsWatch('gitzone_npm');
|
||||||
await tsWatch.start();
|
await tsWatch.start();
|
||||||
});
|
});
|
||||||
tswatchCli.addCommand('service').subscribe(async (argvArg) => {
|
tswatchCli.addCommand('service').subscribe(async (argvArg) => {
|
||||||
tswatch_logging_1.logger.log('info', `running test task`);
|
logger.log('info', `running test task`);
|
||||||
const tsWatch = new tswatch_classes_tswatch_1.TsWatch('gitzone_service');
|
const tsWatch = new TsWatch('gitzone_service');
|
||||||
await tsWatch.start();
|
await tsWatch.start();
|
||||||
});
|
});
|
||||||
tswatchCli.addCommand('test').subscribe(async (argvArg) => {
|
tswatchCli.addCommand('test').subscribe(async (argvArg) => {
|
||||||
tswatch_logging_1.logger.log('info', `running test task`);
|
logger.log('info', `running test task`);
|
||||||
const tsWatch = new tswatch_classes_tswatch_1.TsWatch('test');
|
const tsWatch = new TsWatch('test');
|
||||||
await tsWatch.start();
|
await tsWatch.start();
|
||||||
});
|
});
|
||||||
tswatchCli.addCommand('website').subscribe(async (argvArg) => {
|
tswatchCli.addCommand('website').subscribe(async (argvArg) => {
|
||||||
tswatch_logging_1.logger.log('info', `running watch task for a gitzone website project`);
|
logger.log('info', `running watch task for a gitzone website project`);
|
||||||
const tsWatch = new tswatch_classes_tswatch_1.TsWatch('gitzone_website');
|
const tsWatch = new TsWatch('gitzone_website');
|
||||||
await tsWatch.start();
|
await tsWatch.start();
|
||||||
});
|
});
|
||||||
const runCli = async () => {
|
export const runCli = async () => {
|
||||||
tswatchCli.startParse();
|
tswatchCli.startParse();
|
||||||
};
|
};
|
||||||
exports.runCli = runCli;
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN3YXRjaC5jbGkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy90c3dhdGNoLmNsaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLHNCQUFzQixDQUFDO0FBQ2hELE9BQXVCLG9CQUFvQixD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.plugins.js';
|
||||||
export declare const logger: plugins.smartlog.Smartlog;
|
export declare const logger: plugins.smartlog.Smartlog;
|
||||||
|
@ -1,27 +1,5 @@
|
|||||||
"use strict";
|
import * as plugins from './tswatch.plugins.js';
|
||||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
export const logger = new plugins.smartlog.Smartlog({
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
||||||
}) : (function(o, m, k, k2) {
|
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
o[k2] = m[k];
|
|
||||||
}));
|
|
||||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
||||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
||||||
}) : function(o, v) {
|
|
||||||
o["default"] = v;
|
|
||||||
});
|
|
||||||
var __importStar = (this && this.__importStar) || function (mod) {
|
|
||||||
if (mod && mod.__esModule) return mod;
|
|
||||||
var result = {};
|
|
||||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
||||||
__setModuleDefault(result, mod);
|
|
||||||
return result;
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
exports.logger = void 0;
|
|
||||||
const plugins = __importStar(require("./tswatch.plugins"));
|
|
||||||
exports.logger = new plugins.smartlog.Smartlog({
|
|
||||||
logContext: {
|
logContext: {
|
||||||
company: 'Some Company',
|
company: 'Some Company',
|
||||||
companyunit: 'Some CompanyUnit',
|
companyunit: 'Some CompanyUnit',
|
||||||
@ -32,5 +10,5 @@ exports.logger = new plugins.smartlog.Smartlog({
|
|||||||
},
|
},
|
||||||
minimumLogLevel: 'silly',
|
minimumLogLevel: 'silly',
|
||||||
});
|
});
|
||||||
exports.logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal());
|
logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal());
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN3YXRjaC5sb2dnaW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvdHN3YXRjaC5sb2dnaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwyREFBNkM7QUFFaEMsUUFBQSxNQUFNLEdBQUcsSUFBSSxPQUFPLENBQUMsUUFBUSxDQUFDLFFBQVEsQ0FBQztJQUNsRCxVQUFVLEVBQUU7UUFDVixPQUFPLEVBQUUsY0FBYztRQUN2QixXQUFXLEVBQUUsa0JBQWtCO1FBQy9CLGFBQWEsRUFBRSxvQkFBb0I7UUFDbkMsV0FBVyxFQUFFLE9BQU87UUFDcEIsT0FBTyxFQUFFLE1BQU07UUFDZixJQUFJLEVBQUUsU0FBUztLQUNoQjtJQUNELGVBQWUsRUFBRSxPQUFPO0NBQ3pCLENBQUMsQ0FBQztBQUVILGNBQU0sQ0FBQyxpQkFBaUIsQ0FBQyxJQUFJLE9BQU8sQ0FBQyx3QkFBd0IsQ0FBQyxnQkFBZ0IsRUFBRSxDQUFDLENBQUMifQ==
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN3YXRjaC5sb2dnaW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvdHN3YXRjaC5sb2dnaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sc0JBQXNCLENBQUM7QUFFaEQsTUFBTSxDQUFDLE1BQU0sTUFBTSxHQUFHLElBQUksT0FBTyxDQUFDLFFBQVEsQ0FBQyxRQUFRLENBQUM7SUFDbEQsVUFBVSxFQUFFO1FBQ1YsT0FBTyxFQUFFLGNBQWM7UUFDdkIsV0FBVyxFQUFFLGtCQUFrQjtRQUMvQixhQUFhLEVBQUUsb0JBQW9CO1FBQ25DLFdBQVcsRUFBRSxPQUFPO1FBQ3BCLE9BQU8sRUFBRSxNQUFNO1FBQ2YsSUFBSSxFQUFFLFNBQVM7S0FDaEI7SUFDRCxlQUFlLEVBQUUsT0FBTztDQUN6QixDQUFDLENBQUM7QUFFSCxNQUFNLENBQUMsaUJBQWlCLENBQUMsSUFBSSxPQUFPLENBQUMsd0JBQXdCLENBQUMsZ0JBQWdCLEVBQUUsQ0FBQyxDQUFDIn0=
|
@ -1,5 +1,3 @@
|
|||||||
"use strict";
|
import './tswatch.plugins.js';
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
export const cwd = process.cwd();
|
||||||
exports.cwd = void 0;
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN3YXRjaC5wYXRocy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3Rzd2F0Y2gucGF0aHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBeUIsc0JBQXNCLENBQUM7QUFFaEQsTUFBTSxDQUFDLE1BQU0sR0FBRyxHQUFHLE9BQU8sQ0FBQyxHQUFHLEVBQUUsQ0FBQyJ9
|
||||||
exports.cwd = process.cwd();
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN3YXRjaC5wYXRocy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3Rzd2F0Y2gucGF0aHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRWEsUUFBQSxHQUFHLEdBQUcsT0FBTyxDQUFDLEdBQUcsRUFBRSxDQUFDIn0=
|
|
@ -1,46 +1,15 @@
|
|||||||
"use strict";
|
import * as path from 'path';
|
||||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
export { path };
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
||||||
}) : (function(o, m, k, k2) {
|
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
o[k2] = m[k];
|
|
||||||
}));
|
|
||||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
||||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
||||||
}) : function(o, v) {
|
|
||||||
o["default"] = v;
|
|
||||||
});
|
|
||||||
var __importStar = (this && this.__importStar) || function (mod) {
|
|
||||||
if (mod && mod.__esModule) return mod;
|
|
||||||
var result = {};
|
|
||||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
||||||
__setModuleDefault(result, mod);
|
|
||||||
return result;
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
exports.taskbuffer = exports.smartshell = exports.smartserve = exports.smartparcel = exports.smartlogDestinationLocal = exports.smartlog = exports.smartdelay = exports.smartcli = exports.smartchok = exports.lik = exports.path = void 0;
|
|
||||||
const path = __importStar(require("path"));
|
|
||||||
exports.path = path;
|
|
||||||
// @pushrocks scope
|
// @pushrocks scope
|
||||||
const lik = __importStar(require("@pushrocks/lik"));
|
import * as lik from '@pushrocks/lik';
|
||||||
exports.lik = lik;
|
import * as smartchok from '@pushrocks/smartchok';
|
||||||
const smartchok = __importStar(require("@pushrocks/smartchok"));
|
import * as smartcli from '@pushrocks/smartcli';
|
||||||
exports.smartchok = smartchok;
|
import * as smartdelay from '@pushrocks/smartdelay';
|
||||||
const smartcli = __importStar(require("@pushrocks/smartcli"));
|
import * as smartlog from '@pushrocks/smartlog';
|
||||||
exports.smartcli = smartcli;
|
import * as smartlogDestinationLocal from '@pushrocks/smartlog-destination-local';
|
||||||
const smartdelay = __importStar(require("@pushrocks/smartdelay"));
|
import * as smartparcel from '@pushrocks/smartparcel';
|
||||||
exports.smartdelay = smartdelay;
|
import * as smartserve from '@pushrocks/smartserve';
|
||||||
const smartlog = __importStar(require("@pushrocks/smartlog"));
|
import * as smartshell from '@pushrocks/smartshell';
|
||||||
exports.smartlog = smartlog;
|
import * as taskbuffer from '@pushrocks/taskbuffer';
|
||||||
const smartlogDestinationLocal = __importStar(require("@pushrocks/smartlog-destination-local"));
|
export { lik, smartchok, smartcli, smartdelay, smartlog, smartlogDestinationLocal, smartparcel, smartserve, smartshell, taskbuffer, };
|
||||||
exports.smartlogDestinationLocal = smartlogDestinationLocal;
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN3YXRjaC5wbHVnaW5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvdHN3YXRjaC5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxJQUFJLE1BQU0sTUFBTSxDQUFDO0FBQzdCLE9BQU8sRUFBRSxJQUFJLEVBQUUsQ0FBQztBQUVoQixtQkFBbUI7QUFDbkIsT0FBTyxLQUFLLEdBQUcsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0QyxPQUFPLEtBQUssU0FBUyxNQUFNLHNCQUFzQixDQUFDO0FBQ2xELE9BQU8sS0FBSyxRQUFRLE1BQU0scUJBQXFCLENBQUM7QUFDaEQsT0FBTyxLQUFLLFVBQVUsTUFBTSx1QkFBdUIsQ0FBQztBQUNwRCxPQUFPLEtBQUssUUFBUSxNQUFNLHFCQUFxQixDQUFDO0FBQ2hELE9BQU8sS0FBSyx3QkFBd0IsTUFBTSx1Q0FBdUMsQ0FBQztBQUNsRixPQUFPLEtBQUssV0FBVyxNQUFNLHdCQUF3QixDQUFDO0FBQ3RELE9BQU8sS0FBSyxVQUFVLE1BQU0sdUJBQXVCLENBQUM7QUFDcEQsT0FBTyxLQUFLLFVBQVUsTUFBTSx1QkFBdUIsQ0FBQztBQUNwRCxPQUFPLEtBQUssVUFBVSxNQUFNLHVCQUF1QixDQUFDO0FBRXBELE9BQU8sRUFDTCxHQUFHLEVBQ0gsU0FBUyxFQUNULFFBQVEsRUFDUixVQUFVLEVBQ1YsUUFBUSxFQUNSLHdCQUF3QixFQUN4QixXQUFXLEVBQ1gsVUFBVSxFQUNWLFVBQVUsRUFDVixVQUFVLEdBQ1gsQ0FBQyJ9
|
||||||
const smartparcel = __importStar(require("@pushrocks/smartparcel"));
|
|
||||||
exports.smartparcel = smartparcel;
|
|
||||||
const smartserve = __importStar(require("@pushrocks/smartserve"));
|
|
||||||
exports.smartserve = smartserve;
|
|
||||||
const smartshell = __importStar(require("@pushrocks/smartshell"));
|
|
||||||
exports.smartshell = smartshell;
|
|
||||||
const taskbuffer = __importStar(require("@pushrocks/taskbuffer"));
|
|
||||||
exports.taskbuffer = taskbuffer;
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN3YXRjaC5wbHVnaW5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvdHN3YXRjaC5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwyQ0FBNkI7QUFDcEIsb0JBQUk7QUFFYixtQkFBbUI7QUFDbkIsb0RBQXNDO0FBWXBDLGtCQUFHO0FBWEwsZ0VBQWtEO0FBWWhELDhCQUFTO0FBWFgsOERBQWdEO0FBWTlDLDRCQUFRO0FBWFYsa0VBQW9EO0FBWWxELGdDQUFVO0FBWFosOERBQWdEO0FBWTlDLDRCQUFRO0FBWFYsZ0dBQWtGO0FBWWhGLDREQUF3QjtBQVgxQixvRUFBc0Q7QUFZcEQsa0NBQVc7QUFYYixrRUFBb0Q7QUFZbEQsZ0NBQVU7QUFYWixrRUFBb0Q7QUFZbEQsZ0NBQVU7QUFYWixrRUFBb0Q7QUFZbEQsZ0NBQVUifQ==
|
|
1620
package-lock.json
generated
1620
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -13,10 +13,10 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(tstest test/ --web)",
|
"test": "(tstest test/ --web)",
|
||||||
"build": "(tsbuild --web)"
|
"build": "(tsbuild --web --skiplibcheck --allowimplicitany)"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.49",
|
"@gitzone/tsbuild": "^2.1.50",
|
||||||
"@gitzone/tstest": "^1.0.67",
|
"@gitzone/tstest": "^1.0.67",
|
||||||
"@pushrocks/tapbundle": "^5.0.2",
|
"@pushrocks/tapbundle": "^5.0.2",
|
||||||
"@types/node": "^17.0.21"
|
"@types/node": "^17.0.21"
|
||||||
|
Loading…
Reference in New Issue
Block a user