tnp-helpers 16.100.23 → 16.100.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/assets/shared/shared_folder_info.txt +1 -1
  2. package/browser/README.md +24 -24
  3. package/browser/esm2022/lib/base/base-feature-for-project.mjs +1 -1
  4. package/browser/esm2022/lib/base/base-project.mjs +279 -32
  5. package/browser/esm2022/lib/helpers/helpers.mjs +2 -2
  6. package/browser/esm2022/lib/index.mjs +1 -1
  7. package/browser/fesm2022/tnp-helpers.mjs +272 -31
  8. package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
  9. package/browser/lib/base/base-feature-for-project.d.ts +1 -1
  10. package/browser/lib/base/base-project.d.ts +10 -21
  11. package/browser/lib/index.d.ts +1 -2
  12. package/client/README.md +24 -24
  13. package/client/esm2022/lib/base/base-feature-for-project.mjs +1 -1
  14. package/client/esm2022/lib/base/base-project.mjs +279 -32
  15. package/client/esm2022/lib/helpers/helpers.mjs +2 -2
  16. package/client/esm2022/lib/index.mjs +1 -1
  17. package/client/fesm2022/tnp-helpers.mjs +272 -31
  18. package/client/fesm2022/tnp-helpers.mjs.map +1 -1
  19. package/client/lib/base/base-feature-for-project.d.ts +1 -1
  20. package/client/lib/base/base-project.d.ts +10 -21
  21. package/client/lib/index.d.ts +1 -2
  22. package/client/package.json +3 -3
  23. package/firedev.jsonc +62 -62
  24. package/lib/base/base-command-line.backend.js +1 -0
  25. package/lib/base/base-command-line.backend.js.map +1 -1
  26. package/lib/base/base-feature-for-project.d.ts +1 -1
  27. package/lib/base/base-project.d.ts +48 -66
  28. package/lib/base/base-project.js +146 -74
  29. package/lib/base/base-project.js.map +1 -1
  30. package/lib/base/command-line-feature.backend.js.map +1 -1
  31. package/lib/helpers/for-backend/helpers-console-gui.d.ts +3 -3
  32. package/lib/helpers/for-backend/helpers-git.backend.d.ts +3 -3
  33. package/lib/helpers/for-backend/helpers-path.backend.d.ts +1 -1
  34. package/lib/helpers/for-backend/helpers-process.backend.d.ts +1 -1
  35. package/lib/helpers/for-backend/helpers-system-terminal.backend.d.ts +1 -1
  36. package/lib/helpers/for-browser/angular.helper.js +3 -3
  37. package/lib/helpers/helpers.d.ts +1 -1
  38. package/lib/helpers/helpers.js +1 -1
  39. package/lib/helpers/helpers.js.map +1 -1
  40. package/lib/index.d.ts +1 -2
  41. package/lib/index.js.map +1 -1
  42. package/lib/old/base-component.js +3 -3
  43. package/lib/old/base-formly-component.js +3 -3
  44. package/lib/old/dual-component-ctrl.js +3 -3
  45. package/package.json +2 -2
  46. package/tmp-environment.json +7 -7
  47. package/websql/README.md +24 -24
  48. package/websql/esm2022/lib/base/base-feature-for-project.mjs +1 -1
  49. package/websql/esm2022/lib/base/base-project.mjs +276 -33
  50. package/websql/esm2022/lib/helpers/helpers.mjs +2 -2
  51. package/websql/esm2022/lib/index.mjs +1 -1
  52. package/websql/fesm2022/tnp-helpers.mjs +269 -32
  53. package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
  54. package/websql/lib/base/base-feature-for-project.d.ts +1 -1
  55. package/websql/lib/base/base-project.d.ts +10 -21
  56. package/websql/lib/index.d.ts +1 -2
@@ -1,5 +1,5 @@
1
1
  // @ts-nocheck
2
- import { BaseProject } from '.';
2
+ import { BaseProject } from './base-project';
3
3
  export declare abstract class BaseFeatureForProject<PROJECT = BaseProject> {
4
4
  protected project: PROJECT;
5
5
  constructor(project: PROJECT);
@@ -1,5 +1,4 @@
1
1
  // @ts-nocheck
2
- /// <reference types="node" />
3
2
  import { CoreModels } from 'tnp-core/browser';
4
3
  import { CommitData, CoreProject, LinkedPorjectsConfig, LinkedProject, TypeOfCommit } from '../index';
5
4
  import { BaseProjectResolver } from './base-project-resolver';
@@ -38,7 +37,7 @@ export declare abstract class BaseProject<PROJCET extends BaseProject = any, TYP
38
37
  protected orderCoreProjects(coreProjects: CoreProject[]): CoreProject[];
39
38
  get core(): CoreProject;
40
39
  addLinkedProject(linkedProj: LinkedProject | string): any;
41
- addLinkedProjects(linkedProjs: (LinkedProject)[]): any;
40
+ addLinkedProjects(linkedProjs: LinkedProject[]): any;
42
41
  setLinkedProjectsConfig(linkedPorjectsConfig: Partial<LinkedPorjectsConfig>): any;
43
42
  private get linkedProjectsConfigPath();
44
43
  protected recreateLinkedProjectsConfig(): any;
@@ -66,8 +65,8 @@ export declare abstract class BaseProject<PROJCET extends BaseProject = any, TYP
66
65
  */
67
66
  get version(): string;
68
67
  /**
69
- * Major Version from package.json
70
- */
68
+ * Major Version from package.json
69
+ */
71
70
  get majorVersion(): number;
72
71
  /**
73
72
  * Minor Version from package.json
@@ -119,8 +118,8 @@ export declare abstract class BaseProject<PROJCET extends BaseProject = any, TYP
119
118
  preferYarnOverNpm(): boolean;
120
119
  nodeModulesEmpty(): any;
121
120
  /**
122
- * same has project.hasFile();
123
- */
121
+ * same has project.hasFile();
122
+ */
124
123
  pathExists(relativePath: string | string[]): boolean;
125
124
  /**
126
125
  * same as project.pathExists();
@@ -142,12 +141,7 @@ export declare abstract class BaseProject<PROJCET extends BaseProject = any, TYP
142
141
  * @deprecated us execute instead
143
142
  * use output from or more preciese crafted api
144
143
  */
145
- run(command: string, options?: Omit<CoreModels.RunOptions, 'cwd'>): {
146
- sync(): any;
147
- async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => number | Promise<number>): import("child_process").ChildProcess;
148
- asyncAsPromise(): Promise<void>;
149
- unitlOutputContains(stdoutMsg: string | string[], stderMsg?: string | string[], timeout?: number, stdoutOutputContainsCallback?: () => any): any;
150
- };
144
+ run(command: string, options?: Omit<CoreModels.RunOptions, 'cwd'>): any;
151
145
  /**
152
146
  * same as run but async
153
147
  */
@@ -304,8 +298,8 @@ export declare abstract class BaseProject<PROJCET extends BaseProject = any, TYP
304
298
  */
305
299
  struct(initOptions?: any): Promise<void>;
306
300
  /**
307
- * init and build() project
308
- */
301
+ * init and build() project
302
+ */
309
303
  build(buildOptions?: any): Promise<void>;
310
304
  /**
311
305
  * lint porject
@@ -342,7 +336,7 @@ export declare abstract class BaseProject<PROJCET extends BaseProject = any, TYP
342
336
  get sortedLibrariesByDeps(): PROJCET[];
343
337
  getSortedLibrariesByDepsForBuild(libs: PROJCET[], dontSugestBuildAll?: boolean): Promise<PROJCET[]>;
344
338
  get getLibraryBuildSuccessComamnd(): string;
345
- buildLibraries({ rebuild, watch, strategy, onlySelectedLibs }?: {
339
+ buildLibraries({ rebuild, watch, strategy, onlySelectedLibs, }?: {
346
340
  rebuild?: boolean;
347
341
  watch?: boolean;
348
342
  strategy?: 'link' | 'copy';
@@ -351,10 +345,5 @@ export declare abstract class BaseProject<PROJCET extends BaseProject = any, TYP
351
345
  getLibraryBuildComamnd(options?: {
352
346
  watch: boolean;
353
347
  }): string | undefined;
354
- startNpmTask(taskName: string, additionalArguments?: string | object): {
355
- sync(): any;
356
- async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => number | Promise<number>): import("child_process").ChildProcess;
357
- asyncAsPromise(): Promise<void>;
358
- unitlOutputContains(stdoutMsg: string | string[], stderMsg?: string | string[], timeout?: number, stdoutOutputContainsCallback?: () => any): any;
359
- };
348
+ startNpmTask(taskName: string, additionalArguments?: string | object): any;
360
349
  }
@@ -1,9 +1,8 @@
1
1
  // @ts-nocheck
2
2
  export * from './validators/validators';
3
3
  export { HelpersAngular } from './helpers/for-browser/angular.helper';
4
- import { HelpersFiredev as Base } from './helpers/helpers';
5
4
  /**
6
5
  * Firedev helpers
7
- */ export declare const Helpers: Base & import("tnp-core/browser").CoreHelpers;
6
+ */ export declare const Helpers: any;
8
7
  export * from './base';
9
8
  export * from './models';
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.
@@ -5,4 +5,4 @@ export class BaseFeatureForProject {
5
5
  }
6
6
  ;
7
7
  ({}); // @--end-of-file-for-module=tnp-helpers lib/base/base-feature-for-project.ts
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1mZWF0dXJlLWZvci1wcm9qZWN0LmpzIiwic291cmNlUm9vdCI6IiIs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