incremental-compiler 16.5.15 → 16.5.17
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 +13 -13
- package/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/browser/esm2022/lib/models.mjs +1 -1
- package/browser/lib/models.d.ts +5 -2
- package/client/README.md +24 -24
- package/client/esm2022/lib/models.mjs +1 -1
- package/client/lib/models.d.ts +5 -2
- package/client/package.json +32 -32
- package/lib/base-client-compiler.backend.d.ts +7 -6
- package/lib/base-client-compiler.backend.js +23 -19
- package/lib/base-client-compiler.backend.js.map +1 -1
- package/lib/change-of-file.backend.d.ts +2 -2
- package/lib/compiler-manager.backend.d.ts +4 -4
- package/lib/compiler-manager.backend.js +6 -6
- package/lib/compiler-manager.backend.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/models.d.ts +5 -2
- package/package.json +4 -4
- package/package.json_devDependencies.json +216 -216
- package/package.json_tnp.json5 +54 -54
- package/tmp-environment.json +36 -36
- package/websql/README.md +24 -24
- package/websql/esm2022/lib/models.mjs +1 -1
- package/websql/lib/models.d.ts +5 -2
package/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
# INCREMENTAL COMPILER
|
2
|
-
|
3
|
-
- lib for any kind incremental compilers, files watchers..
|
4
|
-
- based on excellent https://github.com/paulmillr/chokidar
|
5
|
-
|
6
|
-
## Example use case
|
7
|
-
|
8
|
-
- You want to call some function for each file in you folder "src" in you project.
|
9
|
-
- After you call this function for each file... you are watching this files and
|
10
|
-
for each file change in "src", you are calling again function for this particular file
|
11
|
-
|
12
|
-
|
13
|
-
### If you have many "files watchers" with "increamntal-compiler" you can create scenario ( IncCompiler.init(...) ) and prevent any kind of "race coditions"
|
1
|
+
# INCREMENTAL COMPILER
|
2
|
+
|
3
|
+
- lib for any kind incremental compilers, files watchers..
|
4
|
+
- based on excellent https://github.com/paulmillr/chokidar
|
5
|
+
|
6
|
+
## Example use case
|
7
|
+
|
8
|
+
- You want to call some function for each file in you folder "src" in you project.
|
9
|
+
- After you call this function for each file... you are watching this files and
|
10
|
+
for each file change in "src", you are calling again function for this particular file
|
11
|
+
|
12
|
+
|
13
|
+
### If you have many "files watchers" with "increamntal-compiler" you can create scenario ( IncCompiler.init(...) ) and prevent any kind of "race coditions"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
2
2
|
|
3
|
-
Assets from this folder are being shipped with this npm package (incremental-compiler@16.5.
|
3
|
+
Assets from this folder are being shipped with this npm package (incremental-compiler@16.5.17)
|
4
4
|
created from this project.
|
5
5
|
|
6
6
|
THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
package/browser/README.md
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
# MyLib
|
2
|
-
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
4
|
-
|
5
|
-
## Code scaffolding
|
6
|
-
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
9
|
-
|
10
|
-
## Build
|
11
|
-
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
13
|
-
|
14
|
-
## Publishing
|
15
|
-
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
17
|
-
|
18
|
-
## Running unit tests
|
19
|
-
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
21
|
-
|
22
|
-
## Further help
|
23
|
-
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
1
|
+
# MyLib
|
2
|
+
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
4
|
+
|
5
|
+
## Code scaffolding
|
6
|
+
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
9
|
+
|
10
|
+
## Build
|
11
|
+
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
13
|
+
|
14
|
+
## Publishing
|
15
|
+
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
17
|
+
|
18
|
+
## Running unit tests
|
19
|
+
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
21
|
+
|
22
|
+
## Further help
|
23
|
+
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
@@ -3,4 +3,4 @@
|
|
3
3
|
;
|
4
4
|
({}); // @--end-of-file-for-module=incremental-compiler lib/models.ts
|
5
5
|
export {};
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vdG1wLWxpYnMtZm9yLWJ1bmRsZS9pbmNyZW1lbnRhbC1jb21waWxlci9wcm9qZWN0cy9pbmNyZW1lbnRhbC1jb21waWxlci9zcmMvbGliL21vZGVscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxLQUFLO0FBQ0wsS0FBSztBQStESixDQUFDO0FBQUEsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLCtEQUErRCIsInNvdXJjZXNDb250ZW50IjpbIlxuXG5cbi8qICovXG4vKiAqL1xuICBcbmlt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ICAgICogTm90aWZ5IGNvbXBpbGVyIGlmIGZpbGUgaXMgdW5saW5rZWRcbiAgICAgKiBkZWZhdWx0OiBmYWxzZVxuICAgICAqL1xuICAgIG5vdGlmeU9uRmlsZVVubGluaz86IGJvb2xlYW47XG4gICAgaWdub3JlRm9sZGVyUGF0dGVyPzogc3RyaW5nW107XG4gICAgYWxsb3dlZE9ubHlGaWxlRXh0Pzogc3RyaW5nW107XG4gICAgLyoqXG4gICAgICogdXNlZnVsIHdoZW4gdXNpbmcgKiphbGxvd2VkT25seUZpbGVFeHQqKlxuICAgICAqL1xuICAgIGFkZGl0aW9uYWxseUFsbG93ZWRGaWxlc1dpdGhOYW1lcz86IHN0cmluZ1tdO1xuICAgIGV4ZWN1dGVPdXRzaWRlU2NlbmFyaW8/OiBib29sZWFuO1xuICAgIHN1YnNjcmliZU9ubHlGb3I/OiBDb25maWdNb2RlbHMuRmlsZUV4dGVuc2lvbltdO1xuICB9XG5cblxufVxuXG4gOyh7fSk7IC8vIEAtLWVuZC1vZi1maWxlLWZvci1tb2R1bGU9aW5jcmVtZW50YWwtY29tcGlsZXIgbGliL21vZGVscy50cyJdfQ==
|
package/browser/lib/models.d.ts
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
// @ts-nocheck
|
2
2
|
import { ConfigModels } from 'tnp-config/browser';
|
3
3
|
export declare namespace Models {
|
4
|
-
interface StartAndWatchOptions {
|
5
|
-
afterInitCallBack?: () => void;
|
4
|
+
interface StartAndWatchOptions<INIT_PARAMS = any> {
|
5
|
+
afterInitCallBack?: (initalParams?: INIT_PARAMS) => void;
|
6
6
|
watchOnly?: boolean;
|
7
|
+
taskName?: string;
|
8
|
+
initalParams?: INIT_PARAMS;
|
7
9
|
}
|
10
|
+
type StartOptions<T = any> = Omit<StartAndWatchOptions<T>, 'watchOnly'>;
|
8
11
|
interface BaseClientCompilerOptions {
|
9
12
|
folderPath?: string | string[];
|
10
13
|
/**
|
package/client/README.md
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
# MyLib
|
2
|
-
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
4
|
-
|
5
|
-
## Code scaffolding
|
6
|
-
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
9
|
-
|
10
|
-
## Build
|
11
|
-
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
13
|
-
|
14
|
-
## Publishing
|
15
|
-
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
17
|
-
|
18
|
-
## Running unit tests
|
19
|
-
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
21
|
-
|
22
|
-
## Further help
|
23
|
-
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
1
|
+
# MyLib
|
2
|
+
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
4
|
+
|
5
|
+
## Code scaffolding
|
6
|
+
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
9
|
+
|
10
|
+
## Build
|
11
|
+
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
13
|
+
|
14
|
+
## Publishing
|
15
|
+
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
17
|
+
|
18
|
+
## Running unit tests
|
19
|
+
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
21
|
+
|
22
|
+
## Further help
|
23
|
+
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
@@ -3,4 +3,4 @@
|
|
3
3
|
;
|
4
4
|
({}); // @--end-of-file-for-module=incremental-compiler lib/models.ts
|
5
5
|
export {};
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vdG1wLWxpYnMtZm9yLWJ1bmRsZS9pbmNyZW1lbnRhbC1jb21waWxlci9wcm9qZWN0cy9pbmNyZW1lbnRhbC1jb21waWxlci9zcmMvbGliL21vZGVscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxLQUFLO0FBQ0wsS0FBSztBQStESixDQUFDO0FBQUEsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLCtEQUErRCIsInNvdXJjZXNDb250ZW50IjpbIlxuXG5cbi8qICovXG4vKiAqL1xuICBcbmltcG9ydCB7IENvbmZpZ01vZGVscyB9IGZyb20gJ3RucC1jb25maWcvYnJvd3Nlcic7XG5cbmV4cG9ydCBuYW1lc3BhY2UgTW9kZWxzIHtcblxuXG5cblxuXG5cblxuXG5cblxuXG5cblxuXG5cblxuICBleHBvcnQgaW50ZXJmYWNlIFN0YXJ0QW5kV2F0Y2hPcHRpb25zPElOSVRfUEFSQU1TID0gYW55PiB7XG4gICAgYWZ0ZXJJbml0Q2FsbEJhY2s/OiAoaW5pdGFsUGFyYW1zPzogSU5JVF9QQVJBTVMpID0+IHZvaWQ7XG4gICAgd2F0Y2hPbmx5PzogYm9vbGVhbjtcbiAgICB0YXNrTmFtZT86IHN0cmluZ1xuICAgIGluaXRhbFBhcmFtcz86IElOSVRfUEFSQU1TO1xuICB9XG4gIGV4cG9ydCB0eXBlIFN0YXJ0T3B0aW9u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I/OiBDb25maWdNb2RlbHMuRmlsZUV4dGVuc2lvbltdO1xuICB9XG5cblxufVxuXG4gOyh7fSk7IC8vIEAtLWVuZC1vZi1maWxlLWZvci1tb2R1bGU9aW5jcmVtZW50YWwtY29tcGlsZXIgbGliL21vZGVscy50cyJdfQ==
|
package/client/lib/models.d.ts
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
// @ts-nocheck
|
2
2
|
import { ConfigModels } from 'tnp-config/browser';
|
3
3
|
export declare namespace Models {
|
4
|
-
interface StartAndWatchOptions {
|
5
|
-
afterInitCallBack?: () => void;
|
4
|
+
interface StartAndWatchOptions<INIT_PARAMS = any> {
|
5
|
+
afterInitCallBack?: (initalParams?: INIT_PARAMS) => void;
|
6
6
|
watchOnly?: boolean;
|
7
|
+
taskName?: string;
|
8
|
+
initalParams?: INIT_PARAMS;
|
7
9
|
}
|
10
|
+
type StartOptions<T = any> = Omit<StartAndWatchOptions<T>, 'watchOnly'>;
|
8
11
|
interface BaseClientCompilerOptions {
|
9
12
|
folderPath?: string | string[];
|
10
13
|
/**
|
package/client/package.json
CHANGED
@@ -47,7 +47,7 @@
|
|
47
47
|
]
|
48
48
|
},
|
49
49
|
"name": "incremental-compiler",
|
50
|
-
"version": "16.5.
|
50
|
+
"version": "16.5.17",
|
51
51
|
"license": "MIT",
|
52
52
|
"dependencies": {
|
53
53
|
"@parcel/watcher": "2.3.0",
|
@@ -59,11 +59,11 @@
|
|
59
59
|
"dateformat": "3.0.3",
|
60
60
|
"fs-extra": "8.1.0",
|
61
61
|
"glob": "7.1.2",
|
62
|
-
"tnp-helpers": "~16.5.
|
63
|
-
"typescript-class-helpers": "~16.5.
|
62
|
+
"tnp-helpers": "~16.5.8",
|
63
|
+
"typescript-class-helpers": "~16.5.8"
|
64
64
|
},
|
65
65
|
"private": false,
|
66
|
-
"lastBuildTagHash": "
|
66
|
+
"lastBuildTagHash": "f6750db82315fbb0dd346aa894cc43e3890533b1",
|
67
67
|
"devDependencies": {
|
68
68
|
"@angular-devkit/build-angular": "~16.0.5",
|
69
69
|
"@angular-devkit/core": "~16.0.5",
|
@@ -140,9 +140,9 @@
|
|
140
140
|
"angular-material-css-vars": "5.0.2",
|
141
141
|
"angular-resize-event": "3.2.0",
|
142
142
|
"animate.css": "4.1.1 ",
|
143
|
-
"any-project-cli": "~16.5.
|
143
|
+
"any-project-cli": "~16.5.6",
|
144
144
|
"axios": "1.3.5",
|
145
|
-
"background-worker-process": "~16.5.
|
145
|
+
"background-worker-process": "~16.5.6",
|
146
146
|
"base32": "0.0.7",
|
147
147
|
"bcryptjs": "2.4.3",
|
148
148
|
"better-sqlite3": "7.6.2",
|
@@ -187,13 +187,13 @@
|
|
187
187
|
"file-saver": "2.0.5",
|
188
188
|
"file-type": "18.5.0",
|
189
189
|
"firedev": "^16",
|
190
|
-
"firedev-crud": "~16.5.
|
191
|
-
"firedev-crud-deamon": "~16.5.
|
192
|
-
"firedev-ports": "~16.5.
|
193
|
-
"firedev-storage": "~16.5.
|
194
|
-
"firedev-type-sql": "~16.5.
|
195
|
-
"firedev-typeorm": "~16.5.
|
196
|
-
"firedev-ui": "~16.5.
|
190
|
+
"firedev-crud": "~16.5.7",
|
191
|
+
"firedev-crud-deamon": "~16.5.6",
|
192
|
+
"firedev-ports": "~16.5.6",
|
193
|
+
"firedev-storage": "~16.5.6",
|
194
|
+
"firedev-type-sql": "~16.5.6",
|
195
|
+
"firedev-typeorm": "~16.5.7",
|
196
|
+
"firedev-ui": "~16.5.6",
|
197
197
|
"fkill": "6.1.0",
|
198
198
|
"font-awesome": "4.7.0",
|
199
199
|
"form-data": "4.0.0",
|
@@ -208,11 +208,11 @@
|
|
208
208
|
"image-focus": "1.2.1",
|
209
209
|
"immer": "10.0.2",
|
210
210
|
"immutable": "4.3.0",
|
211
|
-
"incremental-compiler": "~16.5.
|
211
|
+
"incremental-compiler": "~16.5.16",
|
212
212
|
"inquirer": "7.3.3",
|
213
213
|
"inquirer-autocomplete-prompt": "1.3.0",
|
214
214
|
"is-elevated": "3.0.0",
|
215
|
-
"isomorphic-region-loader": "~16.5.
|
215
|
+
"isomorphic-region-loader": "~16.5.6",
|
216
216
|
"istanbul-instrumenter-loader": "2.0.0",
|
217
217
|
"jest": "29.5.0",
|
218
218
|
"jest-date-mock": "1.0.8",
|
@@ -223,8 +223,8 @@
|
|
223
223
|
"joi": "17.9.2",
|
224
224
|
"jscodeshift": "0.6.3",
|
225
225
|
"json-stringify-safe": "5.0.1",
|
226
|
-
"json10": "~16.5.
|
227
|
-
"json10-writer": "~16.5.
|
226
|
+
"json10": "~16.5.6",
|
227
|
+
"json10-writer": "~16.5.7",
|
228
228
|
"json5": "2.2.1",
|
229
229
|
"json5-writer": "0.2.0",
|
230
230
|
"jszip": "3.10.1",
|
@@ -233,23 +233,23 @@
|
|
233
233
|
"localforage": "1.10.0",
|
234
234
|
"lockfile": "1.0.4",
|
235
235
|
"lodash": "4.17.20",
|
236
|
-
"lodash-walk-object": "~16.5.
|
236
|
+
"lodash-walk-object": "~16.5.6",
|
237
237
|
"lowdb": "1.0.0",
|
238
|
-
"magic-renamer": "~16.5.
|
238
|
+
"magic-renamer": "~16.5.6",
|
239
239
|
"material-design-icons": "3.0.1",
|
240
240
|
"method-override": "2.3.10",
|
241
241
|
"minimist": "1.2.0",
|
242
242
|
"mkdirp": "0.5.1",
|
243
243
|
"mocha": "10.2.0",
|
244
244
|
"moment": "2.29.3",
|
245
|
-
"morphi": "~16.5.
|
245
|
+
"morphi": "~16.5.6",
|
246
246
|
"ng-for-track-by-property": "16.0.1",
|
247
247
|
"ng-in-viewport": "15.0.2",
|
248
248
|
"ng-lock": "16.0.1",
|
249
249
|
"ng-packagr": "16.0.1",
|
250
|
-
"ng-talkback": "~16.5.
|
251
|
-
"ng2-logger": "~16.5.
|
252
|
-
"ng2-rest": "~16.5.
|
250
|
+
"ng-talkback": "~16.5.6",
|
251
|
+
"ng2-logger": "~16.5.9",
|
252
|
+
"ng2-rest": "~16.5.6",
|
253
253
|
"ngx-ace-wrapper": "14.0.0",
|
254
254
|
"ngx-editor": "15.3.0",
|
255
255
|
"ngx-highlightjs": "9.0.0",
|
@@ -262,7 +262,7 @@
|
|
262
262
|
"ngx-scrolltop": "6.0.0",
|
263
263
|
"ngx-store": "3.1.1",
|
264
264
|
"ngx-typed-js": "2.1.1",
|
265
|
-
"node-cli-tester": "~16.5.
|
265
|
+
"node-cli-tester": "~16.5.6",
|
266
266
|
"node-localstorage": "2.1.6",
|
267
267
|
"node-notifier": "6.0.0",
|
268
268
|
"node-polyfill-webpack-plugin": "2.0.1",
|
@@ -289,7 +289,7 @@
|
|
289
289
|
"q": "1.5.1",
|
290
290
|
"rallax.js": "2.0.4",
|
291
291
|
"randomcolor": "0.5.3",
|
292
|
-
"record-replay-req-res-scenario": "~16.5.
|
292
|
+
"record-replay-req-res-scenario": "~16.5.6",
|
293
293
|
"reflect-metadata": "0.1.10",
|
294
294
|
"rimraf": "2.6.2",
|
295
295
|
"rxjs": "~7.8.0",
|
@@ -300,7 +300,7 @@
|
|
300
300
|
"socket.io": "2.4.1",
|
301
301
|
"sort-package-json": "1.11.0",
|
302
302
|
"sql.js": "1.8.0",
|
303
|
-
"static-columns": "~16.5.
|
303
|
+
"static-columns": "~16.5.7",
|
304
304
|
"string-similarity": "4.0.2",
|
305
305
|
"sudo-block": "3.0.0",
|
306
306
|
"supertest": "6.3.3",
|
@@ -308,11 +308,11 @@
|
|
308
308
|
"systeminformation": "3.45.7",
|
309
309
|
"task.js": "0.1.5",
|
310
310
|
"threads": "1.7.0",
|
311
|
-
"tnp-cli": "~16.5.
|
312
|
-
"tnp-config": "~16.5.
|
313
|
-
"tnp-core": "~16.5.
|
314
|
-
"tnp-db": "~16.5.
|
315
|
-
"tnp-models": "~16.5.
|
311
|
+
"tnp-cli": "~16.5.6",
|
312
|
+
"tnp-config": "~16.5.8",
|
313
|
+
"tnp-core": "~16.5.13",
|
314
|
+
"tnp-db": "~16.5.6",
|
315
|
+
"tnp-models": "~16.5.7",
|
316
316
|
"ts-debug": "1.3.0",
|
317
317
|
"ts-loader": "2.3.1",
|
318
318
|
"ts-node": "10.9.1",
|
@@ -326,7 +326,7 @@
|
|
326
326
|
"uuid": "8.3.2",
|
327
327
|
"validator": "9.2.0",
|
328
328
|
"video.js": "8.3.0",
|
329
|
-
"vpn-split": "~16.5.
|
329
|
+
"vpn-split": "~16.5.7",
|
330
330
|
"watch": "1.0.2",
|
331
331
|
"yup": "1.1.1",
|
332
332
|
"zone.js": "~0.13.0"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeOfFile } from './change-of-file.backend';
|
2
2
|
import { Models } from './models';
|
3
3
|
import { ConfigModels } from 'tnp-config';
|
4
|
-
export declare class BaseClientCompiler<
|
4
|
+
export declare class BaseClientCompiler<INITAL_PARAMS = any> implements Models.BaseClientCompilerOptions {
|
5
5
|
readonly followSymlinks: boolean;
|
6
6
|
readonly subscribeOnlyFor: ConfigModels.FileExtension[];
|
7
7
|
readonly executeOutsideScenario: boolean;
|
@@ -28,22 +28,23 @@ export declare class BaseClientCompiler<RES_ASYNC = any, RES_SYNC = any, ADDITIO
|
|
28
28
|
* manually init options (when no passing object to constructor super() )
|
29
29
|
*/
|
30
30
|
protected initOptions(options?: Models.BaseClientCompilerOptions): void;
|
31
|
+
protected onlySingleRun: boolean;
|
31
32
|
/**
|
32
33
|
* Do not override this
|
33
34
|
*/
|
34
|
-
start(
|
35
|
+
start(options?: Models.StartOptions<INITAL_PARAMS>): Promise<BaseClientCompiler<INITAL_PARAMS>>;
|
35
36
|
/**
|
36
37
|
* Do not override this
|
37
38
|
*/
|
38
|
-
startAndWatch(
|
39
|
+
startAndWatch(options?: Models.StartAndWatchOptions<INITAL_PARAMS>): Promise<BaseClientCompiler<INITAL_PARAMS>>;
|
39
40
|
/**
|
40
41
|
*
|
41
42
|
* @param absolteFilesPathes for each watched file
|
42
43
|
* @returns
|
43
44
|
*/
|
44
|
-
syncAction(absolteFilesPathes?: string[]): Promise<
|
45
|
-
preAsyncAction(): Promise<void>;
|
46
|
-
asyncAction(asyncEvents: ChangeOfFile,
|
45
|
+
syncAction(absolteFilesPathes?: string[], initalParams?: INITAL_PARAMS): Promise<void>;
|
46
|
+
preAsyncAction(initalParams?: INITAL_PARAMS): Promise<void>;
|
47
|
+
asyncAction(asyncEvents: ChangeOfFile, initalParams?: INITAL_PARAMS): Promise<void>;
|
47
48
|
watchOptions: {
|
48
49
|
allowedExt?: string[];
|
49
50
|
addionalAllowed: string[];
|
@@ -23,6 +23,8 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
23
23
|
this.lastAsyncFiles = [];
|
24
24
|
this._folderPathContentCheck = [];
|
25
25
|
//#endregion
|
26
|
+
this.onlySingleRun = true;
|
27
|
+
//#endregion
|
26
28
|
//#endregion
|
27
29
|
//#region private methods
|
28
30
|
this.watchOptions = {};
|
@@ -108,17 +110,18 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
108
110
|
this.initedWithOptions = true;
|
109
111
|
this._init(options);
|
110
112
|
};
|
111
|
-
//#endregion
|
112
113
|
//#region api methods / start
|
113
114
|
/**
|
114
115
|
* Do not override this
|
115
116
|
*/
|
116
|
-
BaseClientCompiler.prototype.start = function (
|
117
|
+
BaseClientCompiler.prototype.start = function (options) {
|
117
118
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
119
|
+
var _a, taskName, afterInitCallBack, initalParams;
|
118
120
|
var _this = this;
|
119
|
-
return tslib_1.__generator(this, function (
|
120
|
-
switch (
|
121
|
+
return tslib_1.__generator(this, function (_b) {
|
122
|
+
switch (_b.label) {
|
121
123
|
case 0:
|
124
|
+
_a = options || {}, taskName = _a.taskName, afterInitCallBack = _a.afterInitCallBack, initalParams = _a.initalParams;
|
122
125
|
compiler_manager_backend_1.CompilerManager.Instance.addClient(this);
|
123
126
|
if (!this.initedWithOptions) {
|
124
127
|
tnp_core_2.Helpers.error("[BaseClientCompiler] Please init client class intance with options", false, true);
|
@@ -129,7 +132,7 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
129
132
|
return [4 /*yield*/, this.compilationWrapper(function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
130
133
|
return tslib_1.__generator(this, function (_a) {
|
131
134
|
switch (_a.label) {
|
132
|
-
case 0: return [4 /*yield*/, compiler_manager_backend_1.CompilerManager.Instance.syncInit(this)];
|
135
|
+
case 0: return [4 /*yield*/, compiler_manager_backend_1.CompilerManager.Instance.syncInit(this, initalParams)];
|
133
136
|
case 1:
|
134
137
|
_a.sent();
|
135
138
|
return [2 /*return*/];
|
@@ -137,12 +140,12 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
137
140
|
});
|
138
141
|
}); }, "".concat(tnp_cli_1.CLI.chalk.green('sync action'), " for ").concat(taskName), 'Event:')];
|
139
142
|
case 1:
|
140
|
-
|
143
|
+
_b.sent();
|
141
144
|
if (!tnp_core_1._.isFunction(afterInitCallBack)) return [3 /*break*/, 3];
|
142
|
-
return [4 /*yield*/, tnp_core_2.Helpers.runSyncOrAsync(afterInitCallBack)];
|
145
|
+
return [4 /*yield*/, tnp_core_2.Helpers.runSyncOrAsync({ functionFn: afterInitCallBack, arrayOfParams: [initalParams] })];
|
143
146
|
case 2:
|
144
|
-
|
145
|
-
|
147
|
+
_b.sent();
|
148
|
+
_b.label = 3;
|
146
149
|
case 3: return [2 /*return*/, this];
|
147
150
|
}
|
148
151
|
});
|
@@ -153,17 +156,18 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
153
156
|
/**
|
154
157
|
* Do not override this
|
155
158
|
*/
|
156
|
-
BaseClientCompiler.prototype.startAndWatch = function (
|
159
|
+
BaseClientCompiler.prototype.startAndWatch = function (options) {
|
157
160
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
158
|
-
var _a, watchOnly,
|
161
|
+
var _a, taskName, watchOnly, initalParams;
|
159
162
|
var _this = this;
|
160
163
|
return tslib_1.__generator(this, function (_b) {
|
161
164
|
switch (_b.label) {
|
162
165
|
case 0:
|
166
|
+
_a = options || {}, taskName = _a.taskName, watchOnly = _a.watchOnly, initalParams = _a.initalParams;
|
167
|
+
this.onlySingleRun = false;
|
163
168
|
if (!this.initedWithOptions) {
|
164
169
|
tnp_core_2.Helpers.error("[BaseClientCompiler] Please init client class intance with options", false, true);
|
165
170
|
}
|
166
|
-
_a = options || {}, watchOnly = _a.watchOnly, afterInitCallBack = _a.afterInitCallBack;
|
167
171
|
taskName = this.fixTaskName(taskName);
|
168
172
|
// @ts-ignore
|
169
173
|
this.taskName = taskName;
|
@@ -171,7 +175,7 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
171
175
|
if (!watchOnly) return [3 /*break*/, 1];
|
172
176
|
console.log(tnp_cli_1.CLI.chalk.gray("[incremental-compiler] Watch mode only for \"".concat(taskName, "\"")));
|
173
177
|
return [3 /*break*/, 3];
|
174
|
-
case 1: return [4 /*yield*/, this.start(
|
178
|
+
case 1: return [4 /*yield*/, this.start(options)];
|
175
179
|
case 2:
|
176
180
|
_b.sent();
|
177
181
|
_b.label = 3;
|
@@ -180,7 +184,7 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
180
184
|
return [4 /*yield*/, this.compilationWrapper(function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
181
185
|
return tslib_1.__generator(this, function (_a) {
|
182
186
|
switch (_a.label) {
|
183
|
-
case 0: return [4 /*yield*/, this.preAsyncAction()];
|
187
|
+
case 0: return [4 /*yield*/, this.preAsyncAction((initalParams || {}))];
|
184
188
|
case 1:
|
185
189
|
_a.sent();
|
186
190
|
return [2 /*return*/];
|
@@ -190,13 +194,13 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
190
194
|
case 4:
|
191
195
|
_b.sent();
|
192
196
|
_b.label = 5;
|
193
|
-
case 5: return [4 /*yield*/, compiler_manager_backend_1.CompilerManager.Instance.asyncInit(this)];
|
197
|
+
case 5: return [4 /*yield*/, compiler_manager_backend_1.CompilerManager.Instance.asyncInit(this, initalParams || {})];
|
194
198
|
case 6:
|
195
199
|
_b.sent();
|
196
200
|
return [3 /*break*/, 9];
|
197
201
|
case 7:
|
198
202
|
tnp_core_2.Helpers.log("No action for task: ".concat(taskName, ".. starting task"));
|
199
|
-
return [4 /*yield*/, this.start(
|
203
|
+
return [4 /*yield*/, this.start(options)];
|
200
204
|
case 8:
|
201
205
|
_b.sent();
|
202
206
|
_b.label = 9;
|
@@ -212,19 +216,19 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
212
216
|
* @param absolteFilesPathes for each watched file
|
213
217
|
* @returns
|
214
218
|
*/
|
215
|
-
BaseClientCompiler.prototype.syncAction = function (absolteFilesPathes) {
|
219
|
+
BaseClientCompiler.prototype.syncAction = function (absolteFilesPathes, initalParams) {
|
216
220
|
return void 0;
|
217
221
|
};
|
218
222
|
//#endregion
|
219
223
|
//#region api methods / pre async action
|
220
|
-
BaseClientCompiler.prototype.preAsyncAction = function () {
|
224
|
+
BaseClientCompiler.prototype.preAsyncAction = function (initalParams) {
|
221
225
|
return tslib_1.__awaiter(this, void 0, void 0, function () { return tslib_1.__generator(this, function (_a) {
|
222
226
|
return [2 /*return*/];
|
223
227
|
}); });
|
224
228
|
};
|
225
229
|
//#endregion
|
226
230
|
//#region api methods / async action
|
227
|
-
BaseClientCompiler.prototype.asyncAction = function (asyncEvents,
|
231
|
+
BaseClientCompiler.prototype.asyncAction = function (asyncEvents, initalParams) {
|
228
232
|
return void 0;
|
229
233
|
};
|
230
234
|
//#region private methods / _init
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base-client-compiler.backend.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;;AAAA,iBAAiB;AACjB,qCAA2D;AAC3D,qEAAiD;AAEjD,uEAA6D;AAC7D,qDAAmD;AAEnD,qCAAmC;AACnC,mCAA8B;AAE9B,YAAY;AAEZ;IA+DE,YAAY;IAEZ,YAAY;IAEZ,qBAAqB;IACrB,4BAAY,OAA0C;QA/DtC,qBAAgB,GAAiC,EAAE,CAAA;QAQ5D,u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,CAAC,QAAQ,CAAC,EAAE;YACzB,QAAQ,GAAG,2BAAmB,gCAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAG,CAAC;SAChE;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,YAAY;IAEZ,yCAAY,GAAZ;QACE,IAAM,OAAO,GAAa,EAAE,CAAC;QAC7B,8BAA8B;QAC9B,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,UAAA,CAAC;YACd,4CAA4C;YAC5C,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,UAAA,EAAE;gBACrB,wBAAwB;gBACxB,IAAI,YAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE;oBAC3C,IAAM,MAAM,GAAG,IAAA,gCAAc,EAAC,EAAE,CAAC,CAAC;oBAClC,OAAO,CAAC,IAAI,OAAZ,OAAO,2CAAS,MAAM,WAAE;iBACzB;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QACH,OAAO,YAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAIH,yBAAC;AAAD,CAAC,AA3RD,IA2RC;AA3RY,gDAAkB"}
|
@@ -7,8 +7,8 @@ export declare class ChangeOfFile {
|
|
7
7
|
private readonly _clientsForChange;
|
8
8
|
readonly datetime: Date;
|
9
9
|
constructor(clientsForChange?: BaseClientCompiler[], fileAbsolutePath?: string, eventName?: 'add' | 'change' | 'unlink' | 'unlinkDir');
|
10
|
-
get clientsForChange(): BaseClientCompiler<any
|
11
|
-
get clientsForChangeFilterExt(): BaseClientCompiler<any
|
10
|
+
get clientsForChange(): BaseClientCompiler<any>[];
|
11
|
+
get clientsForChangeFilterExt(): BaseClientCompiler<any>[];
|
12
12
|
get fileExt(): ConfigModels.FileExtension;
|
13
13
|
clientsBy<T = BaseClientCompiler>(clientNameOrClass: string | Function, condition?: (c: T) => boolean): T[];
|
14
14
|
}
|
@@ -10,13 +10,13 @@ export declare class CompilerManager {
|
|
10
10
|
private inited;
|
11
11
|
private filesContentCache;
|
12
12
|
get allClients(): {
|
13
|
-
get<T = BaseClientCompiler<any
|
13
|
+
get<T = BaseClientCompiler<any>>(clientNameOrClass: string | Function, condition: (c: T) => boolean): BaseClientCompiler<any>[] | T[];
|
14
14
|
};
|
15
15
|
private constructor();
|
16
|
-
syncInit(client: BaseClientCompiler): Promise<void>;
|
17
|
-
asyncInit(client: BaseClientCompiler): Promise<void>;
|
16
|
+
syncInit(client: BaseClientCompiler<any>, initalParams: any): Promise<void>;
|
17
|
+
asyncInit(client: BaseClientCompiler<any>, initialParams: any): Promise<void>;
|
18
18
|
private actionForAsyncEvent;
|
19
|
-
addClient(client: BaseClientCompiler): void;
|
19
|
+
addClient(client: BaseClientCompiler<any>): void;
|
20
20
|
/**
|
21
21
|
* @deprecated
|
22
22
|
*/
|