dcdx 1.3.0-next.29 → 1.3.0-next.30
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/assets/versions.json +1 -1
- package/lib/commands/apt.js +1017 -980
- package/lib/commands/build.js +963 -948
- package/lib/commands/database.js +963 -948
- package/lib/commands/debug.js +964 -948
- package/lib/commands/install.js +963 -948
- package/lib/commands/reset.js +963 -948
- package/lib/commands/run.js +963 -948
- package/lib/commands/stop.js +963 -948
- package/lib/commands/update.js +963 -948
- package/lib/index.js +1 -1
- package/lib/types/src/apt/helpers/getHostLicense.d.ts +1 -1
- package/lib/types/src/types/DCAPT.d.ts +20 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { program } from 'commander';
|
|
|
3
3
|
import { realpathSync, existsSync } from 'fs';
|
|
4
4
|
import { dirname, join } from 'path';
|
|
5
5
|
|
|
6
|
-
var version = "1.3.0-next.
|
|
6
|
+
var version = "1.3.0-next.30";
|
|
7
7
|
|
|
8
8
|
const toAbsolutePath = (relativePath) => {
|
|
9
9
|
const [, filePath] = process.argv;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TSupportedApplications } from '../../types/Application';
|
|
2
|
-
export declare const getHostLicense: (product: TSupportedApplications, force?: boolean) => string | (Promise<string> & {
|
|
2
|
+
export declare const getHostLicense: (product: TSupportedApplications, license?: string, force?: boolean) => string | (Promise<string> & {
|
|
3
3
|
cancel: () => void;
|
|
4
4
|
});
|
|
@@ -42,6 +42,7 @@ export declare const APTProvisionArgs: z.ZodObject<{
|
|
|
42
42
|
cwd: z.ZodString;
|
|
43
43
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
44
44
|
environment: z.ZodString;
|
|
45
|
+
license: z.ZodOptional<z.ZodString>;
|
|
45
46
|
nodes: z.ZodNumber;
|
|
46
47
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
47
48
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -49,18 +50,21 @@ export declare const APTProvisionArgs: z.ZodObject<{
|
|
|
49
50
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
50
51
|
environment: string;
|
|
51
52
|
nodes: number;
|
|
53
|
+
license?: string | undefined;
|
|
52
54
|
force?: boolean | undefined;
|
|
53
55
|
}, {
|
|
54
56
|
cwd: string;
|
|
55
57
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
56
58
|
environment: string;
|
|
57
59
|
nodes: number;
|
|
60
|
+
license?: string | undefined;
|
|
58
61
|
force?: boolean | undefined;
|
|
59
62
|
}>;
|
|
60
63
|
export declare const APTProvisionOptions: z.ZodObject<{
|
|
61
64
|
cwd: z.ZodString;
|
|
62
65
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
63
66
|
environment: z.ZodOptional<z.ZodString>;
|
|
67
|
+
license: z.ZodOptional<z.ZodString>;
|
|
64
68
|
nodes: z.ZodOptional<z.ZodNumber>;
|
|
65
69
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
66
70
|
appKey: z.ZodOptional<z.ZodString>;
|
|
@@ -68,6 +72,7 @@ export declare const APTProvisionOptions: z.ZodObject<{
|
|
|
68
72
|
cwd: string;
|
|
69
73
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
70
74
|
environment?: string | undefined;
|
|
75
|
+
license?: string | undefined;
|
|
71
76
|
nodes?: number | undefined;
|
|
72
77
|
force?: boolean | undefined;
|
|
73
78
|
appKey?: string | undefined;
|
|
@@ -75,6 +80,7 @@ export declare const APTProvisionOptions: z.ZodObject<{
|
|
|
75
80
|
cwd: string;
|
|
76
81
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
77
82
|
environment?: string | undefined;
|
|
83
|
+
license?: string | undefined;
|
|
78
84
|
nodes?: number | undefined;
|
|
79
85
|
force?: boolean | undefined;
|
|
80
86
|
appKey?: string | undefined;
|
|
@@ -85,6 +91,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
85
91
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
86
92
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
87
93
|
environment: z.ZodString;
|
|
94
|
+
license: z.ZodOptional<z.ZodString>;
|
|
88
95
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
89
96
|
appKey: z.ZodString;
|
|
90
97
|
appLicense: z.ZodString;
|
|
@@ -96,6 +103,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
96
103
|
appLicense: string;
|
|
97
104
|
timestamp?: string | undefined;
|
|
98
105
|
outputDir?: string | undefined;
|
|
106
|
+
license?: string | undefined;
|
|
99
107
|
force?: boolean | undefined;
|
|
100
108
|
}, {
|
|
101
109
|
cwd: string;
|
|
@@ -105,6 +113,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
105
113
|
appLicense: string;
|
|
106
114
|
timestamp?: string | undefined;
|
|
107
115
|
outputDir?: string | undefined;
|
|
116
|
+
license?: string | undefined;
|
|
108
117
|
force?: boolean | undefined;
|
|
109
118
|
}>;
|
|
110
119
|
export declare const APTPerformanceTestOptions: z.ZodObject<{
|
|
@@ -112,13 +121,13 @@ export declare const APTPerformanceTestOptions: z.ZodObject<{
|
|
|
112
121
|
outputDir: z.ZodString;
|
|
113
122
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
114
123
|
environment: z.ZodString;
|
|
124
|
+
license: z.ZodString;
|
|
115
125
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
116
126
|
appKey: z.ZodOptional<z.ZodString>;
|
|
117
127
|
appLicense: z.ZodOptional<z.ZodString>;
|
|
118
128
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
119
129
|
aws_access_key_id: z.ZodOptional<z.ZodString>;
|
|
120
130
|
aws_secret_access_key: z.ZodOptional<z.ZodString>;
|
|
121
|
-
license: z.ZodString;
|
|
122
131
|
}, "strip", z.ZodTypeAny, {
|
|
123
132
|
cwd: string;
|
|
124
133
|
outputDir: string;
|
|
@@ -163,6 +172,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
163
172
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
164
173
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
165
174
|
environment: z.ZodString;
|
|
175
|
+
license: z.ZodOptional<z.ZodString>;
|
|
166
176
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
167
177
|
appKey: z.ZodString;
|
|
168
178
|
appLicense: z.ZodOptional<z.ZodString>;
|
|
@@ -173,6 +183,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
173
183
|
appKey: string;
|
|
174
184
|
timestamp?: string | undefined;
|
|
175
185
|
outputDir?: string | undefined;
|
|
186
|
+
license?: string | undefined;
|
|
176
187
|
force?: boolean | undefined;
|
|
177
188
|
appLicense?: string | undefined;
|
|
178
189
|
}, {
|
|
@@ -182,6 +193,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
182
193
|
appKey: string;
|
|
183
194
|
timestamp?: string | undefined;
|
|
184
195
|
outputDir?: string | undefined;
|
|
196
|
+
license?: string | undefined;
|
|
185
197
|
force?: boolean | undefined;
|
|
186
198
|
appLicense?: string | undefined;
|
|
187
199
|
}>;
|
|
@@ -190,10 +202,10 @@ export declare const APTScalabilityTestOptions: z.ZodObject<{
|
|
|
190
202
|
outputDir: z.ZodString;
|
|
191
203
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
192
204
|
environment: z.ZodString;
|
|
205
|
+
license: z.ZodString;
|
|
193
206
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
194
207
|
appKey: z.ZodOptional<z.ZodString>;
|
|
195
208
|
appLicense: z.ZodOptional<z.ZodString>;
|
|
196
|
-
license: z.ZodString;
|
|
197
209
|
}, "strip", z.ZodTypeAny, {
|
|
198
210
|
cwd: string;
|
|
199
211
|
outputDir: string;
|
|
@@ -268,6 +280,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
268
280
|
cwd: z.ZodString;
|
|
269
281
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
270
282
|
environment: z.ZodOptional<z.ZodString>;
|
|
283
|
+
license: z.ZodOptional<z.ZodString>;
|
|
271
284
|
nodes: z.ZodOptional<z.ZodNumber>;
|
|
272
285
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
273
286
|
appKey: z.ZodOptional<z.ZodString>;
|
|
@@ -275,6 +288,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
275
288
|
cwd: string;
|
|
276
289
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
277
290
|
environment?: string | undefined;
|
|
291
|
+
license?: string | undefined;
|
|
278
292
|
nodes?: number | undefined;
|
|
279
293
|
force?: boolean | undefined;
|
|
280
294
|
appKey?: string | undefined;
|
|
@@ -282,6 +296,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
282
296
|
cwd: string;
|
|
283
297
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
284
298
|
environment?: string | undefined;
|
|
299
|
+
license?: string | undefined;
|
|
285
300
|
nodes?: number | undefined;
|
|
286
301
|
force?: boolean | undefined;
|
|
287
302
|
appKey?: string | undefined;
|
|
@@ -291,6 +306,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
291
306
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
292
307
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
293
308
|
environment: z.ZodString;
|
|
309
|
+
license: z.ZodOptional<z.ZodString>;
|
|
294
310
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
295
311
|
appKey: z.ZodString;
|
|
296
312
|
appLicense: z.ZodString;
|
|
@@ -302,6 +318,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
302
318
|
appLicense: string;
|
|
303
319
|
timestamp?: string | undefined;
|
|
304
320
|
outputDir?: string | undefined;
|
|
321
|
+
license?: string | undefined;
|
|
305
322
|
force?: boolean | undefined;
|
|
306
323
|
}, {
|
|
307
324
|
cwd: string;
|
|
@@ -311,6 +328,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
311
328
|
appLicense: string;
|
|
312
329
|
timestamp?: string | undefined;
|
|
313
330
|
outputDir?: string | undefined;
|
|
331
|
+
license?: string | undefined;
|
|
314
332
|
force?: boolean | undefined;
|
|
315
333
|
}>>;
|
|
316
334
|
export type TAPTArgs = z.infer<typeof APTArgs>;
|