incremental-compiler 19.0.68 → 19.0.70
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/README.md +24 -24
- package/browser/fesm2022/incremental-compiler.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +3 -3
- package/lib/build-info._auto-generated_.js +3 -3
- package/lib/build-info._auto-generated_.js.map +1 -1
- package/lib/constants.js.map +1 -1
- package/package.json +1 -2
- package/tmp-environment.json +8 -14
- package/websql/README.md +24 -24
- package/websql/fesm2022/incremental-compiler.mjs.map +1 -1
- package/websql/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
# INCREMENTAL COMPILER
|
|
2
|
-
|
|
3
|
-
A library for any kind of incremental compilers and file watchers, based on @parcel/watcher and chokidar.
|
|
4
|
-
|
|
5
|
-
## API
|
|
6
|
-
|
|
7
|
-
1. Incremental Compiler class **"IncCompiler"**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
```ts
|
|
11
|
-
import { BaseClientCompiler, BaseClientCompilerOptions } from 'incremental-compiler/src';
|
|
12
|
-
|
|
13
|
-
export abstract class BaseCompilerForProject<
|
|
14
|
-
ADDITIONAL_DATA = any,
|
|
15
|
-
PROJECT extends BaseProject = BaseProject,
|
|
16
|
-
> extends BaseClientCompiler<ADDITIONAL_DATA> {
|
|
17
|
-
|
|
18
|
-
constructor(
|
|
19
|
-
public project: PROJECT,
|
|
20
|
-
options: BaseClientCompilerOptions,
|
|
21
|
-
) {
|
|
22
|
-
super();
|
|
23
|
-
this.initOptions(options);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
```
|
|
27
|
-
2. Incremental watcher object **"incrementalWatcher"**
|
|
28
|
-
|
|
29
|
-
```ts
|
|
30
|
-
import { incrementalWatcher } from 'incremental-compiler/src';
|
|
31
|
-
const watcher = await incrementalWatcher(
|
|
32
|
-
[
|
|
33
|
-
this.project.pathFor(`environments/**/*.ts`),
|
|
34
|
-
this.project.pathFor(`env.ts`),
|
|
35
|
-
],
|
|
36
|
-
{
|
|
37
|
-
name: 'Environment Config Watcher',
|
|
38
|
-
ignoreInitial: true,
|
|
39
|
-
followSymlinks: false,
|
|
40
|
-
},
|
|
41
|
-
);
|
|
42
|
-
watcher.on('all', async (event, filePath) => {
|
|
43
|
-
onChange();
|
|
44
|
-
});
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Folders ALWAYS ignored
|
|
48
|
-
|
|
49
|
-
- node_modules/
|
|
50
|
-
- .git/
|
|
1
|
+
# INCREMENTAL COMPILER
|
|
2
|
+
|
|
3
|
+
A library for any kind of incremental compilers and file watchers, based on @parcel/watcher and chokidar.
|
|
4
|
+
|
|
5
|
+
## API
|
|
6
|
+
|
|
7
|
+
1. Incremental Compiler class **"IncCompiler"**
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
import { BaseClientCompiler, BaseClientCompilerOptions } from 'incremental-compiler/src';
|
|
12
|
+
|
|
13
|
+
export abstract class BaseCompilerForProject<
|
|
14
|
+
ADDITIONAL_DATA = any,
|
|
15
|
+
PROJECT extends BaseProject = BaseProject,
|
|
16
|
+
> extends BaseClientCompiler<ADDITIONAL_DATA> {
|
|
17
|
+
|
|
18
|
+
constructor(
|
|
19
|
+
public project: PROJECT,
|
|
20
|
+
options: BaseClientCompilerOptions,
|
|
21
|
+
) {
|
|
22
|
+
super();
|
|
23
|
+
this.initOptions(options);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
2. Incremental watcher object **"incrementalWatcher"**
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import { incrementalWatcher } from 'incremental-compiler/src';
|
|
31
|
+
const watcher = await incrementalWatcher(
|
|
32
|
+
[
|
|
33
|
+
this.project.pathFor(`environments/**/*.ts`),
|
|
34
|
+
this.project.pathFor(`env.ts`),
|
|
35
|
+
],
|
|
36
|
+
{
|
|
37
|
+
name: 'Environment Config Watcher',
|
|
38
|
+
ignoreInitial: true,
|
|
39
|
+
followSymlinks: false,
|
|
40
|
+
},
|
|
41
|
+
);
|
|
42
|
+
watcher.on('all', async (event, filePath) => {
|
|
43
|
+
onChange();
|
|
44
|
+
});
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Folders ALWAYS ignored
|
|
48
|
+
|
|
49
|
+
- node_modules/
|
|
50
|
+
- .git/
|
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.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incremental-compiler.mjs","sources":["../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/lib/constants.ts","../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/lib/incremental-watcher.ts","../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/lib/base-client-compiler.ts","../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/lib/index.ts","../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/incremental-compiler.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"incremental-compiler.mjs","sources":["../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/lib/constants.ts","../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/lib/incremental-watcher.ts","../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/lib/base-client-compiler.ts","../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/lib/index.ts","../../../tmp-libs-for-dist/incremental-compiler/projects/incremental-compiler/src/incremental-compiler.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, Helpers } from 'tnp-core/browser';\nimport { chokidar } from 'tnp-core/browser';\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}\n","//#region imports\n/* */ \nimport { path, _, crossPlatformPath, UtilsMessages } from 'tnp-core/browser';\nimport { Helpers } from 'tnp-core/browser';\nimport { CLI } from 'tnp-core/browser';\nimport { CoreModels } from 'tnp-core/browser';\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.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 (!_.isString(taskName)) {\n taskName = `task \"${this.taskName}\"`;\n }\n return taskName;\n }\n //#endregion\n\n //#endregion\n}\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":";;AAEa,MAAA,iBAAiB,GAAG;IAC/B,wBAAwB;IACxB,iBAAiB;IACjB,gBAAgB;IAChB,SAAS;;;ACCX;AAEgB,SAAA,kBAAkB,CAChC,gCAA0C,EAC1C,YAAuC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BvC,IAAA,QAAQ,KAAK,CAAC;AAChB;;ACxCA;AACA;AAcA;MAEa,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;QAMkB,IAAgB,CAAA,gBAAA,GAA+B,EAAE;QAUvD,IAAa,CAAA,aAAA,GAAG,IAAI;QAItB,IAAW,CAAA,WAAA,GAAY,KAAK;QAE5B,IAAmB,CAAA,mBAAA,GAAY,KAAK;QAEpC,IAAY,CAAA,YAAA,GAAa,EAAE;QAE5B,IAAc,CAAA,cAAA,GAAa,EAAE;QAEpB,IAAkB,CAAA,kBAAA,GAAY,KAAK;QAEnC,IAAsB,CAAA,sBAAA,GAAa,EAAE;;;;IAErD,IAAW,UAAU,CAAC,CAAC,EAAA;;;;;;;AASvB,IAAA,IAAW,UAAU,GAAA;;;;;;;;;;;;;;;;;;AAkBnB,QAAA,QAAQ,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;AA0BhB;;AAEG;AACO,IAAA,WAAW,CAAC,OAAmC,EAAA;;;;;;;;;;;;;;;;AAgBvD,QAAA,QAAQ,KAAK,CAAC;;;;AAKhB;;AAEG;IACH,MAAM,OAAO,CACX,OAAoE,EAAA;;;;;;;;;;AAWpE,QAAA,QAAQ,KAAK,CAAC;;;;AAKhB;;;AAGG;IACI,MAAM,KAAK,CAChB,OAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCtC,QAAA,QAAQ,KAAK,CAAC;;;;AAKhB;;;AAGG;IACI,MAAM,aAAa,CACxB,OAA8C,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyC9C,QAAA,QAAQ,KAAK,CAAC;;;;AAKhB;;;;AAIG;IACI,UAAU,CACf,kBAA6B,EAC7B,aAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC;;;;AAKR,IAAA,MAAM,cAAc,CAAC,aAA8B;;;IAInD,WAAW,CAChB,WAAyB,EACzB,aAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC;;;;IAKR,6BAA6B,GAAA;;;;;;;;;;;;;;;;AAgBlC,QAAA,QAAQ,KAAK,CAAC;;;;;AAOR,IAAA,mBAAmB,CAAC,OAAmC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqC7D,QAAA,QAAQ,KAAK,CAAC;;;;AAKR,IAAA,WAAW,CAAC,QAAgB,EAAA;QAClC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;AACzB,YAAA,QAAQ,GAAG,CAAS,MAAA,EAAA,IAAI,CAAC,QAAQ,GAAG;;AAEtC,QAAA,OAAO,QAAQ;;AAKlB;;AChVD;;ACJA;;AAEG;;;;"}
|
package/browser/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autogenerated by current cli tool
|
|
3
3
|
*/
|
|
4
|
-
export declare const BUILD_FRAMEWORK_CLI_NAME = "
|
|
4
|
+
export declare const BUILD_FRAMEWORK_CLI_NAME = "taon";
|
|
5
5
|
/**
|
|
6
6
|
* This value can be change in taon.jsonc (appId)
|
|
7
7
|
*/
|
|
@@ -15,6 +15,6 @@ export declare const BUILD_BASE_HREF = "";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const PROJECT_NPM_NAME = "incremental-compiler";
|
|
17
17
|
/**
|
|
18
|
-
* Autogenerated by current cli tool. Use *
|
|
18
|
+
* Autogenerated by current cli tool. Use *taon release* to bump version.
|
|
19
19
|
*/
|
|
20
|
-
export declare const CURRENT_PACKAGE_VERSION = "19.0.
|
|
20
|
+
export declare const CURRENT_PACKAGE_VERSION = "19.0.70";
|
|
@@ -5,7 +5,7 @@ exports.CURRENT_PACKAGE_VERSION = exports.PROJECT_NPM_NAME = exports.BUILD_BASE_
|
|
|
5
5
|
/**
|
|
6
6
|
* Autogenerated by current cli tool
|
|
7
7
|
*/
|
|
8
|
-
exports.BUILD_FRAMEWORK_CLI_NAME = '
|
|
8
|
+
exports.BUILD_FRAMEWORK_CLI_NAME = 'taon';
|
|
9
9
|
/**
|
|
10
10
|
* This value can be change in taon.jsonc (appId)
|
|
11
11
|
*/
|
|
@@ -19,8 +19,8 @@ exports.BUILD_BASE_HREF = '';
|
|
|
19
19
|
*/
|
|
20
20
|
exports.PROJECT_NPM_NAME = 'incremental-compiler';
|
|
21
21
|
/**
|
|
22
|
-
* Autogenerated by current cli tool. Use *
|
|
22
|
+
* Autogenerated by current cli tool. Use *taon release* to bump version.
|
|
23
23
|
*/
|
|
24
|
-
exports.CURRENT_PACKAGE_VERSION = '19.0.
|
|
24
|
+
exports.CURRENT_PACKAGE_VERSION = '19.0.70';
|
|
25
25
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
26
26
|
//# sourceMappingURL=build-info._auto-generated_.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-info._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,yCAAyC;AACzC;;GAEG;AACU,QAAA,wBAAwB,GAAG,
|
|
1
|
+
{"version":3,"file":"build-info._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,yCAAyC;AACzC;;GAEG;AACU,QAAA,wBAAwB,GAAG,MAAM,CAAC;AAC/C;;GAEG;AACU,QAAA,MAAM,GAAG,yCAAyC,CAAC;AAChE;;GAEG;AACU,QAAA,eAAe,GAAG,EAAE,CAAC;AAClC;;GAEG;AACU,QAAA,gBAAgB,GAAG,sBAAsB,CAAC;AACvD;;GAEG;AACU,QAAA,uBAAuB,GAAG,SAAS,CAAC;AACjD,yCAAyC"}
|
package/lib/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAG;IAC/B,wBAAwB;IACxB,iBAAiB;IACjB,gBAAgB;IAChB,SAAS;CACV,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "incremental-compiler",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.70",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"taon init": "taon init",
|
|
6
6
|
"taon start": "taon start",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"@types/glob": "^5.0.35",
|
|
28
28
|
"glob": "^7.1.2",
|
|
29
29
|
"fs-extra": "~10.1.0",
|
|
30
|
-
"@types/fs-extra": "~11.3.2",
|
|
31
30
|
"chokidar": "3.5.3",
|
|
32
31
|
"dateformat": "^3.0.3",
|
|
33
32
|
"@types/dateformat": "^1.0.1",
|
package/tmp-environment.json
CHANGED
|
@@ -6,11 +6,14 @@
|
|
|
6
6
|
"paths": {},
|
|
7
7
|
"config": {},
|
|
8
8
|
"container": {},
|
|
9
|
-
"ports": {
|
|
9
|
+
"ports": {
|
|
10
|
+
"ngNormalAppPort": 4235,
|
|
11
|
+
"ngWebsqlAppPort": 4236,
|
|
12
|
+
"nodeBeAppPort": 4115
|
|
13
|
+
},
|
|
10
14
|
"init": {},
|
|
11
15
|
"build": {
|
|
12
|
-
"pwa": {}
|
|
13
|
-
"watch": false
|
|
16
|
+
"pwa": {}
|
|
14
17
|
},
|
|
15
18
|
"loading": {
|
|
16
19
|
"preAngularBootstrap": {},
|
|
@@ -18,19 +21,10 @@
|
|
|
18
21
|
},
|
|
19
22
|
"release": {
|
|
20
23
|
"cli": {},
|
|
21
|
-
"lib": {}
|
|
22
|
-
"autoReleaseUsingConfig": true,
|
|
23
|
-
"releaseVersionBumpType": "patch",
|
|
24
|
-
"releaseType": "manual",
|
|
25
|
-
"targetArtifact": "npm-lib-and-cli-tool",
|
|
26
|
-
"envName": "__",
|
|
27
|
-
"resolvedNewVersion": "19.0.15"
|
|
24
|
+
"lib": {}
|
|
28
25
|
},
|
|
29
26
|
"copyToManager": {},
|
|
30
|
-
"
|
|
31
|
-
"date": "2025-05-13T20:50:23.000Z",
|
|
32
|
-
"hash": "22c4433ba019d05bce4f43e07fa45270c8bb5f39"
|
|
33
|
-
},
|
|
27
|
+
"purpose": "cli init",
|
|
34
28
|
"currentProjectName": "incremental-compiler",
|
|
35
29
|
"currentProjectType": "isomorphic-lib",
|
|
36
30
|
"pathsTsconfig": "\"paths\": {\"@lib\":[\"./src/lib\"],\"@lib/*\":[\"./src/lib/*\"],\"incremental-compiler/src\":[\"./src/lib\"],\"incremental-compiler/src/*\":[\"./src/lib/*\"]},"
|
package/websql/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.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incremental-compiler.mjs","sources":["../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/lib/constants.ts","../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/lib/incremental-watcher.ts","../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/lib/base-client-compiler.ts","../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/lib/index.ts","../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/incremental-compiler.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"incremental-compiler.mjs","sources":["../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/lib/constants.ts","../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/lib/incremental-watcher.ts","../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/lib/base-client-compiler.ts","../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/lib/index.ts","../../../tmp-libs-for-dist-websql/incremental-compiler/projects/incremental-compiler/src/incremental-compiler.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, Helpers } from 'tnp-core/websql';\nimport { chokidar } from 'tnp-core/websql';\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}\n","//#region imports\n/* */ \nimport { path, _, crossPlatformPath, UtilsMessages } from 'tnp-core/websql';\nimport { Helpers } from 'tnp-core/websql';\nimport { CLI } from 'tnp-core/websql';\nimport { CoreModels } from 'tnp-core/websql';\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.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 (!_.isString(taskName)) {\n taskName = `task \"${this.taskName}\"`;\n }\n return taskName;\n }\n //#endregion\n\n //#endregion\n}\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":";;AAEa,MAAA,iBAAiB,GAAG;IAC/B,wBAAwB;IACxB,iBAAiB;IACjB,gBAAgB;IAChB,SAAS;;;ACCX;AAEgB,SAAA,kBAAkB,CAChC,gCAA0C,EAC1C,YAAuC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BvC,IAAA,QAAQ,KAAK,CAAC;AAChB;;ACxCA;AACA;AAcA;MAEa,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;QAMkB,IAAgB,CAAA,gBAAA,GAA+B,EAAE;QAUvD,IAAa,CAAA,aAAA,GAAG,IAAI;QAItB,IAAW,CAAA,WAAA,GAAY,KAAK;QAE5B,IAAmB,CAAA,mBAAA,GAAY,KAAK;QAEpC,IAAY,CAAA,YAAA,GAAa,EAAE;QAE5B,IAAc,CAAA,cAAA,GAAa,EAAE;QAEpB,IAAkB,CAAA,kBAAA,GAAY,KAAK;QAEnC,IAAsB,CAAA,sBAAA,GAAa,EAAE;;;;IAErD,IAAW,UAAU,CAAC,CAAC,EAAA;;;;;;;AASvB,IAAA,IAAW,UAAU,GAAA;;;;;;;;;;;;;;;;;;AAkBnB,QAAA,QAAQ,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;AA0BhB;;AAEG;AACO,IAAA,WAAW,CAAC,OAAmC,EAAA;;;;;;;;;;;;;;;;AAgBvD,QAAA,QAAQ,KAAK,CAAC;;;;AAKhB;;AAEG;IACH,MAAM,OAAO,CACX,OAAoE,EAAA;;;;;;;;;;AAWpE,QAAA,QAAQ,KAAK,CAAC;;;;AAKhB;;;AAGG;IACI,MAAM,KAAK,CAChB,OAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCtC,QAAA,QAAQ,KAAK,CAAC;;;;AAKhB;;;AAGG;IACI,MAAM,aAAa,CACxB,OAA8C,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyC9C,QAAA,QAAQ,KAAK,CAAC;;;;AAKhB;;;;AAIG;IACI,UAAU,CACf,kBAA6B,EAC7B,aAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC;;;;AAKR,IAAA,MAAM,cAAc,CAAC,aAA8B;;;IAInD,WAAW,CAChB,WAAyB,EACzB,aAA8B,EAAA;QAE9B,OAAO,KAAK,CAAC;;;;IAKR,6BAA6B,GAAA;;;;;;;;;;;;;;;;AAgBlC,QAAA,QAAQ,KAAK,CAAC;;;;;AAOR,IAAA,mBAAmB,CAAC,OAAmC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqC7D,QAAA,QAAQ,KAAK,CAAC;;;;AAKR,IAAA,WAAW,CAAC,QAAgB,EAAA;QAClC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;AACzB,YAAA,QAAQ,GAAG,CAAS,MAAA,EAAA,IAAI,CAAC,QAAQ,GAAG;;AAEtC,QAAA,OAAO,QAAQ;;AAKlB;;AChVD;;ACJA;;AAEG;;;;"}
|