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.
- package/browser/fesm2022/tnp-helpers.mjs +28 -2
- package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
- package/browser/lib/base/classes/base-java-jdk.d.ts +9 -0
- package/browser/lib/base/classes/base-project.d.ts +2 -0
- package/browser/lib/base/core-project.d.ts +14 -1
- package/browser/lib/build-info._auto-generated_.d.ts +16 -1
- package/browser/package.json +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js +11 -9
- package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker.js +10 -9
- package/lib/base/classes/base-cli-worker/base-cli-worker.js.map +1 -1
- package/lib/base/classes/base-global-command-line.backend.d.ts +1 -0
- package/lib/base/classes/base-global-command-line.backend.js +7 -154
- package/lib/base/classes/base-global-command-line.backend.js.map +1 -1
- package/lib/base/classes/base-java-jdk.d.ts +8 -0
- package/lib/base/classes/base-java-jdk.js +284 -0
- package/lib/base/classes/base-java-jdk.js.map +1 -0
- package/lib/base/classes/base-project.d.ts +2 -0
- package/lib/base/classes/base-project.js +3 -0
- package/lib/base/classes/base-project.js.map +1 -1
- package/lib/base/classes/base-vscode.js +1 -0
- package/lib/base/classes/base-vscode.js.map +1 -1
- package/lib/base/core-project.d.ts +14 -1
- package/lib/base/core-project.js +14 -1
- package/lib/base/core-project.js.map +1 -1
- package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
- package/lib/base/tcp-udp-ports/ports.entity.d.ts +1 -1
- package/lib/build-info._auto-generated_.d.ts +16 -1
- package/lib/build-info._auto-generated_.js +16 -1
- package/lib/build-info._auto-generated_.js.map +1 -1
- package/lib/env-backend._auto-generated_.d.ts +34 -0
- package/lib/env-backend._auto-generated_.js +38 -0
- package/lib/env-backend._auto-generated_.js.map +1 -0
- package/lib/env-browser._auto-generated_.d.ts +34 -0
- package/lib/env-browser._auto-generated_.js +38 -0
- package/lib/env-browser._auto-generated_.js.map +1 -0
- package/lib/env.backend.d.ts +34 -0
- package/lib/env.backend.js +40 -0
- package/lib/env.backend.js.map +1 -0
- package/lib/env.browser.d.ts +34 -0
- package/lib/helpers/for-backend/helpers-dependencies.backend.d.ts +0 -1
- package/lib/helpers/for-backend/helpers-dependencies.backend.js +0 -27
- package/lib/helpers/for-backend/helpers-dependencies.backend.js.map +1 -1
- package/lib/helpers/for-browser/angular.helper.js +2 -2
- package/lib/old/base-component.js +2 -2
- package/lib/old/base-formly-component.js +2 -2
- package/lib/old/dual-component-ctrl.js +2 -2
- package/package.json +1 -1
- package/tmp-environment.json +2 -2
- package/websql/fesm2022/tnp-helpers.mjs +28 -2
- package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
- package/websql/lib/base/classes/base-java-jdk.d.ts +9 -0
- package/websql/lib/base/classes/base-project.d.ts +2 -0
- package/websql/lib/base/core-project.d.ts +14 -1
- package/websql/lib/build-info._auto-generated_.d.ts +16 -1
- 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
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
20
|
+
*/
|
|
21
|
+
export declare const CURRENT_PACKAGE_VERSION = "19.0.42";
|