incremental-compiler 21.0.4 → 21.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/fesm2022/incremental-compiler.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/incremental-compiler.d.ts +126 -0
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/package.json +1 -1
- package/tmp-environment.json +5 -11
- package/websql/fesm2022/incremental-compiler.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/incremental-compiler.d.ts +126 -0
- package/browser/index.d.ts +0 -6
- package/browser/lib/base-client-compiler.d.ts +0 -53
- package/browser/lib/compiler-manager.d.ts +0 -15
- package/browser/lib/constants.d.ts +0 -2
- package/browser/lib/helpers.d.ts +0 -13
- package/browser/lib/incremental-watcher.d.ts +0 -4
- package/browser/lib/index.d.ts +0 -5
- package/browser/lib/models.d.ts +0 -68
- package/browser/lib/parcel-watcher-adapter.d.ts +0 -31
- package/browser/public-api.d.ts +0 -2
- package/lib/base-client-compiler.backend.d.ts +0 -56
- package/lib/base-client-compiler.backend.js +0 -325
- package/lib/base-client-compiler.backend.js.map +0 -1
- package/lib/change-of-file.backend.d.ts +0 -8
- package/lib/change-of-file.backend.js +0 -25
- package/lib/change-of-file.backend.js.map +0 -1
- package/lib/compiler-manager.backend.d.ts +0 -16
- package/lib/compiler-manager.backend.js +0 -213
- package/lib/compiler-manager.backend.js.map +0 -1
- package/lib/decorators.backend.d.ts +0 -5
- package/lib/decorators.backend.js +0 -56
- package/lib/decorators.backend.js.map +0 -1
- package/lib/helpers.backend.d.ts +0 -3
- package/lib/helpers.backend.js +0 -31
- package/lib/helpers.backend.js.map +0 -1
- package/package.json_devDependencies.json +0 -216
- package/package.json_tnp.json5 +0 -58
- package/websql/index.d.ts +0 -6
- package/websql/lib/base-client-compiler.d.ts +0 -53
- package/websql/lib/compiler-manager.d.ts +0 -15
- package/websql/lib/constants.d.ts +0 -2
- package/websql/lib/helpers.d.ts +0 -13
- package/websql/lib/incremental-watcher.d.ts +0 -4
- package/websql/lib/index.d.ts +0 -5
- package/websql/lib/models.d.ts +0 -68
- package/websql/lib/parcel-watcher-adapter.d.ts +0 -31
- package/websql/public-api.d.ts +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compiler-manager.backend.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;;AAAA,iBAAiB;AACjB,kBAAkB;AAClB,qCAA8C;AAC9C,YAAY;AACZ,qCAA4D;AAC5D,2CAAsC;AACtC,mEAAwD;AAGxD,yCAA+C;AAC/C,6DAG+B;AAE/B,kCAAkC;AAClC,qBAAqB;AACrB,gCAAgC;AAChC,YAAY;AACZ,YAAY;AAEZ,IAAM,eAAe,GAAG,CAAC,wBAAwB,EAAC,iBAAiB,CAAC,CAAC;AAErE;IAoBE,YAAY;IAEZ,qBAAqB;IACrB;QAbA,YAAY;QACZ,YAAY;QAEZ,0BAA0B;QAElB,YAAO,GAA8B,EAAE,CAAC;QAExC,WAAM,GAAG,KAAK,CAAC;QACf,sBAAiB,GAAG,EAAE,CAAC;IAKR,CAAC;IAnBxB,sBAAkB,2BAAQ;aAA1B;YACE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;gBACpB,IAAI,CAAC,SAAS,GAAG,IAAI,eAAe,EAAE,CAAC;YACzC,CAAC;YACD,OAAO,IAAI,CAAC,SAAS,CAAC;QACxB,CAAC;;;OAAA;IAeD,YAAY;IAEZ,6BAA6B;IAChB,kCAAQ,GAArB,UAAsB,MAA+B,EAAE,YAAiB;;;;;;wBAClE,KAAK,GAAG,EAAE,CAAC;wBACf,IAAI,YAAC,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,MAAM,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;4BACjE,KAAK,GAAG,MAAM,CAAC,UAAU;iCACtB,MAAM,CAAC,UAAC,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AzNY,0CAAe"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function AsyncAction(): (target: object, propertyKey: string, propertyDescriptor: PropertyDescriptor) => void;
|
|
2
|
-
export interface IncCompilerClassOptions {
|
|
3
|
-
className: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function IncCompilerClass(options: IncCompilerClassOptions): (target: any) => void;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AsyncAction = AsyncAction;
|
|
4
|
-
exports.IncCompilerClass = IncCompilerClass;
|
|
5
|
-
//#region imports
|
|
6
|
-
var typescript_class_helpers_1 = require("typescript-class-helpers");
|
|
7
|
-
var tnp_core_1 = require("tnp-core");
|
|
8
|
-
var change_of_file_backend_1 = require("./change-of-file.backend");
|
|
9
|
-
var tnp_core_2 = require("tnp-core");
|
|
10
|
-
//#endregion
|
|
11
|
-
function AsyncAction() {
|
|
12
|
-
return function (target, propertyKey, propertyDescriptor) {
|
|
13
|
-
// get original method
|
|
14
|
-
// unsub(void 0, void 0);
|
|
15
|
-
var originalMethod = propertyDescriptor.value;
|
|
16
|
-
// redefine descriptor value within own function block
|
|
17
|
-
propertyDescriptor.value = function () {
|
|
18
|
-
var _this = this;
|
|
19
|
-
var args = [];
|
|
20
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
21
|
-
args[_i] = arguments[_i];
|
|
22
|
-
}
|
|
23
|
-
// log arguments before original function
|
|
24
|
-
// console.log(`${propertyKey} method called with args: ${JSON.stringify(args, null, 2)}`);
|
|
25
|
-
var first = tnp_core_1._.first(args);
|
|
26
|
-
if (first instanceof change_of_file_backend_1.ChangeOfFile) {
|
|
27
|
-
var ex = first.clientsForChange.find(function (f) {
|
|
28
|
-
// console.log(`${CLASS.getNameFromObject(f)} === ${CLASS.getNameFromObject(this)}`)
|
|
29
|
-
return typescript_class_helpers_1.CLASS.getNameFromObject(f) === typescript_class_helpers_1.CLASS.getNameFromObject(_this);
|
|
30
|
-
});
|
|
31
|
-
// console.log('ex', ex)
|
|
32
|
-
if (ex) {
|
|
33
|
-
first.executedFor.push(ex);
|
|
34
|
-
// console.log(`HHHH!!!!! Async Method called fror ${CLASS.getNameFromObject(this)}`);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
// attach original method implementation
|
|
38
|
-
var result = originalMethod.apply(this, args);
|
|
39
|
-
// log result of method
|
|
40
|
-
// console.log(`${propertyKey} method return value: ${JSON.stringify(result)}`);
|
|
41
|
-
return result;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
var instancesNames = [];
|
|
46
|
-
function IncCompilerClass(options) {
|
|
47
|
-
return function (target) {
|
|
48
|
-
var className = options.className;
|
|
49
|
-
if (instancesNames.includes(className)) {
|
|
50
|
-
tnp_core_2.Helpers.warn("Compiler class \"".concat(className, "\" already has instance."), false);
|
|
51
|
-
}
|
|
52
|
-
instancesNames.push(className);
|
|
53
|
-
typescript_class_helpers_1.CLASS.NAME(className)(target);
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=decorators.backend.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.backend.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AAOA,kCAgCC;AAQD,4CASC;AAxDD,iBAAiB;AACjB,qEAAiD;AACjD,qCAA6B;AAC7B,mEAAwD;AACxD,qCAAmC;AACnC,YAAY;AAEZ,SAAgB,WAAW;IACzB,OAAO,UACL,MAAc,EACd,WAAmB,EACnB,kBAAsC;QAEtC,sBAAsB;QACtB,yBAAyB;QACzB,IAAM,cAAc,GAAG,kBAAkB,CAAC,KAAK,CAAC;QAChD,sDAAsD;QACtD,kBAAkB,CAAC,KAAK,GAAG;YAAA,iBAoB1B;YApBoC,cAAc;iBAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;gBAAd,yBAAc;;YACjD,yCAAy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
|
-
export declare function mapForWatching(c: string): string[];
|
|
3
|
-
export declare function clientsBy<T = BaseClientCompiler>(clientNameOrClass: string | Function, condition: (c: T) => boolean, clients: BaseClientCompiler[]): T[];
|
package/lib/helpers.backend.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mapForWatching = mapForWatching;
|
|
4
|
-
exports.clientsBy = clientsBy;
|
|
5
|
-
var tnp_core_1 = require("tnp-core");
|
|
6
|
-
var typescript_class_helpers_1 = require("typescript-class-helpers");
|
|
7
|
-
//#endregion
|
|
8
|
-
function mapForWatching(c) {
|
|
9
|
-
if (tnp_core_1.fse.existsSync(c) && tnp_core_1.fse.lstatSync(c).isDirectory()) {
|
|
10
|
-
return [c, "".concat(c, "/**/*.*")];
|
|
11
|
-
}
|
|
12
|
-
return [c];
|
|
13
|
-
}
|
|
14
|
-
function clientsBy(clientNameOrClass, condition, clients) {
|
|
15
|
-
if (tnp_core_1._.isFunction(clientNameOrClass)) {
|
|
16
|
-
clientNameOrClass = typescript_class_helpers_1.CLASS.getName(clientNameOrClass);
|
|
17
|
-
}
|
|
18
|
-
return clients.filter(function (cinstance) {
|
|
19
|
-
var classesOk = (typescript_class_helpers_1.CLASS.getNameFromObject(cinstance) === clientNameOrClass);
|
|
20
|
-
if (classesOk) {
|
|
21
|
-
if (tnp_core_1._.isFunction(condition)) {
|
|
22
|
-
return !!condition(cinstance);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return false;
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=helpers.backend.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.backend.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;AASA,wCAKC;AAED,8BAkBC;AA9BD,qCAAkC;AAElC,qEAAiD;AACjD,YAAY;AAEZ,SAAgB,cAAc,CAAC,CAAS;IACtC,IAAI,cAAG,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,cAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC;QACxD,OAAO,CAAC,CAAC,EAAE,UAAG,CAAC,YAAS,CAAC,CAAC;IAC5B,CAAC;IACD,OAAO,CAAC,CAAC,CAAC,CAAC;AACb,CAAC;AAED,SAAgB,SAAS,CAAyB,iBAAoC,EACpF,SAA4B,EAAE,OAA6B;IAE3D,IAAI,YAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACpC,iBAAiB,GAAG,gCAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAA;IACtD,CAAC;IAED,OAAO,OAAO,CAAC,MAAM,CAAC,UAAA,SAAS;QAC7B,IAAM,SAAS,GAAG,CAAC,gCAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,KAAK,iBAAiB,CAAC,CAAC;QAC7E,IAAI,SAAS,EAAE,CAAC;YACd,IAAI,YAAC,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;gBAC5B,OAAO,CAAC,CAAC,SAAS,CAAC,SAAgB,CAAC,CAAC;YACvC,CAAC;iBAAM,CAAC;gBACN,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAQ,CAAC;AACZ,CAAC"}
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"@angular-devkit/build-angular": "0.901.3",
|
|
3
|
-
"@angular-devkit/build-optimizer": "0.900.0-rc.7",
|
|
4
|
-
"@angular-devkit/schematics": "9.0.0-rc.7",
|
|
5
|
-
"@angular/animations": "9.1.3",
|
|
6
|
-
"@angular/cdk": "9.2.1",
|
|
7
|
-
"@angular/cli": "9.1.3",
|
|
8
|
-
"@angular/common": "9.1.3",
|
|
9
|
-
"@angular/compiler": "9.1.3",
|
|
10
|
-
"@angular/compiler-cli": "9.1.3",
|
|
11
|
-
"@angular/core": "9.1.3",
|
|
12
|
-
"@angular/forms": "9.1.3",
|
|
13
|
-
"@angular/http": "7.2.15",
|
|
14
|
-
"@angular/language-service": "9.1.3",
|
|
15
|
-
"@angular/material": "9.2.1",
|
|
16
|
-
"@angular/platform-browser": "9.1.3",
|
|
17
|
-
"@angular/platform-browser-dynamic": "9.1.3",
|
|
18
|
-
"@angular/pwa": "0.900.0-rc.7",
|
|
19
|
-
"@angular/router": "9.1.3",
|
|
20
|
-
"@angular/service-worker": "9.1.3",
|
|
21
|
-
"@mdi/js": "5.8.55",
|
|
22
|
-
"@ngx-formly/bootstrap": "5.5.6",
|
|
23
|
-
"@ngx-formly/core": "5.5.6",
|
|
24
|
-
"@ngx-formly/ionic": "5.5.6",
|
|
25
|
-
"@ngx-formly/material": "5.5.6",
|
|
26
|
-
"@ngx-loading-bar/core": "4.2.0",
|
|
27
|
-
"@ngx-loading-bar/http": "4.2.0",
|
|
28
|
-
"@ngx-loading-bar/router": "4.2.0",
|
|
29
|
-
"@ngx-translate/core": "11.0.1",
|
|
30
|
-
"@ngx-translate/http-loader": "4.0.0",
|
|
31
|
-
"@swimlane/ngx-datatable": "16.0.2",
|
|
32
|
-
"@types/chai": "4.1.2",
|
|
33
|
-
"@types/diff": "3.2.2",
|
|
34
|
-
"@types/express": "4.11.0",
|
|
35
|
-
"@types/express-fileupload": "0.1.1",
|
|
36
|
-
"@types/http-proxy": "1.16.0",
|
|
37
|
-
"@types/http-proxy-middleware": "0.19.2",
|
|
38
|
-
"@types/inquirer": "7.3.1",
|
|
39
|
-
"@types/jasmine": "3.5.0",
|
|
40
|
-
"@types/jasminewd2": "2.0.3",
|
|
41
|
-
"@types/json-stringify-safe": "5.0.0",
|
|
42
|
-
"@types/json5": "0.0.29",
|
|
43
|
-
"@types/lockfile": "1.0.0",
|
|
44
|
-
"@types/lodash": "4.14.92",
|
|
45
|
-
"@types/lowdb": "1.0.6",
|
|
46
|
-
"@types/mocha": "5.2.5",
|
|
47
|
-
"@types/node": "12.11.1",
|
|
48
|
-
"@types/node-notifier": "5.4.0",
|
|
49
|
-
"@types/oauth2orize": "1.8.0",
|
|
50
|
-
"@types/password-hash": "1.2.19",
|
|
51
|
-
"@types/progress": "2.0.3",
|
|
52
|
-
"@types/q": "1.0.3",
|
|
53
|
-
"@types/rimraf": "2.0.2",
|
|
54
|
-
"@types/systeminformation": "3.23.0",
|
|
55
|
-
"@types/vinyl": "2.0.2",
|
|
56
|
-
"@types/watch": "1.0.0",
|
|
57
|
-
"accepts": "1.3.4",
|
|
58
|
-
"angular-tree-component": "7.0.0",
|
|
59
|
-
"axios": "0.17.1",
|
|
60
|
-
"babel-cli": "6.26.0",
|
|
61
|
-
"babel-preset-env": "1.7.0",
|
|
62
|
-
"background-worker-process": "~0.0.34",
|
|
63
|
-
"bcryptjs": "2.4.3",
|
|
64
|
-
"body-parser": "1.18.2",
|
|
65
|
-
"bootstrap": "4.3.1",
|
|
66
|
-
"bs4-breakpoint": "~2.0.40",
|
|
67
|
-
"buffer-shims": "1.0.0",
|
|
68
|
-
"button-dropdown": "~1.0.45",
|
|
69
|
-
"callsite-record": "4.1.3",
|
|
70
|
-
"chai": "4.2.0",
|
|
71
|
-
"chalk": "2.3.2",
|
|
72
|
-
"check-node-version": "3.2.0",
|
|
73
|
-
"cheerio": "1.0.0-rc.3",
|
|
74
|
-
"circular-json": "0.5.1",
|
|
75
|
-
"codelyzer": "5.1.2",
|
|
76
|
-
"command-exists": "1.2.2",
|
|
77
|
-
"compression": "1.7.4",
|
|
78
|
-
"concurrently": "3.5.1",
|
|
79
|
-
"content-type": "1.0.4",
|
|
80
|
-
"cookie-parser": "1.4.3",
|
|
81
|
-
"copy-paste": "1.3.0",
|
|
82
|
-
"core-js-compat": "3.4.0",
|
|
83
|
-
"cors": "2.8.4",
|
|
84
|
-
"cpr": "3.0.1",
|
|
85
|
-
"cross-spawn": "7.0.3",
|
|
86
|
-
"detect-mocha": "0.1.0",
|
|
87
|
-
"diff": "3.2.0",
|
|
88
|
-
"element-resize-detector": "1.1.15",
|
|
89
|
-
"enquirer": "2.3.0",
|
|
90
|
-
"enum-values": "1.2.1",
|
|
91
|
-
"errorhandler": "1.5.0",
|
|
92
|
-
"eslint": "7.13.0",
|
|
93
|
-
"eslint-plugin-import": "2.22.1",
|
|
94
|
-
"eslint-plugin-jsdoc": "30.7.8",
|
|
95
|
-
"eslint-plugin-prefer-arrow": "1.2.2",
|
|
96
|
-
"express": "4.16.3",
|
|
97
|
-
"express-fileupload": "0.4.0",
|
|
98
|
-
"fbgraph": "1.4.1",
|
|
99
|
-
"file-loader": "1.1.5",
|
|
100
|
-
"fkill": "6.1.0",
|
|
101
|
-
"font-awesome": "4.7.0",
|
|
102
|
-
"fuzzy": "0.1.3",
|
|
103
|
-
"gulp": "3.9.1",
|
|
104
|
-
"hammerjs": "2.0.8",
|
|
105
|
-
"hostile": "1.3.3",
|
|
106
|
-
"html-webpack-plugin": "4.3.0",
|
|
107
|
-
"http-proxy": "1.16.2",
|
|
108
|
-
"http-proxy-middleware": "0.19.1",
|
|
109
|
-
"http-server": "0.11.1",
|
|
110
|
-
"incremental-compiler": "~1.1.52",
|
|
111
|
-
"inquirer": "7.3.3",
|
|
112
|
-
"inquirer-autocomplete-prompt": "1.3.0",
|
|
113
|
-
"is-elevated": "3.0.0",
|
|
114
|
-
"istanbul-instrumenter-loader": "2.0.0",
|
|
115
|
-
"jasmine-core": "3.5.0",
|
|
116
|
-
"jasmine-spec-reporter": "4.2.1",
|
|
117
|
-
"json-stringify-safe": "5.0.1",
|
|
118
|
-
"json10": "~1.0.34",
|
|
119
|
-
"json5": "2.1.3",
|
|
120
|
-
"json5-writer": "0.2.0",
|
|
121
|
-
"karma": "5.0.0",
|
|
122
|
-
"karma-chrome-launcher": "3.1.0",
|
|
123
|
-
"karma-cli": "1.0.1",
|
|
124
|
-
"karma-coverage-istanbul-reporter": "2.1.0",
|
|
125
|
-
"karma-jasmine": "3.0.1",
|
|
126
|
-
"karma-jasmine-html-reporter": "1.4.2",
|
|
127
|
-
"lnk": "1.0.1",
|
|
128
|
-
"lockfile": "1.0.4",
|
|
129
|
-
"lodash": "4.17.4",
|
|
130
|
-
"lodash-walk-object": "~1.0.35",
|
|
131
|
-
"lowdb": "1.0.0",
|
|
132
|
-
"magic-renamer": "~0.0.19",
|
|
133
|
-
"material-design-icons": "3.0.1",
|
|
134
|
-
"method-override": "2.3.10",
|
|
135
|
-
"minimist": "1.2.0",
|
|
136
|
-
"mkdirp": "0.5.1",
|
|
137
|
-
"mocha": "5.2.0",
|
|
138
|
-
"moment": "2.22.2",
|
|
139
|
-
"morphi": "~4.0.53",
|
|
140
|
-
"ng-modal-lib": "0.0.6",
|
|
141
|
-
"ng-packagr": "5.7.1",
|
|
142
|
-
"ng-talkback": "~2.4.24",
|
|
143
|
-
"ng2-file-upload": "1.3.0",
|
|
144
|
-
"ng2-logger": "~8.0.20",
|
|
145
|
-
"ng2-rest": "~11.0.41",
|
|
146
|
-
"ng4-icons": "~0.0.29",
|
|
147
|
-
"ng4-modal": "~0.0.29",
|
|
148
|
-
"ngx-bootstrap": "5.2.0",
|
|
149
|
-
"ngx-breadcrumbs": "0.0.3",
|
|
150
|
-
"ngx-editor": "4.1.0",
|
|
151
|
-
"ngx-moment": "3.5.0",
|
|
152
|
-
"ngx-pipes": "2.6.0",
|
|
153
|
-
"ngx-store": "2.1.0",
|
|
154
|
-
"ngx-toastr": "11.2.1",
|
|
155
|
-
"ngx-wig": "8.0.0",
|
|
156
|
-
"node-cli-test": "0.0.2",
|
|
157
|
-
"node-cli-tester": "~0.0.21",
|
|
158
|
-
"node-localstorage": "2.1.6",
|
|
159
|
-
"node-notifier": "6.0.0",
|
|
160
|
-
"nodemon": "1.14.11",
|
|
161
|
-
"npm-get-dependents": "1.0.1",
|
|
162
|
-
"npm-run": "4.1.2",
|
|
163
|
-
"omelette": "0.4.5",
|
|
164
|
-
"open": "7.2.1",
|
|
165
|
-
"ora": "3.4.0",
|
|
166
|
-
"passport": "0.3.2",
|
|
167
|
-
"passport-http-bearer": "1.0.1",
|
|
168
|
-
"password-hash": "1.2.2",
|
|
169
|
-
"portfinder": "1.0.21",
|
|
170
|
-
"prettier": "2.3.2",
|
|
171
|
-
"progress": "2.0.3",
|
|
172
|
-
"prompts": "0.1.8",
|
|
173
|
-
"protractor": "5.4.3",
|
|
174
|
-
"ps-list": "6.1.0",
|
|
175
|
-
"ps-node": "0.1.6",
|
|
176
|
-
"q": "1.5.1",
|
|
177
|
-
"randomcolor": "0.5.3",
|
|
178
|
-
"record-replay-req-res-scenario": "~0.0.25",
|
|
179
|
-
"reflect-metadata": "0.1.10",
|
|
180
|
-
"rimraf": "2.6.2",
|
|
181
|
-
"rxjs": "6.5.4",
|
|
182
|
-
"rxjs-compat": "6.5.3",
|
|
183
|
-
"simple-git": "1.96.0",
|
|
184
|
-
"sloc": "0.2.0",
|
|
185
|
-
"socket.io": "2.4.1",
|
|
186
|
-
"sort-package-json": "1.11.0",
|
|
187
|
-
"static-columns": "~2.0.12",
|
|
188
|
-
"string-similarity": "4.0.2",
|
|
189
|
-
"sudo-block": "3.0.0",
|
|
190
|
-
"systeminformation": "3.45.7",
|
|
191
|
-
"task.js": "0.1.5",
|
|
192
|
-
"tnp-cli": "~2.0.20",
|
|
193
|
-
"tnp-config": "~1.0.20",
|
|
194
|
-
"tnp-core": "~1.0.34",
|
|
195
|
-
"tnp-db": "~0.0.42",
|
|
196
|
-
"tnp-helpers": "~0.0.70",
|
|
197
|
-
"tnp-models": "~0.0.36",
|
|
198
|
-
"tnp-tools": "~0.0.45",
|
|
199
|
-
"tnp-ui": "~0.0.32",
|
|
200
|
-
"ts-loader": "7.0.4",
|
|
201
|
-
"ts-node": "8.3.0",
|
|
202
|
-
"tsickle": "0.26.0",
|
|
203
|
-
"tslib": "2.2.0",
|
|
204
|
-
"tslint": "6.1.0",
|
|
205
|
-
"typeorm": "~0.2.7",
|
|
206
|
-
"typescript": "4.1.5",
|
|
207
|
-
"typescript-formatter": "7.2.2",
|
|
208
|
-
"uglifyjs-webpack-plugin": "2.2.0",
|
|
209
|
-
"underscore": "1.9.1",
|
|
210
|
-
"uuid": "8.3.2",
|
|
211
|
-
"validator": "9.2.0",
|
|
212
|
-
"vpn-split": "~0.0.17",
|
|
213
|
-
"watch": "1.0.2",
|
|
214
|
-
"webpack-cli": "3.3.11",
|
|
215
|
-
"zone.js": "0.10.2"
|
|
216
|
-
}
|
package/package.json_tnp.json5
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"resources": [
|
|
3
|
-
"README.md"
|
|
4
|
-
],
|
|
5
|
-
|
|
6
|
-
"overrided": {
|
|
7
|
-
"ignoreDepsPattern": [],
|
|
8
|
-
"includeAsDev": [],
|
|
9
|
-
|
|
10
|
-
"includeOnly": [
|
|
11
|
-
"@types/glob",
|
|
12
|
-
"glob",
|
|
13
|
-
"fs-extra",
|
|
14
|
-
"@types/fs-extra",
|
|
15
|
-
"chokidar",
|
|
16
|
-
"@types/chokidar",
|
|
17
|
-
"dateformat",
|
|
18
|
-
"@types/dateformat",
|
|
19
|
-
"typescript-class-helpers",
|
|
20
|
-
"tnp-helpers",
|
|
21
|
-
// '@parcel/watcher',
|
|
22
|
-
],
|
|
23
|
-
|
|
24
|
-
"dependencies": {},
|
|
25
|
-
"linkedFolders": [],
|
|
26
|
-
'npmFixes': [],
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
"linkedProjects": [],
|
|
30
|
-
'smartContainerBuildTarget': '',
|
|
31
|
-
'linkedRepos': [],
|
|
32
|
-
|
|
33
|
-
"libReleaseOptions": {
|
|
34
|
-
"nodts": false,
|
|
35
|
-
"obscure": false,
|
|
36
|
-
"ugly": false,
|
|
37
|
-
'includeNodeModules': false,
|
|
38
|
-
'cliBuildNoDts': false,
|
|
39
|
-
'cliBuildObscure': false,
|
|
40
|
-
'cliBuildIncludeNodeModules': false,
|
|
41
|
-
'cliBuildUglify': false,
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
'smartContainerTarget': '',
|
|
45
|
-
"type": "isomorphic-lib",
|
|
46
|
-
"isCoreProject": false,
|
|
47
|
-
"useFramework": false,
|
|
48
|
-
"version": 'v4',
|
|
49
|
-
"isGenerated": false,
|
|
50
|
-
"license": "MIT",
|
|
51
|
-
"private": false,
|
|
52
|
-
"main": "index.js",
|
|
53
|
-
"workerPlugins": {},
|
|
54
|
-
|
|
55
|
-
"additionalNpmNames": [
|
|
56
|
-
"firedev-incremental-watcher"
|
|
57
|
-
],
|
|
58
|
-
}
|
package/websql/index.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { CoreModels } from 'tnp-core/websql';
|
|
3
|
-
import { ChangeOfFile, IncrementalWatcherOptions } from './models';
|
|
4
|
-
import { BaseClientCompilerOptions, StartAndWatchOptions, StartOptions } from './models';
|
|
5
|
-
export declare class BaseClientCompiler<INITIAL_PARAMS = any> implements BaseClientCompilerOptions {
|
|
6
|
-
readonly followSymlinks: boolean;
|
|
7
|
-
readonly subscribeOnlyFor: CoreModels.FileExtension[];
|
|
8
|
-
readonly executeOutsideScenario: boolean;
|
|
9
|
-
readonly taskName: string;
|
|
10
|
-
readonly engine: IncrementalWatcherOptions['engine'];
|
|
11
|
-
readonly notifyOnFileUnlink: boolean;
|
|
12
|
-
protected onlySingleRun: boolean;
|
|
13
|
-
ignoreFolderPatter?: string[];
|
|
14
|
-
private pathResolve;
|
|
15
|
-
private isInitedWithOptions;
|
|
16
|
-
private __folderPath;
|
|
17
|
-
lastAsyncFiles: string[];
|
|
18
|
-
readonly isWatchCompilation: boolean;
|
|
19
|
-
readonly folderPathContentCheck: string[];
|
|
20
|
-
set folderPath(v: string[]);
|
|
21
|
-
get folderPath(): string[];
|
|
22
|
-
/**
|
|
23
|
-
* manually init options (when no passing object to constructor super() )
|
|
24
|
-
*/
|
|
25
|
-
protected initOptions(options?: BaseClientCompilerOptions): void;
|
|
26
|
-
/**
|
|
27
|
-
* do not override this
|
|
28
|
-
*/
|
|
29
|
-
runTask(options?: {
|
|
30
|
-
watch?: boolean;
|
|
31
|
-
} & StartAndWatchOptions<INITIAL_PARAMS>): Promise<BaseClientCompiler<INITIAL_PARAMS>>;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated use runTask instead
|
|
34
|
-
* Do not override this
|
|
35
|
-
*/
|
|
36
|
-
start(options?: StartOptions<INITIAL_PARAMS>): Promise<BaseClientCompiler<INITIAL_PARAMS>>;
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated use runTask instead
|
|
39
|
-
* Do not override this
|
|
40
|
-
*/
|
|
41
|
-
startAndWatch(options?: StartAndWatchOptions<INITIAL_PARAMS>): Promise<BaseClientCompiler<INITIAL_PARAMS>>;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @param absolteFilesPathes for each watched file
|
|
45
|
-
* @returns
|
|
46
|
-
*/
|
|
47
|
-
syncAction(absolteFilesPathes?: string[], initialParams?: INITIAL_PARAMS): Promise<void>;
|
|
48
|
-
preAsyncAction(initialParams?: INITIAL_PARAMS): Promise<void>;
|
|
49
|
-
asyncAction(asyncEvents: ChangeOfFile, initialParams?: INITIAL_PARAMS): Promise<void>;
|
|
50
|
-
getFilesFolderPatternsToWatch(): string[];
|
|
51
|
-
private fixAndAssignOptions;
|
|
52
|
-
private fixTaskName;
|
|
53
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseClientCompiler } from './base-client-compiler';
|
|
3
|
-
export declare class CompilerManager {
|
|
4
|
-
private static _instance;
|
|
5
|
-
static get Instance(): CompilerManager;
|
|
6
|
-
private clients;
|
|
7
|
-
private asyncEventScenario;
|
|
8
|
-
private filesContentCache;
|
|
9
|
-
private constructor();
|
|
10
|
-
syncInit(client: BaseClientCompiler<any>, initialParams: any): Promise<void>;
|
|
11
|
-
asyncInit(client: BaseClientCompiler<any>, initialParams: any): Promise<void>;
|
|
12
|
-
private actionForAsyncEvent;
|
|
13
|
-
addClient(client: BaseClientCompiler<any>): void;
|
|
14
|
-
private fileShouldBeChecked;
|
|
15
|
-
}
|
package/websql/lib/helpers.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* @returns Absolute paths of files/folders matching the given pattern
|
|
4
|
-
*/
|
|
5
|
-
export declare const getFilesByPattern: ({ globPath, ignorePatterns, followSymlinks, searchStrategy, taskName, }: {
|
|
6
|
-
globPath: string;
|
|
7
|
-
ignorePatterns: string[];
|
|
8
|
-
followSymlinks: boolean;
|
|
9
|
-
searchStrategy: "files-only" | "folders-and-files" | "folders-only";
|
|
10
|
-
taskName?: string;
|
|
11
|
-
}) => string[];
|
|
12
|
-
export declare const mapForWatching: (c: string) => string[];
|
|
13
|
-
export declare const stripGlobToDir: (globPath: string) => string;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { IncrementalWatcherInstance } from './models';
|
|
3
|
-
import { IncrementalWatcherOptions } from './models';
|
|
4
|
-
export declare function incrementalWatcher(filesFolderPathOrPatternsToWatch: string[], watchOptions: IncrementalWatcherOptions): IncrementalWatcherInstance;
|
package/websql/lib/index.d.ts
DELETED
package/websql/lib/models.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { CoreModels } from 'tnp-core/websql';
|
|
3
|
-
export interface StartAndWatchOptions<INIT_PARAMS = any> {
|
|
4
|
-
afterInitCallBack?: (initialParams?: INIT_PARAMS) => void;
|
|
5
|
-
watchOnly?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* override task name
|
|
8
|
-
*/
|
|
9
|
-
taskName?: string;
|
|
10
|
-
initialParams?: INIT_PARAMS;
|
|
11
|
-
}
|
|
12
|
-
export type StartOptions<T = any> = Omit<StartAndWatchOptions<T>, 'watchOnly'>;
|
|
13
|
-
export interface BaseClientCompilerOptions {
|
|
14
|
-
taskName: string;
|
|
15
|
-
folderPath?: string | string[];
|
|
16
|
-
/**
|
|
17
|
-
* It will cache in memory previouse files
|
|
18
|
-
* to limit async actions calls
|
|
19
|
-
* and prevent not changed files emiting change event
|
|
20
|
-
*/
|
|
21
|
-
folderPathContentCheck?: string | string[];
|
|
22
|
-
/**
|
|
23
|
-
* default true
|
|
24
|
-
*/
|
|
25
|
-
followSymlinks?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Notify compiler if file is unlinked
|
|
28
|
-
* default: false
|
|
29
|
-
*/
|
|
30
|
-
notifyOnFileUnlink?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* ignore glob folder pattern
|
|
33
|
-
* node_modules is always ignored
|
|
34
|
-
*/
|
|
35
|
-
ignoreFolderPatter?: string[];
|
|
36
|
-
subscribeOnlyFor?: CoreModels.FileExtension[];
|
|
37
|
-
engine?: IncrementalWatcherOptions['engine'];
|
|
38
|
-
}
|
|
39
|
-
export interface ParcelEvent {
|
|
40
|
-
path: string;
|
|
41
|
-
type: ParcelEventType;
|
|
42
|
-
}
|
|
43
|
-
export type IncrementalWatcherAllEvents = 'all' | IncrementalWatcherEvents;
|
|
44
|
-
export type ListenerForAll = (eventName: IncrementalWatcherEvents, path: string) => void;
|
|
45
|
-
export type ListenerForSingleEvent = (path: string) => void;
|
|
46
|
-
export type Listener = ListenerForAll | ListenerForSingleEvent;
|
|
47
|
-
export interface IncrementalWatcherInstance {
|
|
48
|
-
add(paths: string | ReadonlyArray<string>): void;
|
|
49
|
-
on(event: 'all', listener: ListenerForAll): this;
|
|
50
|
-
on(event: IncrementalWatcherAllEvents, listener: ListenerForSingleEvent): this;
|
|
51
|
-
}
|
|
52
|
-
export interface IncrementalWatcherOptions {
|
|
53
|
-
ignored?: string[];
|
|
54
|
-
ignoreInitial?: boolean;
|
|
55
|
-
followSymlinks?: boolean;
|
|
56
|
-
name: string;
|
|
57
|
-
/**
|
|
58
|
-
* Default is @parcel/watcher
|
|
59
|
-
*/
|
|
60
|
-
engine?: 'chokidar' | '@parcel/watcher';
|
|
61
|
-
}
|
|
62
|
-
export type IncrementalWatcherEvents = 'add' | 'addDir' | 'change' | 'unlink' | 'unlinkDir';
|
|
63
|
-
export type ParcelEventType = 'create' | 'update' | 'delete';
|
|
64
|
-
export interface ChangeOfFile {
|
|
65
|
-
datetime: Date;
|
|
66
|
-
fileAbsolutePath: string;
|
|
67
|
-
eventName: 'add' | 'change' | 'unlink' | 'unlinkDir';
|
|
68
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { IncrementalWatcherAllEvents, Listener, IncrementalWatcherInstance } from './models';
|
|
3
|
-
import { IncrementalWatcherOptions } from './models';
|
|
4
|
-
/**
|
|
5
|
-
* Adapter for chokidar watcher that uses @parcel/watcher under the hood
|
|
6
|
-
*/
|
|
7
|
-
export declare class ParcelWatcherAdapter implements Partial<IncrementalWatcherInstance> {
|
|
8
|
-
static instances: ParcelWatcherAdapter[];
|
|
9
|
-
private pathsToWatch;
|
|
10
|
-
private listenerData;
|
|
11
|
-
private subs;
|
|
12
|
-
private alreadyStarted;
|
|
13
|
-
private allFilesAndFoldersInitial;
|
|
14
|
-
private foldersPathes;
|
|
15
|
-
private readonly ignore;
|
|
16
|
-
private readonly ignoreInitial;
|
|
17
|
-
private readonly followSymlinks;
|
|
18
|
-
private readonly engine;
|
|
19
|
-
private readonly name;
|
|
20
|
-
constructor(filesFolderPathOrPatternsToWatch: string[], initialOptions: IncrementalWatcherOptions);
|
|
21
|
-
private stopWatching;
|
|
22
|
-
startWatching(options?: {}): Promise<void>;
|
|
23
|
-
add(pathToAdd: string | string[], options?: {
|
|
24
|
-
fistTimeAdding?: boolean;
|
|
25
|
-
}): void;
|
|
26
|
-
on(allowedEvent: IncrementalWatcherAllEvents, listenerFromOnFn: Listener): this;
|
|
27
|
-
private handleErrors;
|
|
28
|
-
private notifyListener;
|
|
29
|
-
private chokidarToParcel;
|
|
30
|
-
private pushInitial;
|
|
31
|
-
}
|
package/websql/public-api.d.ts
DELETED