incremental-compiler 21.0.34 → 21.0.35
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/README.md +50 -50
- package/browser/package.json +1 -20
- package/browser-prod/package.json +2 -20
- package/lib/package.json +1 -1
- package/lib-prod/package.json +1 -1
- package/package.json +1 -1
- package/websql/package.json +1 -20
- package/websql-prod/package.json +2 -20
- package/assets/shared/shared_folder_info.txt +0 -7
- package/browser/README.md +0 -24
- package/browser/fesm2022/incremental-compiler-browser.mjs +0 -327
- package/browser/fesm2022/incremental-compiler-browser.mjs.map +0 -1
- package/browser/types/incremental-compiler-browser.d.ts +0 -126
- package/browser-prod/README.md +0 -24
- package/browser-prod/fesm2022/incremental-compiler-browser.mjs +0 -327
- package/browser-prod/fesm2022/incremental-compiler-browser.mjs.map +0 -1
- package/browser-prod/types/incremental-compiler-browser.d.ts +0 -126
- package/browser-prod.re-export.json +0 -1
- package/browser-prod.split-namespaces.json +0 -4
- package/index.d.ts +0 -1
- package/index.js +0 -18
- package/index.js.map +0 -1
- package/lib/base-client-compiler.d.ts +0 -53
- package/lib/base-client-compiler.js +0 -263
- package/lib/base-client-compiler.js.map +0 -1
- package/lib/build-info._auto-generated_.d.ts +0 -24
- package/lib/build-info._auto-generated_.js +0 -30
- package/lib/build-info._auto-generated_.js.map +0 -1
- package/lib/compiler-manager.d.ts +0 -14
- package/lib/compiler-manager.js +0 -164
- package/lib/compiler-manager.js.map +0 -1
- package/lib/constants.d.ts +0 -1
- package/lib/constants.js +0 -10
- package/lib/constants.js.map +0 -1
- package/lib/env/env.angular-node-app.d.ts +0 -64
- package/lib/env/env.angular-node-app.js +0 -71
- package/lib/env/env.angular-node-app.js.map +0 -1
- package/lib/env/env.docs-webapp.d.ts +0 -64
- package/lib/env/env.docs-webapp.js +0 -71
- package/lib/env/env.docs-webapp.js.map +0 -1
- package/lib/env/env.electron-app.d.ts +0 -64
- package/lib/env/env.electron-app.js +0 -71
- package/lib/env/env.electron-app.js.map +0 -1
- package/lib/env/env.mobile-app.d.ts +0 -64
- package/lib/env/env.mobile-app.js +0 -71
- package/lib/env/env.mobile-app.js.map +0 -1
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +0 -64
- package/lib/env/env.npm-lib-and-cli-tool.js +0 -71
- package/lib/env/env.npm-lib-and-cli-tool.js.map +0 -1
- package/lib/env/env.vscode-plugin.d.ts +0 -64
- package/lib/env/env.vscode-plugin.js +0 -71
- package/lib/env/env.vscode-plugin.js.map +0 -1
- package/lib/env/index.d.ts +0 -6
- package/lib/env/index.js +0 -23
- package/lib/env/index.js.map +0 -1
- package/lib/helpers.d.ts +0 -12
- package/lib/helpers.js +0 -108
- package/lib/helpers.js.map +0 -1
- package/lib/incremental-watcher.d.ts +0 -3
- package/lib/incremental-watcher.js +0 -30
- package/lib/incremental-watcher.js.map +0 -1
- package/lib/index._auto-generated_.d.ts +0 -0
- package/lib/index._auto-generated_.js +0 -6
- package/lib/index._auto-generated_.js.map +0 -1
- package/lib/index.d.ts +0 -5
- package/lib/index.js +0 -22
- package/lib/index.js.map +0 -1
- package/lib/migrations/index.d.ts +0 -1
- package/lib/migrations/index.js +0 -19
- package/lib/migrations/index.js.map +0 -1
- package/lib/migrations/migrations_index._auto-generated_.d.ts +0 -0
- package/lib/migrations/migrations_index._auto-generated_.js +0 -4
- package/lib/migrations/migrations_index._auto-generated_.js.map +0 -1
- package/lib/models.d.ts +0 -67
- package/lib/models.js +0 -3
- package/lib/models.js.map +0 -1
- package/lib/parcel-watcher-adapter.d.ts +0 -30
- package/lib/parcel-watcher-adapter.js +0 -300
- package/lib/parcel-watcher-adapter.js.map +0 -1
- package/lib-prod/base-client-compiler.d.ts +0 -53
- package/lib-prod/base-client-compiler.js +0 -259
- package/lib-prod/base-client-compiler.js.map +0 -1
- package/lib-prod/build-info._auto-generated_.d.ts +0 -24
- package/lib-prod/build-info._auto-generated_.js +0 -27
- package/lib-prod/build-info._auto-generated_.js.map +0 -1
- package/lib-prod/compiler-manager.d.ts +0 -14
- package/lib-prod/compiler-manager.js +0 -160
- package/lib-prod/compiler-manager.js.map +0 -1
- package/lib-prod/constants.d.ts +0 -1
- package/lib-prod/constants.js +0 -7
- package/lib-prod/constants.js.map +0 -1
- package/lib-prod/env/env.angular-node-app.d.ts +0 -64
- package/lib-prod/env/env.angular-node-app.js +0 -67
- package/lib-prod/env/env.angular-node-app.js.map +0 -1
- package/lib-prod/env/env.docs-webapp.d.ts +0 -64
- package/lib-prod/env/env.docs-webapp.js +0 -67
- package/lib-prod/env/env.docs-webapp.js.map +0 -1
- package/lib-prod/env/env.electron-app.d.ts +0 -64
- package/lib-prod/env/env.electron-app.js +0 -67
- package/lib-prod/env/env.electron-app.js.map +0 -1
- package/lib-prod/env/env.mobile-app.d.ts +0 -64
- package/lib-prod/env/env.mobile-app.js +0 -67
- package/lib-prod/env/env.mobile-app.js.map +0 -1
- package/lib-prod/env/env.npm-lib-and-cli-tool.d.ts +0 -64
- package/lib-prod/env/env.npm-lib-and-cli-tool.js +0 -67
- package/lib-prod/env/env.npm-lib-and-cli-tool.js.map +0 -1
- package/lib-prod/env/env.vscode-plugin.d.ts +0 -64
- package/lib-prod/env/env.vscode-plugin.js +0 -67
- package/lib-prod/env/env.vscode-plugin.js.map +0 -1
- package/lib-prod/env/index.d.ts +0 -6
- package/lib-prod/env/index.js +0 -7
- package/lib-prod/env/index.js.map +0 -1
- package/lib-prod/helpers.d.ts +0 -12
- package/lib-prod/helpers.js +0 -102
- package/lib-prod/helpers.js.map +0 -1
- package/lib-prod/incremental-watcher.d.ts +0 -3
- package/lib-prod/incremental-watcher.js +0 -27
- package/lib-prod/incremental-watcher.js.map +0 -1
- package/lib-prod/index._auto-generated_.d.ts +0 -0
- package/lib-prod/index._auto-generated_.js +0 -6
- package/lib-prod/index._auto-generated_.js.map +0 -1
- package/lib-prod/index.d.ts +0 -5
- package/lib-prod/index.js +0 -6
- package/lib-prod/index.js.map +0 -1
- package/lib-prod/migrations/index.d.ts +0 -1
- package/lib-prod/migrations/index.js +0 -3
- package/lib-prod/migrations/index.js.map +0 -1
- package/lib-prod/migrations/migrations_index._auto-generated_.d.ts +0 -0
- package/lib-prod/migrations/migrations_index._auto-generated_.js +0 -4
- package/lib-prod/migrations/migrations_index._auto-generated_.js.map +0 -1
- package/lib-prod/models.d.ts +0 -67
- package/lib-prod/models.js +0 -2
- package/lib-prod/models.js.map +0 -1
- package/lib-prod/parcel-watcher-adapter.d.ts +0 -30
- package/lib-prod/parcel-watcher-adapter.js +0 -296
- package/lib-prod/parcel-watcher-adapter.js.map +0 -1
- package/lib-prod.re-export.json +0 -1
- package/lib-prod.split-namespaces.json +0 -4
- package/scss/global.scss +0 -44
- package/scss/index.scss +0 -2
- package/scss/lib/index.scss +0 -1
- package/scss/vars.scss +0 -7
- package/websql/README.md +0 -24
- package/websql/fesm2022/incremental-compiler-websql.mjs +0 -327
- package/websql/fesm2022/incremental-compiler-websql.mjs.map +0 -1
- package/websql/types/incremental-compiler-websql.d.ts +0 -126
- package/websql-prod/README.md +0 -24
- package/websql-prod/fesm2022/incremental-compiler-websql.mjs +0 -327
- package/websql-prod/fesm2022/incremental-compiler-websql.mjs.map +0 -1
- package/websql-prod/types/incremental-compiler-websql.d.ts +0 -126
- package/websql-prod.re-export.json +0 -1
- package/websql-prod.split-namespaces.json +0 -4
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
import { ___NS__isString } from 'tnp-core/websql-prod';
|
|
2
|
-
|
|
3
|
-
const IGNORE_BY_DEFAULT = [
|
|
4
|
-
'**/node_modules/**/*.*',
|
|
5
|
-
'**/node_modules',
|
|
6
|
-
'**/.git/**/*.*',
|
|
7
|
-
'**/.git',
|
|
8
|
-
];
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
function incrementalWatcher(filesFolderPathOrPatternsToWatch, watchOptions) {
|
|
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
|
-
return (void 0);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
//#region imports
|
|
42
|
-
/* */
|
|
43
|
-
//#endregion
|
|
44
|
-
class BaseClientCompiler {
|
|
45
|
-
constructor() {
|
|
46
|
-
this.subscribeOnlyFor = [];
|
|
47
|
-
this.onlySingleRun = true;
|
|
48
|
-
this.pathResolve = false;
|
|
49
|
-
this.isInitedWithOptions = false;
|
|
50
|
-
this.__folderPath = [];
|
|
51
|
-
this.lastAsyncFiles = [];
|
|
52
|
-
this.isWatchCompilation = false;
|
|
53
|
-
this.folderPathContentCheck = [];
|
|
54
|
-
//#endregion
|
|
55
|
-
//#endregion
|
|
56
|
-
}
|
|
57
|
-
set folderPath(v) {
|
|
58
|
-
/* */
|
|
59
|
-
/* */
|
|
60
|
-
/* */
|
|
61
|
-
/* */
|
|
62
|
-
/* */
|
|
63
|
-
}
|
|
64
|
-
get folderPath() {
|
|
65
|
-
/* */
|
|
66
|
-
/* */
|
|
67
|
-
/* */
|
|
68
|
-
/* */
|
|
69
|
-
/* */
|
|
70
|
-
/* */
|
|
71
|
-
/* */
|
|
72
|
-
/* */
|
|
73
|
-
/* */
|
|
74
|
-
/* */
|
|
75
|
-
/* */
|
|
76
|
-
/* */
|
|
77
|
-
/* */
|
|
78
|
-
/* */
|
|
79
|
-
/* */
|
|
80
|
-
/* */
|
|
81
|
-
/* */
|
|
82
|
-
return (void 0);
|
|
83
|
-
}
|
|
84
|
-
//#endregion
|
|
85
|
-
//#region constructor
|
|
86
|
-
/* */
|
|
87
|
-
/* */
|
|
88
|
-
/* */
|
|
89
|
-
/* */
|
|
90
|
-
/* */
|
|
91
|
-
/* */
|
|
92
|
-
/* */
|
|
93
|
-
/* */
|
|
94
|
-
/* */
|
|
95
|
-
/* */
|
|
96
|
-
/* */
|
|
97
|
-
/* */
|
|
98
|
-
/* */
|
|
99
|
-
/* */
|
|
100
|
-
/* */
|
|
101
|
-
/* */
|
|
102
|
-
/* */
|
|
103
|
-
//#endregion
|
|
104
|
-
//#region init options
|
|
105
|
-
/**
|
|
106
|
-
* manually init options (when no passing object to constructor super() )
|
|
107
|
-
*/
|
|
108
|
-
initOptions(options) {
|
|
109
|
-
/* */
|
|
110
|
-
/* */
|
|
111
|
-
/* */
|
|
112
|
-
/* */
|
|
113
|
-
/* */
|
|
114
|
-
/* */
|
|
115
|
-
/* */
|
|
116
|
-
/* */
|
|
117
|
-
/* */
|
|
118
|
-
/* */
|
|
119
|
-
/* */
|
|
120
|
-
/* */
|
|
121
|
-
/* */
|
|
122
|
-
/* */
|
|
123
|
-
/* */
|
|
124
|
-
return (void 0);
|
|
125
|
-
}
|
|
126
|
-
//#endregion
|
|
127
|
-
//#region run task
|
|
128
|
-
/**
|
|
129
|
-
* do not override this
|
|
130
|
-
*/
|
|
131
|
-
async runTask(options) {
|
|
132
|
-
/* */
|
|
133
|
-
/* */
|
|
134
|
-
/* */
|
|
135
|
-
/* */
|
|
136
|
-
/* */
|
|
137
|
-
/* */
|
|
138
|
-
/* */
|
|
139
|
-
/* */
|
|
140
|
-
/* */
|
|
141
|
-
return (void 0);
|
|
142
|
-
}
|
|
143
|
-
//#endregion
|
|
144
|
-
//#region start
|
|
145
|
-
/**
|
|
146
|
-
* @deprecated use runTask instead
|
|
147
|
-
* Do not override this
|
|
148
|
-
*/
|
|
149
|
-
async start(options) {
|
|
150
|
-
/* */
|
|
151
|
-
/* */
|
|
152
|
-
/* */
|
|
153
|
-
/* */
|
|
154
|
-
/* */
|
|
155
|
-
/* */
|
|
156
|
-
/* */
|
|
157
|
-
/* */
|
|
158
|
-
/* */
|
|
159
|
-
/* */
|
|
160
|
-
/* */
|
|
161
|
-
/* */
|
|
162
|
-
/* */
|
|
163
|
-
/* */
|
|
164
|
-
/* */
|
|
165
|
-
/* */
|
|
166
|
-
/* */
|
|
167
|
-
/* */
|
|
168
|
-
/* */
|
|
169
|
-
/* */
|
|
170
|
-
/* */
|
|
171
|
-
/* */
|
|
172
|
-
/* */
|
|
173
|
-
/* */
|
|
174
|
-
/* */
|
|
175
|
-
/* */
|
|
176
|
-
/* */
|
|
177
|
-
/* */
|
|
178
|
-
/* */
|
|
179
|
-
/* */
|
|
180
|
-
return (void 0);
|
|
181
|
-
}
|
|
182
|
-
//#endregion
|
|
183
|
-
//#region start and watch
|
|
184
|
-
/**
|
|
185
|
-
* @deprecated use runTask instead
|
|
186
|
-
* Do not override this
|
|
187
|
-
*/
|
|
188
|
-
async startAndWatch(options) {
|
|
189
|
-
/* */
|
|
190
|
-
/* */
|
|
191
|
-
/* */
|
|
192
|
-
/* */
|
|
193
|
-
/* */
|
|
194
|
-
/* */
|
|
195
|
-
/* */
|
|
196
|
-
/* */
|
|
197
|
-
/* */
|
|
198
|
-
/* */
|
|
199
|
-
/* */
|
|
200
|
-
/* */
|
|
201
|
-
/* */
|
|
202
|
-
/* */
|
|
203
|
-
/* */
|
|
204
|
-
/* */
|
|
205
|
-
/* */
|
|
206
|
-
/* */
|
|
207
|
-
/* */
|
|
208
|
-
/* */
|
|
209
|
-
/* */
|
|
210
|
-
/* */
|
|
211
|
-
/* */
|
|
212
|
-
/* */
|
|
213
|
-
/* */
|
|
214
|
-
/* */
|
|
215
|
-
/* */
|
|
216
|
-
/* */
|
|
217
|
-
/* */
|
|
218
|
-
/* */
|
|
219
|
-
/* */
|
|
220
|
-
/* */
|
|
221
|
-
/* */
|
|
222
|
-
/* */
|
|
223
|
-
/* */
|
|
224
|
-
/* */
|
|
225
|
-
/* */
|
|
226
|
-
/* */
|
|
227
|
-
/* */
|
|
228
|
-
return (void 0);
|
|
229
|
-
}
|
|
230
|
-
//#endregion
|
|
231
|
-
//#region sync action
|
|
232
|
-
/**
|
|
233
|
-
*
|
|
234
|
-
* @param absolteFilesPathes for each watched file
|
|
235
|
-
* @returns
|
|
236
|
-
*/
|
|
237
|
-
syncAction(absolteFilesPathes, initialParams) {
|
|
238
|
-
return void 0;
|
|
239
|
-
}
|
|
240
|
-
//#endregion
|
|
241
|
-
//#region pre async action
|
|
242
|
-
async preAsyncAction(initialParams) { }
|
|
243
|
-
//#endregion
|
|
244
|
-
//#region async action
|
|
245
|
-
asyncAction(asyncEvents, initialParams) {
|
|
246
|
-
return void 0;
|
|
247
|
-
}
|
|
248
|
-
//#endregion
|
|
249
|
-
//#region get files to watch
|
|
250
|
-
getFilesFolderPatternsToWatch() {
|
|
251
|
-
/* */
|
|
252
|
-
/* */
|
|
253
|
-
/* */
|
|
254
|
-
/* */
|
|
255
|
-
/* */
|
|
256
|
-
/* */
|
|
257
|
-
/* */
|
|
258
|
-
/* */
|
|
259
|
-
/* */
|
|
260
|
-
/* */
|
|
261
|
-
/* */
|
|
262
|
-
/* */
|
|
263
|
-
/* */
|
|
264
|
-
/* */
|
|
265
|
-
/* */
|
|
266
|
-
return (void 0);
|
|
267
|
-
}
|
|
268
|
-
//#endregion
|
|
269
|
-
//#region private methods
|
|
270
|
-
//#region private methods / fix and assign options
|
|
271
|
-
fixAndAssignOptions(options) {
|
|
272
|
-
/* */
|
|
273
|
-
/* */
|
|
274
|
-
/* */
|
|
275
|
-
/* */
|
|
276
|
-
/* */
|
|
277
|
-
/* */
|
|
278
|
-
/* */
|
|
279
|
-
/* */
|
|
280
|
-
/* */
|
|
281
|
-
/* */
|
|
282
|
-
/* */
|
|
283
|
-
/* */
|
|
284
|
-
/* */
|
|
285
|
-
/* */
|
|
286
|
-
/* */
|
|
287
|
-
/* */
|
|
288
|
-
/* */
|
|
289
|
-
/* */
|
|
290
|
-
/* */
|
|
291
|
-
/* */
|
|
292
|
-
/* */
|
|
293
|
-
/* */
|
|
294
|
-
/* */
|
|
295
|
-
/* */
|
|
296
|
-
/* */
|
|
297
|
-
/* */
|
|
298
|
-
/* */
|
|
299
|
-
/* */
|
|
300
|
-
/* */
|
|
301
|
-
/* */
|
|
302
|
-
/* */
|
|
303
|
-
/* */
|
|
304
|
-
/* */
|
|
305
|
-
/* */
|
|
306
|
-
/* */
|
|
307
|
-
/* */
|
|
308
|
-
return (void 0);
|
|
309
|
-
}
|
|
310
|
-
//#endregion
|
|
311
|
-
//#region private methods / fix task name
|
|
312
|
-
fixTaskName(taskName) {
|
|
313
|
-
if (!___NS__isString(taskName)) {
|
|
314
|
-
taskName = `task "${this.taskName}"`;
|
|
315
|
-
}
|
|
316
|
-
return taskName;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/* */
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* Generated bundle index. Do not edit.
|
|
324
|
-
*/
|
|
325
|
-
|
|
326
|
-
export { BaseClientCompiler, IGNORE_BY_DEFAULT, incrementalWatcher };
|
|
327
|
-
//# sourceMappingURL=incremental-compiler-websql.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"incremental-compiler-websql.mjs","sources":["../../../tmp-libs-for-dist-websql-prod/incremental-compiler/projects/incremental-compiler/src/lib/constants.ts","../../../tmp-libs-for-dist-websql-prod/incremental-compiler/projects/incremental-compiler/src/lib/incremental-watcher.ts","../../../tmp-libs-for-dist-websql-prod/incremental-compiler/projects/incremental-compiler/src/lib/base-client-compiler.ts","../../../tmp-libs-for-dist-websql-prod/incremental-compiler/projects/incremental-compiler/src/lib/index.ts","../../../tmp-libs-for-dist-websql-prod/incremental-compiler/projects/incremental-compiler/src/incremental-compiler-websql.ts"],"sourcesContent":["\n\nexport const IGNORE_BY_DEFAULT = [\n '**/node_modules/**/*.*',\n '**/node_modules',\n '**/.git/**/*.*',\n '**/.git',\n];\n\n","//#region imports\nimport { path, frameworkName, ___NS__add, ___NS__after, ___NS__ary, ___NS__assign, ___NS__assignIn, ___NS__assignInWith, ___NS__assignWith, ___NS__at, ___NS__attempt, ___NS__before, ___NS__bind, ___NS__bindAll, ___NS__bindKey, ___NS__camelCase, ___NS__capitalize, ___NS__castArray, ___NS__ceil, ___NS__chain, ___NS__chunk, ___NS__clamp, ___NS__clone, ___NS__cloneDeep, ___NS__cloneDeepWith, ___NS__cloneWith, ___NS__compact, ___NS__concat, ___NS__cond, ___NS__conforms, ___NS__conformsTo, ___NS__constant, ___NS__countBy, ___NS__create, ___NS__curry, ___NS__curryRight, ___NS__debounce, ___NS__deburr, ___NS__defaults, ___NS__defaultsDeep, ___NS__defaultTo, ___NS__defer, ___NS__delay, ___NS__difference, ___NS__differenceBy, ___NS__differenceWith, ___NS__divide, ___NS__drop, ___NS__dropRight, ___NS__dropRightWhile, ___NS__dropWhile, ___NS__each, ___NS__eachRight, ___NS__endsWith, ___NS__entries, ___NS__entriesIn, ___NS__eq, ___NS__escape, ___NS__escapeRegExp, ___NS__every, ___NS__extend, ___NS__extendWith, ___NS__fill, ___NS__filter, ___NS__find, ___NS__findIndex, ___NS__findKey, ___NS__findLast, ___NS__findLastIndex, ___NS__findLastKey, ___NS__first, ___NS__flatMap, ___NS__flatMapDeep, ___NS__flatMapDepth, ___NS__flatten, ___NS__flattenDeep, ___NS__flattenDepth, ___NS__flip, ___NS__floor, ___NS__flow, ___NS__flowRight, ___NS__forEach, ___NS__forEachRight, ___NS__forIn, ___NS__forInRight, ___NS__forOwn, ___NS__forOwnRight, ___NS__fromPairs, ___NS__functions, ___NS__functionsIn, ___NS__get, ___NS__groupBy, ___NS__gt, ___NS__gte, ___NS__has, ___NS__hasIn, ___NS__head, ___NS__identity, ___NS__includes, ___NS__indexOf, ___NS__initial, ___NS__inRange, ___NS__intersection, ___NS__intersectionBy, ___NS__intersectionWith, ___NS__invert, ___NS__invertBy, ___NS__invoke, ___NS__invokeMap, ___NS__isArguments, ___NS__isArray, ___NS__isArrayBuffer, ___NS__isArrayLike, ___NS__isArrayLikeObject, ___NS__isBoolean, ___NS__isBuffer, ___NS__isDate, ___NS__isElement, ___NS__isEmpty, ___NS__isEqual, ___NS__isEqualWith, ___NS__isError, ___NS__isFinite, ___NS__isFunction, ___NS__isInteger, ___NS__isLength, ___NS__isMap, ___NS__isMatch, ___NS__isMatchWith, ___NS__isNaN, ___NS__isNative, ___NS__isNil, ___NS__isNull, ___NS__isNumber, ___NS__isObject, ___NS__isObjectLike, ___NS__isPlainObject, ___NS__isRegExp, ___NS__isSafeInteger, ___NS__isSet, ___NS__isString, ___NS__isSymbol, ___NS__isTypedArray, ___NS__isUndefined, ___NS__isWeakMap, ___NS__isWeakSet, ___NS__iteratee, ___NS__join, ___NS__kebabCase, ___NS__keyBy, ___NS__keys, ___NS__keysIn, ___NS__last, ___NS__lastIndexOf, ___NS__lowerCase, ___NS__lowerFirst, ___NS__lt, ___NS__lte, ___NS__map, ___NS__mapKeys, ___NS__mapValues, ___NS__matches, ___NS__matchesProperty, ___NS__max, ___NS__maxBy, ___NS__mean, ___NS__meanBy, ___NS__memoize, ___NS__merge, ___NS__mergeWith, ___NS__method, ___NS__methodOf, ___NS__min, ___NS__minBy, ___NS__mixin, ___NS__multiply, ___NS__negate, ___NS__noop, ___NS__now, ___NS__nth, ___NS__nthArg, ___NS__omit, ___NS__omitBy, ___NS__once, ___NS__orderBy, ___NS__over, ___NS__overArgs, ___NS__overEvery, ___NS__overSome, ___NS__pad, ___NS__padEnd, ___NS__padStart, ___NS__parseInt, ___NS__partial, ___NS__partialRight, ___NS__partition, ___NS__pick, ___NS__pickBy, ___NS__property, ___NS__propertyOf, ___NS__pull, ___NS__pullAll, ___NS__pullAllBy, ___NS__pullAllWith, ___NS__pullAt, ___NS__random, ___NS__range, ___NS__rangeRight, ___NS__rearg, ___NS__reduce, ___NS__reduceRight, ___NS__reject, ___NS__remove, ___NS__repeat, ___NS__replace, ___NS__rest, ___NS__result, ___NS__reverse, ___NS__round, ___NS__sample, ___NS__sampleSize, ___NS__set, ___NS__setWith, ___NS__shuffle, ___NS__size, ___NS__slice, ___NS__snakeCase, ___NS__some, ___NS__sortBy, ___NS__sortedIndex, ___NS__sortedIndexBy, ___NS__sortedIndexOf, ___NS__sortedLastIndex, ___NS__sortedLastIndexBy, ___NS__sortedLastIndexOf, ___NS__sortedUniq, ___NS__sortedUniqBy, ___NS__split, ___NS__spread, ___NS__startCase, ___NS__startsWith, ___NS__stubArray, ___NS__stubFalse, ___NS__stubObject, ___NS__stubString, ___NS__stubTrue, ___NS__subtract, ___NS__sum, ___NS__sumBy, ___NS__tail, ___NS__take, ___NS__takeRight, ___NS__takeRightWhile, ___NS__takeWhile, ___NS__tap, ___NS__template, ___NS__templateSettings, ___NS__throttle, ___NS__thru, ___NS__times, ___NS__toArray, ___NS__toFinite, ___NS__toInteger, ___NS__toLength, ___NS__toLower, ___NS__toNumber, ___NS__toPairs, ___NS__toPairsIn, ___NS__toPath, ___NS__toPlainObject, ___NS__toSafeInteger, ___NS__toString, ___NS__toUpper, ___NS__transform, ___NS__trim, ___NS__trimEnd, ___NS__trimStart, ___NS__truncate, ___NS__unary, ___NS__unescape, ___NS__union, ___NS__unionBy, ___NS__unionWith, ___NS__uniq, ___NS__uniqBy, ___NS__uniqueId, ___NS__uniqWith, ___NS__unset, ___NS__unzip, ___NS__unzipWith, ___NS__update, ___NS__updateWith, ___NS__upperCase, ___NS__upperFirst, ___NS__values, ___NS__valuesIn, ___NS__without, ___NS__words, ___NS__wrap, ___NS__xor, ___NS__xorBy, ___NS__xorWith, ___NS__zip, ___NS__zipObject, ___NS__zipObjectDeep, ___NS__zipWith, Helpers__NS___fixCommand, Helpers__NS__bigMaxBuffer, Helpers__NS__checkProcess, Helpers__NS__cleanExit, Helpers__NS__clearConsole, Helpers__NS__command, Helpers__NS__commandOutputAsString, Helpers__NS__commandOutputAsStringAsync, Helpers__NS__compilationWrapper, Helpers__NS__contain, Helpers__NS__createFolder, Helpers__NS__createSymLink, Helpers__NS__error, Helpers__NS__execute, Helpers__NS__exists, Helpers__NS__filesFrom, Helpers__NS__foldersFrom, Helpers__NS__getFilesFrom, Helpers__NS__getFoldersFrom, Helpers__NS__getIsBrowser, Helpers__NS__getIsElectron, Helpers__NS__getIsNode, Helpers__NS__getIsRunningInGitBash, Helpers__NS__getIsSupportedTaonTerminal, Helpers__NS__getIsVerboseMode, Helpers__NS__getIsWebSQL, Helpers__NS__getIsWsl, Helpers__NS__getStdio, Helpers__NS__hideNodeWarnings, Helpers__NS__info, Helpers__NS__isBlob, Helpers__NS__isBuffer, Helpers__NS__isClass, Helpers__NS__isExistedSymlink, Helpers__NS__isFile, Helpers__NS__isFolder, Helpers__NS__isRunningInDocker, Helpers__NS__isRunningInLinuxGraphicsCapableEnvironment, Helpers__NS__isSymlinkFileExitedOrUnexisted, Helpers__NS__isSymlinkThatMatchesUrl, Helpers__NS__isUnexistedLink, Helpers__NS__killOnPort, Helpers__NS__killProcess, Helpers__NS__killProcessByPort, Helpers__NS__linksToFolderFrom, Helpers__NS__linksToFoldersFrom, Helpers__NS__log, Helpers__NS__logError, Helpers__NS__logInfo, Helpers__NS__logProc, Helpers__NS__logSuccess, Helpers__NS__logWarn, Helpers__NS__mediaTypeFromSrc, Helpers__NS__mkdirp, Helpers__NS__modifyLineByLine, Helpers__NS__msgCacheClear, Helpers__NS__openFolderInFileExplorer, Helpers__NS__parse, Helpers__NS__pathContainLink, Helpers__NS__questionYesNo, Helpers__NS__readFile, Helpers__NS__readJson, Helpers__NS__readJson5, Helpers__NS__readJsonC, Helpers__NS__relative, Helpers__NS__remove, Helpers__NS__removeEmptyLineFromString, Helpers__NS__removeFileIfExists, Helpers__NS__removeFolderIfExists, Helpers__NS__removeIfExists, Helpers__NS__removeSlashAtBegin, Helpers__NS__removeSlashAtEnd, Helpers__NS__removeSymlinks, Helpers__NS__renderError, Helpers__NS__replaceLinesInFile, Helpers__NS__run, Helpers__NS__runAsyncIn, Helpers__NS__runSyncIn, Helpers__NS__runSyncOrAsync, Helpers__NS__sleep, Helpers__NS__stopApplication, Helpers__NS__stringify, Helpers__NS__success, Helpers__NS__taskDone, Helpers__NS__taskStarted, Helpers__NS__throwError, Helpers__NS__timeout, Helpers__NS__tryCatchError, Helpers__NS__tryReadFile, Helpers__NS__tryRemoveDir, Helpers__NS__values, Helpers__NS__wait, Helpers__NS__warn, Helpers__NS__writeFile, Helpers__NS__writeJson, Helpers__NS__writeJson5, Helpers__NS__writeJsonC } from 'tnp-core/websql-prod';\nimport { chokidar } from 'tnp-core/websql-prod';\n\nimport { IncrementalWatcherInstance } from './models';\nimport { IncrementalWatcherOptions } from './models';\nimport { ParcelWatcherAdapter } from './parcel-watcher-adapter';\n//#endregion\n\nexport function incrementalWatcher(\n filesFolderPathOrPatternsToWatch: string[],\n watchOptions: IncrementalWatcherOptions,\n): IncrementalWatcherInstance {\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n return (void 0);\n}","//#region imports\n/* */ \nimport { path, crossPlatformPath, ___NS__add, ___NS__after, ___NS__ary, ___NS__assign, ___NS__assignIn, ___NS__assignInWith, ___NS__assignWith, ___NS__at, ___NS__attempt, ___NS__before, ___NS__bind, ___NS__bindAll, ___NS__bindKey, ___NS__camelCase, ___NS__capitalize, ___NS__castArray, ___NS__ceil, ___NS__chain, ___NS__chunk, ___NS__clamp, ___NS__clone, ___NS__cloneDeep, ___NS__cloneDeepWith, ___NS__cloneWith, ___NS__compact, ___NS__concat, ___NS__cond, ___NS__conforms, ___NS__conformsTo, ___NS__constant, ___NS__countBy, ___NS__create, ___NS__curry, ___NS__curryRight, ___NS__debounce, ___NS__deburr, ___NS__defaults, ___NS__defaultsDeep, ___NS__defaultTo, ___NS__defer, ___NS__delay, ___NS__difference, ___NS__differenceBy, ___NS__differenceWith, ___NS__divide, ___NS__drop, ___NS__dropRight, ___NS__dropRightWhile, ___NS__dropWhile, ___NS__each, ___NS__eachRight, ___NS__endsWith, ___NS__entries, ___NS__entriesIn, ___NS__eq, ___NS__escape, ___NS__escapeRegExp, ___NS__every, ___NS__extend, ___NS__extendWith, ___NS__fill, ___NS__filter, ___NS__find, ___NS__findIndex, ___NS__findKey, ___NS__findLast, ___NS__findLastIndex, ___NS__findLastKey, ___NS__first, ___NS__flatMap, ___NS__flatMapDeep, ___NS__flatMapDepth, ___NS__flatten, ___NS__flattenDeep, ___NS__flattenDepth, ___NS__flip, ___NS__floor, ___NS__flow, ___NS__flowRight, ___NS__forEach, ___NS__forEachRight, ___NS__forIn, ___NS__forInRight, ___NS__forOwn, ___NS__forOwnRight, ___NS__fromPairs, ___NS__functions, ___NS__functionsIn, ___NS__get, ___NS__groupBy, ___NS__gt, ___NS__gte, ___NS__has, ___NS__hasIn, ___NS__head, ___NS__identity, ___NS__includes, ___NS__indexOf, ___NS__initial, ___NS__inRange, ___NS__intersection, ___NS__intersectionBy, ___NS__intersectionWith, ___NS__invert, ___NS__invertBy, ___NS__invoke, ___NS__invokeMap, ___NS__isArguments, ___NS__isArray, ___NS__isArrayBuffer, ___NS__isArrayLike, ___NS__isArrayLikeObject, ___NS__isBoolean, ___NS__isBuffer, ___NS__isDate, ___NS__isElement, ___NS__isEmpty, ___NS__isEqual, ___NS__isEqualWith, ___NS__isError, ___NS__isFinite, ___NS__isFunction, ___NS__isInteger, ___NS__isLength, ___NS__isMap, ___NS__isMatch, ___NS__isMatchWith, ___NS__isNaN, ___NS__isNative, ___NS__isNil, ___NS__isNull, ___NS__isNumber, ___NS__isObject, ___NS__isObjectLike, ___NS__isPlainObject, ___NS__isRegExp, ___NS__isSafeInteger, ___NS__isSet, ___NS__isString, ___NS__isSymbol, ___NS__isTypedArray, ___NS__isUndefined, ___NS__isWeakMap, ___NS__isWeakSet, ___NS__iteratee, ___NS__join, ___NS__kebabCase, ___NS__keyBy, ___NS__keys, ___NS__keysIn, ___NS__last, ___NS__lastIndexOf, ___NS__lowerCase, ___NS__lowerFirst, ___NS__lt, ___NS__lte, ___NS__map, ___NS__mapKeys, ___NS__mapValues, ___NS__matches, ___NS__matchesProperty, ___NS__max, ___NS__maxBy, ___NS__mean, ___NS__meanBy, ___NS__memoize, ___NS__merge, ___NS__mergeWith, ___NS__method, ___NS__methodOf, ___NS__min, ___NS__minBy, ___NS__mixin, ___NS__multiply, ___NS__negate, ___NS__noop, ___NS__now, ___NS__nth, ___NS__nthArg, ___NS__omit, ___NS__omitBy, ___NS__once, ___NS__orderBy, ___NS__over, ___NS__overArgs, ___NS__overEvery, ___NS__overSome, ___NS__pad, ___NS__padEnd, ___NS__padStart, ___NS__parseInt, ___NS__partial, ___NS__partialRight, ___NS__partition, ___NS__pick, ___NS__pickBy, ___NS__property, ___NS__propertyOf, ___NS__pull, ___NS__pullAll, ___NS__pullAllBy, ___NS__pullAllWith, ___NS__pullAt, ___NS__random, ___NS__range, ___NS__rangeRight, ___NS__rearg, ___NS__reduce, ___NS__reduceRight, ___NS__reject, ___NS__remove, ___NS__repeat, ___NS__replace, ___NS__rest, ___NS__result, ___NS__reverse, ___NS__round, ___NS__sample, ___NS__sampleSize, ___NS__set, ___NS__setWith, ___NS__shuffle, ___NS__size, ___NS__slice, ___NS__snakeCase, ___NS__some, ___NS__sortBy, ___NS__sortedIndex, ___NS__sortedIndexBy, ___NS__sortedIndexOf, ___NS__sortedLastIndex, ___NS__sortedLastIndexBy, ___NS__sortedLastIndexOf, ___NS__sortedUniq, ___NS__sortedUniqBy, ___NS__split, ___NS__spread, ___NS__startCase, ___NS__startsWith, ___NS__stubArray, ___NS__stubFalse, ___NS__stubObject, ___NS__stubString, ___NS__stubTrue, ___NS__subtract, ___NS__sum, ___NS__sumBy, ___NS__tail, ___NS__take, ___NS__takeRight, ___NS__takeRightWhile, ___NS__takeWhile, ___NS__tap, ___NS__template, ___NS__templateSettings, ___NS__throttle, ___NS__thru, ___NS__times, ___NS__toArray, ___NS__toFinite, ___NS__toInteger, ___NS__toLength, ___NS__toLower, ___NS__toNumber, ___NS__toPairs, ___NS__toPairsIn, ___NS__toPath, ___NS__toPlainObject, ___NS__toSafeInteger, ___NS__toString, ___NS__toUpper, ___NS__transform, ___NS__trim, ___NS__trimEnd, ___NS__trimStart, ___NS__truncate, ___NS__unary, ___NS__unescape, ___NS__union, ___NS__unionBy, ___NS__unionWith, ___NS__uniq, ___NS__uniqBy, ___NS__uniqueId, ___NS__uniqWith, ___NS__unset, ___NS__unzip, ___NS__unzipWith, ___NS__update, ___NS__updateWith, ___NS__upperCase, ___NS__upperFirst, ___NS__values, ___NS__valuesIn, ___NS__without, ___NS__words, ___NS__wrap, ___NS__xor, ___NS__xorBy, ___NS__xorWith, ___NS__zip, ___NS__zipObject, ___NS__zipObjectDeep, ___NS__zipWith, UtilsMessages__NS__compilationWrapper } from 'tnp-core/websql-prod';\nimport { Helpers__NS___fixCommand, Helpers__NS__bigMaxBuffer, Helpers__NS__checkProcess, Helpers__NS__cleanExit, Helpers__NS__clearConsole, Helpers__NS__command, Helpers__NS__commandOutputAsString, Helpers__NS__commandOutputAsStringAsync, Helpers__NS__compilationWrapper, Helpers__NS__contain, Helpers__NS__createFolder, Helpers__NS__createSymLink, Helpers__NS__error, Helpers__NS__execute, Helpers__NS__exists, Helpers__NS__filesFrom, Helpers__NS__foldersFrom, Helpers__NS__getFilesFrom, Helpers__NS__getFoldersFrom, Helpers__NS__getIsBrowser, Helpers__NS__getIsElectron, Helpers__NS__getIsNode, Helpers__NS__getIsRunningInGitBash, Helpers__NS__getIsSupportedTaonTerminal, Helpers__NS__getIsVerboseMode, Helpers__NS__getIsWebSQL, Helpers__NS__getIsWsl, Helpers__NS__getStdio, Helpers__NS__hideNodeWarnings, Helpers__NS__info, Helpers__NS__isBlob, Helpers__NS__isBuffer, Helpers__NS__isClass, Helpers__NS__isExistedSymlink, Helpers__NS__isFile, Helpers__NS__isFolder, Helpers__NS__isRunningInDocker, Helpers__NS__isRunningInLinuxGraphicsCapableEnvironment, Helpers__NS__isSymlinkFileExitedOrUnexisted, Helpers__NS__isSymlinkThatMatchesUrl, Helpers__NS__isUnexistedLink, Helpers__NS__killOnPort, Helpers__NS__killProcess, Helpers__NS__killProcessByPort, Helpers__NS__linksToFolderFrom, Helpers__NS__linksToFoldersFrom, Helpers__NS__log, Helpers__NS__logError, Helpers__NS__logInfo, Helpers__NS__logProc, Helpers__NS__logSuccess, Helpers__NS__logWarn, Helpers__NS__mediaTypeFromSrc, Helpers__NS__mkdirp, Helpers__NS__modifyLineByLine, Helpers__NS__msgCacheClear, Helpers__NS__openFolderInFileExplorer, Helpers__NS__parse, Helpers__NS__pathContainLink, Helpers__NS__questionYesNo, Helpers__NS__readFile, Helpers__NS__readJson, Helpers__NS__readJson5, Helpers__NS__readJsonC, Helpers__NS__relative, Helpers__NS__remove, Helpers__NS__removeEmptyLineFromString, Helpers__NS__removeFileIfExists, Helpers__NS__removeFolderIfExists, Helpers__NS__removeIfExists, Helpers__NS__removeSlashAtBegin, Helpers__NS__removeSlashAtEnd, Helpers__NS__removeSymlinks, Helpers__NS__renderError, Helpers__NS__replaceLinesInFile, Helpers__NS__run, Helpers__NS__runAsyncIn, Helpers__NS__runSyncIn, Helpers__NS__runSyncOrAsync, Helpers__NS__sleep, Helpers__NS__stopApplication, Helpers__NS__stringify, Helpers__NS__success, Helpers__NS__taskDone, Helpers__NS__taskStarted, Helpers__NS__throwError, Helpers__NS__timeout, Helpers__NS__tryCatchError, Helpers__NS__tryReadFile, Helpers__NS__tryRemoveDir, Helpers__NS__values, Helpers__NS__wait, Helpers__NS__warn, Helpers__NS__writeFile, Helpers__NS__writeJson, Helpers__NS__writeJson5, Helpers__NS__writeJsonC } from 'tnp-core/websql-prod';\nimport { CLI } from 'tnp-core/websql-prod';\nimport { CoreModels__NS__BaseProjectType, CoreModels__NS__BaseProjectTypeArr, CoreModels__NS__CfontAlign, CoreModels__NS__CfontStyle, CoreModels__NS__ClassNameStaticProperty, CoreModels__NS__ContentType, CoreModels__NS__ContentTypeKeys, CoreModels__NS__CoreLibCategory, CoreModels__NS__CutableFileExt, CoreModels__NS__DatabaseType, CoreModels__NS__EnvironmentName, CoreModels__NS__EnvironmentNameTaon, CoreModels__NS__ExecuteOptions, CoreModels__NS__FileEvent, CoreModels__NS__FileExtension, CoreModels__NS__FrameworkVersion, CoreModels__NS__GlobalDependencies, CoreModels__NS__HttpMethod, CoreModels__NS__ImageFileExtension, CoreModels__NS__ImageFileExtensionArr, CoreModels__NS__InstalationType, CoreModels__NS__InstalationTypeArr, CoreModels__NS__LibType, CoreModels__NS__localhostDomain, CoreModels__NS__localhostIp127, CoreModels__NS__ManifestIcon, CoreModels__NS__MediaType, CoreModels__NS__MediaTypeAllArr, CoreModels__NS__MimeType, CoreModels__NS__mimeTypes, CoreModels__NS__MimeTypesObj, CoreModels__NS__NewFactoryType, CoreModels__NS__NpmInstallOptions, CoreModels__NS__NpmSpecialVersions, CoreModels__NS__OrignalClassKey, CoreModels__NS__OutFolder, CoreModels__NS__Package, CoreModels__NS__ParamType, CoreModels__NS__parentLocation, CoreModels__NS__pathToChildren, CoreModels__NS__Position, CoreModels__NS__PreReleaseVersionTag, CoreModels__NS__PROGRESS_DATA_TYPE, CoreModels__NS__PUSHTYPE, CoreModels__NS__PwaManifest, CoreModels__NS__ReleaseVersionType, CoreModels__NS__ReleaseVersionTypeEnum, CoreModels__NS__RunOptions, CoreModels__NS__Size, CoreModels__NS__SPECIAL_APP_READY_MESSAGE, CoreModels__NS__SPECIAL_WORKER_READY_MESSAGE, CoreModels__NS__tagForTaskName, CoreModels__NS__TaonHttpErrorCustomProp, CoreModels__NS__TsUsage, CoreModels__NS__UIFramework, CoreModels__NS__UploadedBackendFile, CoreModels__NS__VSCodeSettings } from 'tnp-core/websql-prod';\n\nimport { CompilerManager } from './compiler-manager';\nimport { mapForWatching } from './helpers';\nimport { ChangeOfFile, IncrementalWatcherOptions } from './models';\nimport {\n BaseClientCompilerOptions,\n StartAndWatchOptions,\n StartOptions,\n} from './models';\n//#endregion\n\nexport class BaseClientCompiler<INITIAL_PARAMS = any>\n implements BaseClientCompilerOptions\n{\n //#region fields & getters\n public readonly followSymlinks: boolean;\n\n public readonly subscribeOnlyFor: CoreModels__NS__FileExtension[] = [];\n\n public readonly executeOutsideScenario: boolean;\n\n public readonly taskName: string;\n\n public readonly engine: IncrementalWatcherOptions['engine'];\n\n public readonly notifyOnFileUnlink: boolean;\n\n protected onlySingleRun = true;\n\n public ignoreFolderPatter?: string[];\n\n private pathResolve: boolean = false;\n\n private isInitedWithOptions: boolean = false;\n\n private __folderPath: string[] = [];\n\n public lastAsyncFiles: string[] = [];\n\n public readonly isWatchCompilation: boolean = false;\n\n public readonly folderPathContentCheck: string[] = [];\n\n public set folderPath(v) {\n/* */\n/* */\n/* */\n/* */\n/* */\n \n }\n\n public get folderPath(): string[] {\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n return (void 0);\n }\n //#endregion\n\n //#region constructor\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n \n //#endregion\n\n //#region init options\n /**\n * manually init options (when no passing object to constructor super() )\n */\n protected initOptions(options?: BaseClientCompilerOptions): void {\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n return (void 0);\n }\n //#endregion\n\n //#region run task\n /**\n * do not override this\n */\n async runTask(\n options?: { watch?: boolean } & StartAndWatchOptions<INITIAL_PARAMS>,\n ): Promise<BaseClientCompiler<INITIAL_PARAMS>> {\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n return (void 0);\n }\n //#endregion\n\n //#region start\n /**\n * @deprecated use runTask instead\n * Do not override this\n */\n public async start(\n options?: StartOptions<INITIAL_PARAMS>,\n ): Promise<BaseClientCompiler<INITIAL_PARAMS>> {\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n return (void 0);\n }\n //#endregion\n\n //#region start and watch\n /**\n * @deprecated use runTask instead\n * Do not override this\n */\n public async startAndWatch(\n options?: StartAndWatchOptions<INITIAL_PARAMS>,\n ): Promise<BaseClientCompiler<INITIAL_PARAMS>> {\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n return (void 0);\n }\n //#endregion\n\n //#region sync action\n /**\n *\n * @param absolteFilesPathes for each watched file\n * @returns\n */\n public syncAction(\n absolteFilesPathes?: string[],\n initialParams?: INITIAL_PARAMS,\n ): Promise<void> {\n return void 0;\n }\n //#endregion\n\n //#region pre async action\n public async preAsyncAction(initialParams?: INITIAL_PARAMS): Promise<void> {}\n //#endregion\n\n //#region async action\n public asyncAction(\n asyncEvents: ChangeOfFile,\n initialParams?: INITIAL_PARAMS,\n ): Promise<void> {\n return void 0;\n }\n //#endregion\n\n //#region get files to watch\n public getFilesFolderPatternsToWatch(): string[] {\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n return (void 0);\n }\n //#endregion\n\n //#region private methods\n\n //#region private methods / fix and assign options\n private fixAndAssignOptions(options?: BaseClientCompilerOptions): void {\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n/* */\n return (void 0);\n }\n //#endregion\n\n //#region private methods / fix task name\n private fixTaskName(taskName: string): string {\n if (!___NS__isString(taskName)) {\n taskName = `task \"${this.taskName}\"`;\n }\n return taskName;\n }\n //#endregion\n\n //#endregion\n}","export * from './constants';\nexport * from './models';\nexport * from './incremental-watcher';\nexport * from './base-client-compiler';\n/* */ \n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;AAEO,MAAM,iBAAiB,GAAG;IAC/B,wBAAwB;IACxB,iBAAiB;IACjB,gBAAgB;IAChB,SAAS;;;ACCX;AAEM,SAAU,kBAAkB,CAChC,gCAA0C,EAC1C,YAAuC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BvC,IAAA,QAAQ,KAAK,CAAC;AAChB;;ACxCA;AACA;AAcA;MAEa,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;QAMkB,IAAA,CAAA,gBAAgB,GAAoC,EAAE;QAU5D,IAAA,CAAA,aAAa,GAAG,IAAI;QAItB,IAAA,CAAA,WAAW,GAAY,KAAK;QAE5B,IAAA,CAAA,mBAAmB,GAAY,KAAK;QAEpC,IAAA,CAAA,YAAY,GAAa,EAAE;QAE5B,IAAA,CAAA,cAAc,GAAa,EAAE;QAEpB,IAAA,CAAA,kBAAkB,GAAY,KAAK;QAEnC,IAAA,CAAA,sBAAsB,GAAa,EAAE;;;IAqSvD;IAnSE,IAAW,UAAU,CAAC,CAAC,EAAA;;;;;;IAOvB;AAEA,IAAA,IAAW,UAAU,GAAA;;;;;;;;;;;;;;;;;;AAkBnB,QAAA,QAAQ,KAAK,CAAC;IAChB;;;;;;;;;;;;;;;;;;;;;;AAyBA;;AAEG;AACO,IAAA,WAAW,CAAC,OAAmC,EAAA;;;;;;;;;;;;;;;;AAgBvD,QAAA,QAAQ,KAAK,CAAC;IAChB;;;AAIA;;AAEG;IACH,MAAM,OAAO,CACX,OAAoE,EAAA;;;;;;;;;;AAWpE,QAAA,QAAQ,KAAK,CAAC;IAChB;;;AAIA;;;AAGG;IACI,MAAM,KAAK,CAChB,OAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCtC,QAAA,QAAQ,KAAK,CAAC;IAChB;;;AAIA;;;AAGG;IACI,MAAM,aAAa,CACxB,OAA8C,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyC9C,QAAA,QAAQ,KAAK,CAAC;IAChB;;;AAIA;;;;AAIG;IACI,UAAU,CACf,kBAA6B,EAC7B,aAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC;IACf;;;AAIO,IAAA,MAAM,cAAc,CAAC,aAA8B,IAAkB;;;IAIrE,WAAW,CAChB,WAAyB,EACzB,aAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC;IACf;;;IAIO,6BAA6B,GAAA;;;;;;;;;;;;;;;;AAgBlC,QAAA,QAAQ,KAAK,CAAC;IAChB;;;;AAMQ,IAAA,mBAAmB,CAAC,OAAmC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqC7D,QAAA,QAAQ,KAAK,CAAC;IAChB;;;AAIQ,IAAA,WAAW,CAAC,QAAgB,EAAA;AAClC,QAAA,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE;AAC9B,YAAA,QAAQ,GAAG,CAAA,MAAA,EAAS,IAAI,CAAC,QAAQ,GAAG;QACtC;AACA,QAAA,OAAO,QAAQ;IACjB;AAID;;AChVD;;ACJA;;AAEG;;;;"}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { CoreModels__NS__FileExtension } from 'tnp-core/websql-prod';
|
|
3
|
-
|
|
4
|
-
declare const IGNORE_BY_DEFAULT: string[];
|
|
5
|
-
|
|
6
|
-
interface StartAndWatchOptions<INIT_PARAMS = any> {
|
|
7
|
-
afterInitCallBack?: (initialParams?: INIT_PARAMS) => void;
|
|
8
|
-
watchOnly?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* override task name
|
|
11
|
-
*/
|
|
12
|
-
taskName?: string;
|
|
13
|
-
initialParams?: INIT_PARAMS;
|
|
14
|
-
}
|
|
15
|
-
type StartOptions<T = any> = Omit<StartAndWatchOptions<T>, 'watchOnly'>;
|
|
16
|
-
interface BaseClientCompilerOptions {
|
|
17
|
-
taskName: string;
|
|
18
|
-
folderPath?: string | string[];
|
|
19
|
-
/**
|
|
20
|
-
* It will cache in memory previouse files
|
|
21
|
-
* to limit async actions calls
|
|
22
|
-
* and prevent not changed files emiting change event
|
|
23
|
-
*/
|
|
24
|
-
folderPathContentCheck?: string | string[];
|
|
25
|
-
/**
|
|
26
|
-
* default true
|
|
27
|
-
*/
|
|
28
|
-
followSymlinks?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Notify compiler if file is unlinked
|
|
31
|
-
* default: false
|
|
32
|
-
*/
|
|
33
|
-
notifyOnFileUnlink?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* ignore glob folder pattern
|
|
36
|
-
* node_modules is always ignored
|
|
37
|
-
*/
|
|
38
|
-
ignoreFolderPatter?: string[];
|
|
39
|
-
subscribeOnlyFor?: CoreModels__NS__FileExtension[];
|
|
40
|
-
engine?: IncrementalWatcherOptions['engine'];
|
|
41
|
-
}
|
|
42
|
-
interface ParcelEvent {
|
|
43
|
-
path: string;
|
|
44
|
-
type: ParcelEventType;
|
|
45
|
-
}
|
|
46
|
-
type IncrementalWatcherAllEvents = 'all' | IncrementalWatcherEvents;
|
|
47
|
-
type ListenerForAll = (eventName: IncrementalWatcherEvents, path: string) => void;
|
|
48
|
-
type ListenerForSingleEvent = (path: string) => void;
|
|
49
|
-
type Listener = ListenerForAll | ListenerForSingleEvent;
|
|
50
|
-
interface IncrementalWatcherInstance {
|
|
51
|
-
add(paths: string | ReadonlyArray<string>): void;
|
|
52
|
-
on(event: 'all', listener: ListenerForAll): this;
|
|
53
|
-
on(event: IncrementalWatcherAllEvents, listener: ListenerForSingleEvent): this;
|
|
54
|
-
}
|
|
55
|
-
interface IncrementalWatcherOptions {
|
|
56
|
-
ignored?: string[];
|
|
57
|
-
ignoreInitial?: boolean;
|
|
58
|
-
followSymlinks?: boolean;
|
|
59
|
-
name: string;
|
|
60
|
-
/**
|
|
61
|
-
* Default is @parcel/watcher
|
|
62
|
-
*/
|
|
63
|
-
engine?: 'chokidar' | '@parcel/watcher';
|
|
64
|
-
}
|
|
65
|
-
type IncrementalWatcherEvents = 'add' | 'addDir' | 'change' | 'unlink' | 'unlinkDir';
|
|
66
|
-
type ParcelEventType = 'create' | 'update' | 'delete';
|
|
67
|
-
interface ChangeOfFile {
|
|
68
|
-
datetime: Date;
|
|
69
|
-
fileAbsolutePath: string;
|
|
70
|
-
eventName: 'add' | 'change' | 'unlink' | 'unlinkDir';
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
declare function incrementalWatcher(filesFolderPathOrPatternsToWatch: string[], watchOptions: IncrementalWatcherOptions): IncrementalWatcherInstance;
|
|
74
|
-
|
|
75
|
-
declare class BaseClientCompiler<INITIAL_PARAMS = any> implements BaseClientCompilerOptions {
|
|
76
|
-
readonly followSymlinks: boolean;
|
|
77
|
-
readonly subscribeOnlyFor: CoreModels__NS__FileExtension[];
|
|
78
|
-
readonly executeOutsideScenario: boolean;
|
|
79
|
-
readonly taskName: string;
|
|
80
|
-
readonly engine: IncrementalWatcherOptions['engine'];
|
|
81
|
-
readonly notifyOnFileUnlink: boolean;
|
|
82
|
-
protected onlySingleRun: boolean;
|
|
83
|
-
ignoreFolderPatter?: string[];
|
|
84
|
-
private pathResolve;
|
|
85
|
-
private isInitedWithOptions;
|
|
86
|
-
private __folderPath;
|
|
87
|
-
lastAsyncFiles: string[];
|
|
88
|
-
readonly isWatchCompilation: boolean;
|
|
89
|
-
readonly folderPathContentCheck: string[];
|
|
90
|
-
set folderPath(v: string[]);
|
|
91
|
-
get folderPath(): string[];
|
|
92
|
-
/**
|
|
93
|
-
* manually init options (when no passing object to constructor super() )
|
|
94
|
-
*/
|
|
95
|
-
protected initOptions(options?: BaseClientCompilerOptions): void;
|
|
96
|
-
/**
|
|
97
|
-
* do not override this
|
|
98
|
-
*/
|
|
99
|
-
runTask(options?: {
|
|
100
|
-
watch?: boolean;
|
|
101
|
-
} & StartAndWatchOptions<INITIAL_PARAMS>): Promise<BaseClientCompiler<INITIAL_PARAMS>>;
|
|
102
|
-
/**
|
|
103
|
-
* @deprecated use runTask instead
|
|
104
|
-
* Do not override this
|
|
105
|
-
*/
|
|
106
|
-
start(options?: StartOptions<INITIAL_PARAMS>): Promise<BaseClientCompiler<INITIAL_PARAMS>>;
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated use runTask instead
|
|
109
|
-
* Do not override this
|
|
110
|
-
*/
|
|
111
|
-
startAndWatch(options?: StartAndWatchOptions<INITIAL_PARAMS>): Promise<BaseClientCompiler<INITIAL_PARAMS>>;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @param absolteFilesPathes for each watched file
|
|
115
|
-
* @returns
|
|
116
|
-
*/
|
|
117
|
-
syncAction(absolteFilesPathes?: string[], initialParams?: INITIAL_PARAMS): Promise<void>;
|
|
118
|
-
preAsyncAction(initialParams?: INITIAL_PARAMS): Promise<void>;
|
|
119
|
-
asyncAction(asyncEvents: ChangeOfFile, initialParams?: INITIAL_PARAMS): Promise<void>;
|
|
120
|
-
getFilesFolderPatternsToWatch(): string[];
|
|
121
|
-
private fixAndAssignOptions;
|
|
122
|
-
private fixTaskName;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export { BaseClientCompiler, IGNORE_BY_DEFAULT, incrementalWatcher };
|
|
126
|
-
export type { BaseClientCompilerOptions, ChangeOfFile, IncrementalWatcherAllEvents, IncrementalWatcherEvents, IncrementalWatcherInstance, IncrementalWatcherOptions, Listener, ListenerForAll, ListenerForSingleEvent, ParcelEvent, ParcelEventType, StartAndWatchOptions, StartOptions };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|