tnp-helpers 19.0.41 → 19.0.42

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/browser/fesm2022/tnp-helpers.mjs +28 -2
  2. package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
  3. package/browser/lib/base/classes/base-java-jdk.d.ts +9 -0
  4. package/browser/lib/base/classes/base-project.d.ts +2 -0
  5. package/browser/lib/base/core-project.d.ts +14 -1
  6. package/browser/lib/build-info._auto-generated_.d.ts +16 -1
  7. package/browser/package.json +1 -1
  8. package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js +11 -9
  9. package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js.map +1 -1
  10. package/lib/base/classes/base-cli-worker/base-cli-worker.js +10 -9
  11. package/lib/base/classes/base-cli-worker/base-cli-worker.js.map +1 -1
  12. package/lib/base/classes/base-global-command-line.backend.d.ts +1 -0
  13. package/lib/base/classes/base-global-command-line.backend.js +7 -154
  14. package/lib/base/classes/base-global-command-line.backend.js.map +1 -1
  15. package/lib/base/classes/base-java-jdk.d.ts +8 -0
  16. package/lib/base/classes/base-java-jdk.js +284 -0
  17. package/lib/base/classes/base-java-jdk.js.map +1 -0
  18. package/lib/base/classes/base-project.d.ts +2 -0
  19. package/lib/base/classes/base-project.js +3 -0
  20. package/lib/base/classes/base-project.js.map +1 -1
  21. package/lib/base/classes/base-vscode.js +1 -0
  22. package/lib/base/classes/base-vscode.js.map +1 -1
  23. package/lib/base/core-project.d.ts +14 -1
  24. package/lib/base/core-project.js +14 -1
  25. package/lib/base/core-project.js.map +1 -1
  26. package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
  27. package/lib/base/tcp-udp-ports/ports.entity.d.ts +1 -1
  28. package/lib/build-info._auto-generated_.d.ts +16 -1
  29. package/lib/build-info._auto-generated_.js +16 -1
  30. package/lib/build-info._auto-generated_.js.map +1 -1
  31. package/lib/env-backend._auto-generated_.d.ts +34 -0
  32. package/lib/env-backend._auto-generated_.js +38 -0
  33. package/lib/env-backend._auto-generated_.js.map +1 -0
  34. package/lib/env-browser._auto-generated_.d.ts +34 -0
  35. package/lib/env-browser._auto-generated_.js +38 -0
  36. package/lib/env-browser._auto-generated_.js.map +1 -0
  37. package/lib/env.backend.d.ts +34 -0
  38. package/lib/env.backend.js +40 -0
  39. package/lib/env.backend.js.map +1 -0
  40. package/lib/env.browser.d.ts +34 -0
  41. package/lib/helpers/for-backend/helpers-dependencies.backend.d.ts +0 -1
  42. package/lib/helpers/for-backend/helpers-dependencies.backend.js +0 -27
  43. package/lib/helpers/for-backend/helpers-dependencies.backend.js.map +1 -1
  44. package/lib/helpers/for-browser/angular.helper.js +2 -2
  45. package/lib/old/base-component.js +2 -2
  46. package/lib/old/base-formly-component.js +2 -2
  47. package/lib/old/dual-component-ctrl.js +2 -2
  48. package/package.json +1 -1
  49. package/tmp-environment.json +2 -2
  50. package/websql/fesm2022/tnp-helpers.mjs +28 -2
  51. package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
  52. package/websql/lib/base/classes/base-java-jdk.d.ts +9 -0
  53. package/websql/lib/base/classes/base-project.d.ts +2 -0
  54. package/websql/lib/base/core-project.d.ts +14 -1
  55. package/websql/lib/build-info._auto-generated_.d.ts +16 -1
  56. package/websql/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ // @ts-nocheck
2
+ import { BaseFeatureForProject } from './base-feature-for-project';
3
+ import { BaseProject } from './base-project';
4
+ export declare class BaseJavaJdk<PROJECT extends BaseProject = any> extends BaseFeatureForProject<PROJECT> {
5
+ selectJdkVersion(): Promise<string>;
6
+ updateJavaHomePath(selectedPath: string): void;
7
+ selectTomcatVersion(): Promise<string>;
8
+ updateTomcatHomePath(selectedPath: string): void;
9
+ }
@@ -3,6 +3,7 @@ import { CoreModels } from 'tnp-core/websql';
3
3
  import { CoreProject } from '../../index';
4
4
  import { BaseProjectType } from '../../models';
5
5
  import { BaseGit } from './base-git';
6
+ import { BaseJavaJdk } from './base-java-jdk';
6
7
  import type { BaseLibraryBuild } from './base-library-build';
7
8
  import { BaseLinkedProjects } from './base-linked-projects';
8
9
  import { BaseNpmHelpers } from './base-npm-helpers';
@@ -36,6 +37,7 @@ export declare abstract class BaseProject<PROJECT extends BaseProject<any, any>
36
37
  git?: BaseGit;
37
38
  quickFixes?: BaseQuickFixes;
38
39
  staticPages?: BaseStaticPages;
40
+ javaJdk?: BaseJavaJdk;
39
41
  private __location;
40
42
  get location(): string;
41
43
  set location(v: string);
@@ -72,12 +72,25 @@ export declare class CoreProject<PROJECT extends BaseProject = BaseProject> {
72
72
  * project environments
73
73
  */
74
74
  environments?: CoreProjectEnvironment[];
75
+ cleanCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
76
+ initCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
77
+ /**
78
+ * Build whatever is needed to run project
79
+ * buildCommand includes initCommand
80
+ */
81
+ buildCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
82
+ /**
83
+ * startCommand includes initCommand, buildCommand and launchCommand
84
+ */
75
85
  startCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
86
+ /**
87
+ * launch already built project
88
+ */
89
+ launchCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
76
90
  releaseCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
77
91
  publishCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
78
92
  deployCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
79
93
  testCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
80
- buildCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
81
94
  docsCommand?: (options: CoreCommandArgOptions<PROJECT>) => Promise<void>;
82
95
  /**
83
96
  * function to recognize project
@@ -1,6 +1,21 @@
1
1
  // @ts-nocheck
2
+ /**
3
+ * Autogenerated by current cli tool
4
+ */
2
5
  export declare const BUILD_FRAMEWORK_CLI_NAME = "tnp";
6
+ /**
7
+ * This value can be change in taon.jsonc (appId)
8
+ */
3
9
  export declare const APP_ID = "com.domain.example.tnp-helpers";
10
+ /**
11
+ * Autogenerated by current cli tool
12
+ */
4
13
  export declare const BUILD_BASE_HREF = "";
14
+ /**
15
+ * This value can be change in taon.jsonc (overrideNpmName)
16
+ */
5
17
  export declare const PROJECT_NPM_NAME = "tnp-helpers";
6
- export declare const CURRENT_PACKAGE_VERSION = "19.0.41";
18
+ /**
19
+ * Autogenerated by current cli tool. Use *tnp release* to bump version.
20
+ */
21
+ export declare const CURRENT_PACKAGE_VERSION = "19.0.42";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tnp-helpers/websql",
3
- "version": "19.0.41",
3
+ "version": "19.0.42",
4
4
  "module": "fesm2022/tnp-helpers.mjs",
5
5
  "typings": "index.d.ts",
6
6
  "exports": {