incremental-compiler 13.1.25 → 16.0.28

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.
Files changed (47) hide show
  1. package/assets/shared/shared_folder_info.txt +1 -1
  2. package/browser/{esm2020 → esm2022}/incremental-compiler.mjs +4 -4
  3. package/{client/esm2020 → browser/esm2022}/lib/index.mjs +74 -74
  4. package/browser/{esm2020 → esm2022}/lib/models.mjs +5 -5
  5. package/{client/esm2020 → browser/esm2022}/public-api.mjs +1 -1
  6. package/{client/fesm2015 → browser/fesm2022}/incremental-compiler.mjs +74 -74
  7. package/browser/{incremental-compiler.d.ts → index.d.ts} +4 -4
  8. package/browser/lib/models.d.ts +33 -33
  9. package/browser/package.json +6 -12
  10. package/client/{esm2020 → esm2022}/incremental-compiler.mjs +4 -4
  11. package/{browser/esm2020 → client/esm2022}/lib/index.mjs +74 -74
  12. package/client/{esm2020 → esm2022}/lib/models.mjs +5 -5
  13. package/{browser/esm2020 → client/esm2022}/public-api.mjs +1 -1
  14. package/{browser/fesm2015 → client/fesm2022}/incremental-compiler.mjs +74 -74
  15. package/client/{incremental-compiler.d.ts → index.d.ts} +4 -4
  16. package/client/lib/models.d.ts +33 -33
  17. package/client/package.json +89 -85
  18. package/index.d.ts +1 -1
  19. package/lib/base-client-compiler.backend.d.ts +56 -56
  20. package/lib/change-of-file.backend.d.ts +14 -14
  21. package/lib/compiler-manager.backend.d.ts +26 -26
  22. package/lib/compiler-manager.backend.js +1 -0
  23. package/lib/compiler-manager.backend.js.map +1 -1
  24. package/lib/decorators.backend.d.ts +5 -5
  25. package/lib/helpers.backend.d.ts +3 -3
  26. package/lib/index.d.ts +40 -40
  27. package/lib/models.d.ts +34 -34
  28. package/package.json +4 -4
  29. package/package.json_tnp.json5 +1 -1
  30. package/tmp-environment.json +94 -90
  31. package/websql/{esm2020 → esm2022}/incremental-compiler.mjs +4 -4
  32. package/websql/{esm2020 → esm2022}/lib/index.mjs +74 -74
  33. package/websql/{esm2020 → esm2022}/lib/models.mjs +5 -5
  34. package/websql/{esm2020 → esm2022}/public-api.mjs +1 -1
  35. package/{browser/fesm2020 → websql/fesm2022}/incremental-compiler.mjs +74 -74
  36. package/websql/{incremental-compiler.d.ts → index.d.ts} +4 -4
  37. package/websql/lib/models.d.ts +33 -33
  38. package/websql/package.json +6 -12
  39. package/client/fesm2015/incremental-compiler.mjs.map +0 -1
  40. package/client/fesm2020/incremental-compiler.mjs +0 -78
  41. package/client/fesm2020/incremental-compiler.mjs.map +0 -1
  42. package/websql/fesm2015/incremental-compiler.mjs +0 -78
  43. package/websql/fesm2020/incremental-compiler.mjs +0 -78
  44. package/websql/fesm2020/incremental-compiler.mjs.map +0 -1
  45. /package/browser/{fesm2015 → fesm2022}/incremental-compiler.mjs.map +0 -0
  46. /package/{browser/fesm2020 → client/fesm2022}/incremental-compiler.mjs.map +0 -0
  47. /package/websql/{fesm2015 → fesm2022}/incremental-compiler.mjs.map +0 -0
@@ -1,78 +1,78 @@
1
- /* */
2
- /* */
3
- /* */
4
- /* */
5
- /* */
6
- /* */
7
- /* */
8
- /* */
9
- /* */
10
- /* */
11
- /* */
12
- /* */
13
- /* */
14
- /* */
15
- /* */
16
- /* */
17
- /* */
18
- /* */
19
- /* */
20
- /* */
21
- /* */
22
- /* */
23
- /* */
24
- /* */
25
- /* */
26
- /* */
27
- /* */
28
- /* */
29
- /* */
30
- /* */
31
- /* */
32
- /* */
33
- /* */
34
- /* */
35
- /* */
36
- /* */
37
- /* */
38
- /* */
39
- /* */
40
- /* */
41
- /* */
42
- /* */
43
- /* */
44
- /* */
45
- /* */
46
- /* */
47
- /* */
48
- /* */
49
- /* */
50
- /* */
51
- /* */
52
- /* */
53
- /* */
54
- /* */
55
- /* */
56
- /* */
57
- /* */
58
- /* */
59
- /* */
60
- /* */
61
- /* */
62
- /* */
63
- /* */
64
- /* */
65
- /* */
66
- /* */
67
- /* */
68
- /* */
69
- /* */
70
- /* */
71
- /* */
72
- ;
1
+ /* */
2
+ /* */
3
+ /* */
4
+ /* */
5
+ /* */
6
+ /* */
7
+ /* */
8
+ /* */
9
+ /* */
10
+ /* */
11
+ /* */
12
+ /* */
13
+ /* */
14
+ /* */
15
+ /* */
16
+ /* */
17
+ /* */
18
+ /* */
19
+ /* */
20
+ /* */
21
+ /* */
22
+ /* */
23
+ /* */
24
+ /* */
25
+ /* */
26
+ /* */
27
+ /* */
28
+ /* */
29
+ /* */
30
+ /* */
31
+ /* */
32
+ /* */
33
+ /* */
34
+ /* */
35
+ /* */
36
+ /* */
37
+ /* */
38
+ /* */
39
+ /* */
40
+ /* */
41
+ /* */
42
+ /* */
43
+ /* */
44
+ /* */
45
+ /* */
46
+ /* */
47
+ /* */
48
+ /* */
49
+ /* */
50
+ /* */
51
+ /* */
52
+ /* */
53
+ /* */
54
+ /* */
55
+ /* */
56
+ /* */
57
+ /* */
58
+ /* */
59
+ /* */
60
+ /* */
61
+ /* */
62
+ /* */
63
+ /* */
64
+ /* */
65
+ /* */
66
+ /* */
67
+ /* */
68
+ /* */
69
+ /* */
70
+ /* */
71
+ /* */
72
+ ;
73
73
  ({}); // @--end-of-file-for-module=incremental-compiler lib/index.ts
74
74
 
75
- /**
76
- * Generated bundle index. Do not edit.
75
+ /**
76
+ * Generated bundle index. Do not edit.
77
77
  */
78
78
  //# sourceMappingURL=incremental-compiler.mjs.map
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
- /**
3
- * Generated bundle index. Do not edit.
4
- */
5
- /// <amd-module name="incremental-compiler" />
2
+ /**
3
+ * Generated bundle index. Do not edit.
4
+ */
5
+ /// <amd-module name="incremental-compiler" />
6
6
  export * from './public-api';
@@ -1,35 +1,35 @@
1
1
  // @ts-nocheck
2
- import { ConfigModels } from 'tnp-config/browser';
3
- export declare namespace Models {
4
- interface StartAndWatchOptions {
5
- afterInitCallBack?: () => void;
6
- watchOnly?: boolean;
7
- }
8
- interface BaseClientCompilerOptions {
9
- folderPath?: string | string[];
10
- /**
11
- * It will cache in memory previouse files
12
- * to limit async actions calls
13
- * and prevent not changed files emiting change event
14
- */
15
- folderPathContentCheck?: string | string[];
16
- watchDepth?: Number;
17
- /**
18
- * default true
19
- */
20
- followSymlinks?: boolean;
21
- /**
22
- * Notify compiler if file is unlinked
23
- * default: false
24
- */
25
- notifyOnFileUnlink?: boolean;
26
- ignoreFolderPatter?: string[];
27
- allowedOnlyFileExt?: string[];
28
- /**
29
- * useful when using **allowedOnlyFileExt**
30
- */
31
- additionallyAllowedFilesWithNames?: string[];
32
- executeOutsideScenario?: boolean;
33
- subscribeOnlyFor?: ConfigModels.FileExtension[];
34
- }
2
+ import { ConfigModels } from 'tnp-config/browser';
3
+ export declare namespace Models {
4
+ interface StartAndWatchOptions {
5
+ afterInitCallBack?: () => void;
6
+ watchOnly?: boolean;
7
+ }
8
+ interface BaseClientCompilerOptions {
9
+ folderPath?: string | string[];
10
+ /**
11
+ * It will cache in memory previouse files
12
+ * to limit async actions calls
13
+ * and prevent not changed files emiting change event
14
+ */
15
+ folderPathContentCheck?: string | string[];
16
+ watchDepth?: Number;
17
+ /**
18
+ * default true
19
+ */
20
+ followSymlinks?: boolean;
21
+ /**
22
+ * Notify compiler if file is unlinked
23
+ * default: false
24
+ */
25
+ notifyOnFileUnlink?: boolean;
26
+ ignoreFolderPatter?: string[];
27
+ allowedOnlyFileExt?: string[];
28
+ /**
29
+ * useful when using **allowedOnlyFileExt**
30
+ */
31
+ additionallyAllowedFilesWithNames?: string[];
32
+ executeOutsideScenario?: boolean;
33
+ subscribeOnlyFor?: ConfigModels.FileExtension[];
34
+ }
35
35
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incremental-compiler",
3
- "version": "13.1.25",
3
+ "version": "16.0.28",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@types/chokidar": "2.1.3",
@@ -11,52 +11,55 @@
11
11
  "dateformat": "3.0.3",
12
12
  "fs-extra": "8.1.0",
13
13
  "glob": "7.1.2",
14
- "tnp-cli": "~13.1.59",
15
- "typescript-class-helpers": "~13.2.12"
14
+ "tnp-cli": "~16.0.3",
15
+ "typescript-class-helpers": "~16.0.14"
16
16
  },
17
17
  "private": false,
18
- "lastBuildTagHash": "19b98d3a0edfbe34f213dfac67f95dfedf92a23b",
18
+ "lastBuildTagHash": "5e282ba92bf62b670e23a87b47e58894c37dff1a",
19
19
  "main": "index.js",
20
20
  "devDependencies": {
21
- "@angular-devkit/build-angular": "~13.3.9",
22
- "@angular-devkit/core": "~13.3.9",
21
+ "@angular-devkit/build-angular": "~16.0.5",
22
+ "@angular-devkit/core": "~16.0.5",
23
23
  "@angular-material-extensions/fab-menu": "~6.1.0",
24
- "@angular/animations": "~13.3.0",
25
- "@angular/cdk": "~13.3.9",
26
- "@angular/cli": "~13.3.9",
27
- "@angular/common": "~13.3.0",
28
- "@angular/compiler": "~13.3.0",
29
- "@angular/compiler-cli": "~13.3.0",
30
- "@angular/core": "~13.3.0",
31
- "@angular/flex-layout": "~13.0.0-beta.38",
32
- "@angular/forms": "~13.3.0",
33
- "@angular/material": "~13.3.9",
34
- "@angular/platform-browser": "~13.3.0",
35
- "@angular/platform-browser-dynamic": "~13.3.0",
36
- "@angular/pwa": "~13.3.9",
37
- "@angular/router": "~13.3.0",
38
- "@angular/service-worker": "~13.3.11",
24
+ "@angular/animations": "~16.0.0",
25
+ "@angular/cdk": "~16.0.3",
26
+ "@angular/cli": "~16.0.5",
27
+ "@angular/common": "~16.0.0",
28
+ "@angular/compiler": "~16.0.0",
29
+ "@angular/compiler-cli": "~16.0.4",
30
+ "@angular/core": "~16.0.0",
31
+ "@angular/elements": "~16.0.4",
32
+ "@angular/forms": "~16.0.0",
33
+ "@angular/material": "~16.0.3",
34
+ "@angular/platform-browser": "~16.0.4",
35
+ "@angular/platform-browser-dynamic": "~16.0.4",
36
+ "@angular/pwa": "~16.0.5",
37
+ "@angular/router": "~16.0.0",
38
+ "@angular/service-worker": "~16.0.4",
39
39
  "@babel/cli": "7.18.6",
40
40
  "@iconify/icons-fa-solid": "1.2.2",
41
41
  "@iconify/icons-mdi": "1.2.1",
42
- "@mdi/js": "6.5.95",
43
- "@ng-matero/extensions": "13.3.2",
42
+ "@mdi/js": "7.2.96",
43
+ "@ng-matero/extensions": "16.0.0",
44
44
  "@ngneat/falso": "6.4.0",
45
- "@ngneat/hot-toast": "4",
46
- "@ngneat/overview": "3.0.0",
47
- "@ngneat/until-destroy": "9.2.3",
48
- "@ngrx/component-store": "~13.0.2",
49
- "@ngrx/data": "~13.0.2",
50
- "@ngrx/effects": "~13.0.2",
51
- "@ngrx/entity": "~13.0.2",
52
- "@ngrx/router-store": "~13.0.2",
53
- "@ngrx/schematics": "~13.0.2",
54
- "@ngrx/store": "~13.0.2",
55
- "@ngrx/store-devtools": "~13.0.2",
56
- "@ngx-formly/core": "6.0.0-next.8",
57
- "@ngx-formly/material": "6.0.0-next.8",
58
- "@ngx-translate/core": "14.0.0",
59
- "@ngx-translate/http-loader": "7.0.0",
45
+ "@ngneat/hot-toast": "5.0.1",
46
+ "@ngneat/overview": "5.0.0",
47
+ "@ngneat/spectator": "15.0.0",
48
+ "@ngrx/component-store": "~16.0.1",
49
+ "@ngrx/data": "~16.0.1",
50
+ "@ngrx/effects": "~16.0.1",
51
+ "@ngrx/entity": "~16.0.1",
52
+ "@ngrx/router-store": "~16.0.1",
53
+ "@ngrx/schematics": "~16.0.1",
54
+ "@ngrx/store": "~16.0.1",
55
+ "@ngrx/store-devtools": "~16.0.1",
56
+ "@ngx-formly/core": "6.1.7",
57
+ "@ngx-formly/material": "6.1.7",
58
+ "@ngx-translate/core": "15.0.0",
59
+ "@ngx-translate/http-loader": "8.0.0",
60
+ "@testdeck/jasmine": "0.3.3",
61
+ "@testdeck/jest": "0.3.3",
62
+ "@testdeck/mocha": "0.3.3",
60
63
  "@types/chai": "4.1.2",
61
64
  "@types/diff": "3.2.2",
62
65
  "@types/express": "4.11.0",
@@ -64,7 +67,7 @@
64
67
  "@types/http-proxy": "1.16.0",
65
68
  "@types/http-proxy-middleware": "0.19.2",
66
69
  "@types/inquirer": "7.3.1",
67
- "@types/jasmine": "3.10.0",
70
+ "@types/jasmine": "4.3.0",
68
71
  "@types/json-stringify-safe": "5.0.0",
69
72
  "@types/json5": "0.0.29",
70
73
  "@types/lockfile": "1.0.0",
@@ -83,10 +86,10 @@
83
86
  "@types/vinyl": "2.0.2",
84
87
  "@types/watch": "1.0.0",
85
88
  "accepts": "1.3.4",
86
- "angular-material-css-vars": "5.0.0",
87
- "any-project-cli": "~13.1.26",
89
+ "angular-material-css-vars": "5.0.2",
90
+ "any-project-cli": "~13.1.28",
88
91
  "axios": "1.3.5",
89
- "background-worker-process": "~13.1.43",
92
+ "background-worker-process": "~13.1.45",
90
93
  "base32": "0.0.7",
91
94
  "bcryptjs": "2.4.3",
92
95
  "better-sqlite3": "7.6.2",
@@ -106,7 +109,7 @@
106
109
  "concurrently": "3.5.1",
107
110
  "content-type": "1.0.4",
108
111
  "cookie-parser": "1.4.3",
109
- "copy-paste": "1.3.0",
112
+ "copy-paste": "1.5.3",
110
113
  "cors": "2.8.4",
111
114
  "cpr": "3.0.1",
112
115
  "cross-spawn": "7.0.3",
@@ -125,13 +128,13 @@
125
128
  "express-session": "1.17.3",
126
129
  "file-loader": "1.1.5",
127
130
  "file-saver": "2.0.5",
128
- "firedev": "^13",
129
- "firedev-crud": "~13.1.48",
130
- "firedev-crud-deamon": "~13.1.38",
131
- "firedev-ports": "~13.1.42",
132
- "firedev-storage": "~13.2.35",
133
- "firedev-typeorm": "~13.1.30",
134
- "firedev-ui": "~13.2.7",
131
+ "firedev": "^16",
132
+ "firedev-crud": "~13.1.50",
133
+ "firedev-crud-deamon": "~13.1.40",
134
+ "firedev-ports": "~13.1.45",
135
+ "firedev-storage": "~13.2.37",
136
+ "firedev-typeorm": "~13.1.32",
137
+ "firedev-ui": "~16.0.1",
135
138
  "fkill": "6.1.0",
136
139
  "font-awesome": "4.7.0",
137
140
  "form-data": "4.0.0",
@@ -143,52 +146,52 @@
143
146
  "http-proxy-middleware": "0.19.1",
144
147
  "http-server": "0.11.1",
145
148
  "immutable": "4.3.0",
146
- "incremental-compiler": "~13.1.24",
149
+ "incremental-compiler": "~13.1.26",
147
150
  "inquirer": "7.3.3",
148
151
  "inquirer-autocomplete-prompt": "1.3.0",
149
152
  "is-elevated": "3.0.0",
150
- "isomorphic-region-loader": "~13.1.36",
153
+ "isomorphic-region-loader": "~13.1.38",
151
154
  "istanbul-instrumenter-loader": "2.0.0",
152
- "jasmine-core": "4.0.0",
155
+ "jasmine-core": "4.6.0",
153
156
  "jscodeshift": "0.6.3",
154
157
  "json-stringify-safe": "5.0.1",
155
- "json10": "~13.1.43",
156
- "json10-writer": "~13.1.39",
157
- "json5": "2.1.3",
158
+ "json10": "~13.1.45",
159
+ "json10-writer": "~13.1.41",
160
+ "json5": "2.2.1",
158
161
  "json5-writer": "0.2.0",
159
162
  "jszip": "3.10.1",
160
- "karma": "6.3.0",
161
- "karma-chrome-launcher": "3.1.0",
163
+ "karma": "6.4.0",
164
+ "karma-chrome-launcher": "3.2.0",
162
165
  "karma-cli": "1.0.1",
163
- "karma-coverage": "2.1.0",
164
- "karma-jasmine": "4.0.0",
165
- "karma-jasmine-html-reporter": "1.7.0",
166
+ "karma-coverage": "2.2.0",
167
+ "karma-jasmine": "5.1.0",
168
+ "karma-jasmine-html-reporter": "2.0.0",
166
169
  "lnk": "1.0.1",
167
170
  "localforage": "1.10.0",
168
171
  "lockfile": "1.0.4",
169
- "lodash": "4.17.4",
170
- "lodash-walk-object": "~13.1.44",
172
+ "lodash": "4.17.20",
173
+ "lodash-walk-object": "~16.0.46",
171
174
  "lowdb": "1.0.0",
172
- "magic-renamer": "~13.1.40",
175
+ "magic-renamer": "~13.1.42",
173
176
  "material-design-icons": "3.0.1",
174
177
  "method-override": "2.3.10",
175
178
  "minimist": "1.2.0",
176
179
  "mkdirp": "0.5.1",
177
180
  "mocha": "5.2.0",
178
- "moment": "2.22.2",
179
- "morphi": "~13.2.10",
180
- "ng-in-viewport": "13.0.1",
181
- "ng-packagr": "13.0.0",
181
+ "moment": "2.29.3",
182
+ "morphi": "~16.0.2",
183
+ "ng-in-viewport": "15.0.2",
184
+ "ng-packagr": "16.0.1",
182
185
  "ng-talkback": "~13.1.19",
183
- "ng2-logger": "~13.1.24",
184
- "ng2-rest": "~13.2.7",
185
- "ngx-ace-wrapper": "12",
186
- "ngx-editor": "12.2.1",
187
- "ngx-highlightjs": "6.1.3",
186
+ "ng2-logger": "~16.0.2",
187
+ "ng2-rest": "~13.2.9",
188
+ "ngx-ace-wrapper": "14.0.0",
189
+ "ngx-editor": "15.3.0",
190
+ "ngx-highlightjs": "9.0.0",
188
191
  "ngx-moment": "6.0.2",
189
192
  "ngx-pipes": "3.0.0",
190
- "ngx-progressbar": "8.0.0",
191
- "ngx-scrollbar": "9.0.2",
193
+ "ngx-progressbar": "11.0.0",
194
+ "ngx-scrollbar": "12.0.0",
192
195
  "ngx-store": "3.1.1",
193
196
  "ngx-typed-js": "2.1.1",
194
197
  "node-cli-tester": "~13.1.19",
@@ -215,30 +218,31 @@
215
218
  "record-replay-req-res-scenario": "~13.1.20",
216
219
  "reflect-metadata": "0.1.10",
217
220
  "rimraf": "2.6.2",
218
- "rxjs": "~7.5.0",
221
+ "rxjs": "~7.8.0",
219
222
  "semver": "6.3.0",
220
223
  "simple-git": "1.96.0",
221
224
  "sloc": "0.2.0",
222
225
  "socket.io": "2.4.1",
223
226
  "sort-package-json": "1.11.0",
224
227
  "sql.js": "1.8.0",
225
- "static-columns": "~13.3.6",
228
+ "static-columns": "~16.0.1",
226
229
  "string-similarity": "4.0.2",
227
230
  "sudo-block": "3.0.0",
228
231
  "systeminformation": "3.45.7",
229
232
  "task.js": "0.1.5",
230
233
  "threads": "1.7.0",
231
- "tnp-config": "~13.1.75",
232
- "tnp-core": "~13.2.19",
233
- "tnp-db": "~13.1.20",
234
- "tnp-helpers": "~13.1.37",
235
- "tnp-models": "~13.1.26",
234
+ "tnp-config": "~16.0.3",
235
+ "tnp-core": "~16.0.6",
236
+ "tnp-db": "~13.1.22",
237
+ "tnp-helpers": "~13.1.39",
238
+ "tnp-models": "~13.1.28",
236
239
  "ts-debug": "1.3.0",
237
240
  "ts-loader": "2.3.1",
238
- "ts-node": "10.7.0",
241
+ "ts-node": "10.9.1",
239
242
  "tslib": "~2.3.0",
243
+ "turndown": "7.1.2",
240
244
  "typeorm": "~0.3.10",
241
- "typescript": "~4.6.2",
245
+ "typescript": "~5.0.2",
242
246
  "typescript-formatter": "~7.2.2",
243
247
  "underscore": "1.9.1",
244
248
  "uuid": "8.3.2",
@@ -247,6 +251,6 @@
247
251
  "vpn-split": "~13.1.23",
248
252
  "watch": "1.0.2",
249
253
  "yup": "1.1.1",
250
- "zone.js": "~0.11.4"
254
+ "zone.js": "~0.13.0"
251
255
  }
252
256
  }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './lib';
1
+ export * from './lib';
@@ -1,56 +1,56 @@
1
- import { ChangeOfFile } from './change-of-file.backend';
2
- import { Models } from './models';
3
- import { ConfigModels } from 'tnp-config';
4
- export declare class BaseClientCompiler<RES_ASYNC = any, RES_SYNC = any, ADDITIONAL_DATA = any> implements Models.BaseClientCompilerOptions {
5
- readonly followSymlinks: boolean;
6
- readonly subscribeOnlyFor: ConfigModels.FileExtension[];
7
- readonly executeOutsideScenario: boolean;
8
- readonly watchDepth: Number;
9
- readonly taskName: string;
10
- ignoreFolderPatter?: string[];
11
- allowedOnlyFileExt?: string[];
12
- additionallyAllowedFilesWithNames?: string[];
13
- readonly notifyOnFileUnlink: boolean;
14
- compilationWrapper: (fn: () => void, taskName?: string, executionType?: "Compilation of" | "Code execution of" | "Event:") => Promise<void>;
15
- private pathResolve;
16
- private initedWithOptions;
17
- private __folderPath;
18
- lastAsyncFiles: string[];
19
- private _folderPathContentCheck;
20
- get key(): string;
21
- get isInited(): boolean;
22
- get folderPathContentCheck(): string[];
23
- private set folderPathContentCheck(value);
24
- set folderPath(v: string[]);
25
- get folderPath(): string[];
26
- constructor(options?: Models.BaseClientCompilerOptions);
27
- /**
28
- * manually init options (when no passing object to constructor super() )
29
- */
30
- protected initOptions(options?: Models.BaseClientCompilerOptions): void;
31
- /**
32
- * Do not override this
33
- */
34
- start(taskName?: string, afterInitCallBack?: () => void): Promise<BaseClientCompiler<RES_ASYNC, RES_SYNC, ADDITIONAL_DATA>>;
35
- /**
36
- * Do not override this
37
- */
38
- startAndWatch(taskName?: string, options?: Models.StartAndWatchOptions): Promise<BaseClientCompiler<RES_ASYNC, RES_SYNC, ADDITIONAL_DATA>>;
39
- /**
40
- *
41
- * @param absolteFilesPathes for each watched file
42
- * @returns
43
- */
44
- syncAction(absolteFilesPathes?: string[]): Promise<RES_SYNC>;
45
- preAsyncAction(): Promise<void>;
46
- asyncAction(asyncEvents: ChangeOfFile, additionalData?: ADDITIONAL_DATA): Promise<RES_ASYNC>;
47
- watchOptions: {
48
- allowedExt?: string[];
49
- addionalAllowed: string[];
50
- allowedExtEnable: boolean;
51
- addionalAllowedEnable: boolean;
52
- };
53
- private _init;
54
- private fixTaskName;
55
- filesToWatch(): string[];
56
- }
1
+ import { ChangeOfFile } from './change-of-file.backend';
2
+ import { Models } from './models';
3
+ import { ConfigModels } from 'tnp-config';
4
+ export declare class BaseClientCompiler<RES_ASYNC = any, RES_SYNC = any, ADDITIONAL_DATA = any> implements Models.BaseClientCompilerOptions {
5
+ readonly followSymlinks: boolean;
6
+ readonly subscribeOnlyFor: ConfigModels.FileExtension[];
7
+ readonly executeOutsideScenario: boolean;
8
+ readonly watchDepth: Number;
9
+ readonly taskName: string;
10
+ ignoreFolderPatter?: string[];
11
+ allowedOnlyFileExt?: string[];
12
+ additionallyAllowedFilesWithNames?: string[];
13
+ readonly notifyOnFileUnlink: boolean;
14
+ compilationWrapper: (fn: () => void, taskName?: string, executionType?: "Compilation of" | "Code execution of" | "Event:") => Promise<void>;
15
+ private pathResolve;
16
+ private initedWithOptions;
17
+ private __folderPath;
18
+ lastAsyncFiles: string[];
19
+ private _folderPathContentCheck;
20
+ get key(): string;
21
+ get isInited(): boolean;
22
+ get folderPathContentCheck(): string[];
23
+ private set folderPathContentCheck(value);
24
+ set folderPath(v: string[]);
25
+ get folderPath(): string[];
26
+ constructor(options?: Models.BaseClientCompilerOptions);
27
+ /**
28
+ * manually init options (when no passing object to constructor super() )
29
+ */
30
+ protected initOptions(options?: Models.BaseClientCompilerOptions): void;
31
+ /**
32
+ * Do not override this
33
+ */
34
+ start(taskName?: string, afterInitCallBack?: () => void): Promise<BaseClientCompiler<RES_ASYNC, RES_SYNC, ADDITIONAL_DATA>>;
35
+ /**
36
+ * Do not override this
37
+ */
38
+ startAndWatch(taskName?: string, options?: Models.StartAndWatchOptions): Promise<BaseClientCompiler<RES_ASYNC, RES_SYNC, ADDITIONAL_DATA>>;
39
+ /**
40
+ *
41
+ * @param absolteFilesPathes for each watched file
42
+ * @returns
43
+ */
44
+ syncAction(absolteFilesPathes?: string[]): Promise<RES_SYNC>;
45
+ preAsyncAction(): Promise<void>;
46
+ asyncAction(asyncEvents: ChangeOfFile, additionalData?: ADDITIONAL_DATA): Promise<RES_ASYNC>;
47
+ watchOptions: {
48
+ allowedExt?: string[];
49
+ addionalAllowed: string[];
50
+ allowedExtEnable: boolean;
51
+ addionalAllowedEnable: boolean;
52
+ };
53
+ private _init;
54
+ private fixTaskName;
55
+ filesToWatch(): string[];
56
+ }
@@ -1,14 +1,14 @@
1
- import { BaseClientCompiler } from './base-client-compiler.backend';
2
- import { ConfigModels } from 'tnp-config';
3
- export declare class ChangeOfFile {
4
- fileAbsolutePath: string;
5
- readonly eventName: 'add' | 'change' | 'unlink' | 'unlinkDir';
6
- executedFor: BaseClientCompiler[];
7
- private readonly _clientsForChange;
8
- readonly datetime: Date;
9
- constructor(clientsForChange?: BaseClientCompiler[], fileAbsolutePath?: string, eventName?: 'add' | 'change' | 'unlink' | 'unlinkDir');
10
- get clientsForChange(): BaseClientCompiler<any, any, any>[];
11
- get clientsForChangeFilterExt(): BaseClientCompiler<any, any, any>[];
12
- get fileExt(): ConfigModels.FileExtension;
13
- clientsBy<T = BaseClientCompiler>(clientNameOrClass: string | Function, condition?: (c: T) => boolean): T[];
14
- }
1
+ import { BaseClientCompiler } from './base-client-compiler.backend';
2
+ import { ConfigModels } from 'tnp-config';
3
+ export declare class ChangeOfFile {
4
+ fileAbsolutePath: string;
5
+ readonly eventName: 'add' | 'change' | 'unlink' | 'unlinkDir';
6
+ executedFor: BaseClientCompiler[];
7
+ private readonly _clientsForChange;
8
+ readonly datetime: Date;
9
+ constructor(clientsForChange?: BaseClientCompiler[], fileAbsolutePath?: string, eventName?: 'add' | 'change' | 'unlink' | 'unlinkDir');
10
+ get clientsForChange(): BaseClientCompiler<any, any, any>[];
11
+ get clientsForChangeFilterExt(): BaseClientCompiler<any, any, any>[];
12
+ get fileExt(): ConfigModels.FileExtension;
13
+ clientsBy<T = BaseClientCompiler>(clientNameOrClass: string | Function, condition?: (c: T) => boolean): T[];
14
+ }