dcdx 1.3.0-next.1 → 1.3.0-next.10
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 +1343 -1243
- package/lib/commands/build.js +1126 -1090
- package/lib/commands/database.js +1126 -1090
- package/lib/commands/debug.js +1126 -1090
- package/lib/commands/install.js +1126 -1090
- package/lib/commands/reset.js +1126 -1090
- package/lib/commands/run.js +1126 -1090
- package/lib/commands/stop.js +1126 -1090
- package/lib/commands/update.js +1126 -1090
- package/lib/index.js +1 -1
- package/lib/types/src/apt/helpers/getOutputDirectory.d.ts +1 -1
- package/lib/types/src/types/DCAPT.d.ts +21 -9
- 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.10";
|
|
7
7
|
|
|
8
8
|
const toAbsolutePath = (relativePath) => {
|
|
9
9
|
const [, filePath] = process.argv;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getOutputDirectory: (timestamp?: string) => string;
|
|
1
|
+
export declare const getOutputDirectory: (cwd?: string, timestamp?: string) => string;
|
|
@@ -5,16 +5,19 @@ export declare const TestResults: z.ZodEnum<["path", "Summary run status", "Appl
|
|
|
5
5
|
export declare const ReportTypes: z.ZodEnum<["performance", "scalability"]>;
|
|
6
6
|
export declare const APTReportArgs: z.ZodObject<{
|
|
7
7
|
type: z.ZodEnum<["performance", "scalability"]>;
|
|
8
|
-
timestamp: z.ZodString;
|
|
9
8
|
cwd: z.ZodString;
|
|
9
|
+
timestamp: z.ZodString;
|
|
10
|
+
outputDir: z.ZodOptional<z.ZodString>;
|
|
10
11
|
}, "strip", z.ZodTypeAny, {
|
|
11
12
|
type: "performance" | "scalability";
|
|
12
13
|
cwd: string;
|
|
13
14
|
timestamp: string;
|
|
15
|
+
outputDir?: string | undefined;
|
|
14
16
|
}, {
|
|
15
17
|
type: "performance" | "scalability";
|
|
16
18
|
cwd: string;
|
|
17
19
|
timestamp: string;
|
|
20
|
+
outputDir?: string | undefined;
|
|
18
21
|
}>;
|
|
19
22
|
export declare const APTProvisionOptions: z.ZodObject<{
|
|
20
23
|
cwd: z.ZodString;
|
|
@@ -38,6 +41,7 @@ export declare const APTProvisionOptions: z.ZodObject<{
|
|
|
38
41
|
export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
39
42
|
cwd: z.ZodString;
|
|
40
43
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
44
|
+
outputDir: z.ZodOptional<z.ZodString>;
|
|
41
45
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
42
46
|
environment: z.ZodString;
|
|
43
47
|
appKey: z.ZodString;
|
|
@@ -50,6 +54,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
50
54
|
appKey: string;
|
|
51
55
|
appLicense: string;
|
|
52
56
|
timestamp?: string | undefined;
|
|
57
|
+
outputDir?: string | undefined;
|
|
53
58
|
force?: boolean | undefined;
|
|
54
59
|
}, {
|
|
55
60
|
cwd: string;
|
|
@@ -58,29 +63,30 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
58
63
|
appKey: string;
|
|
59
64
|
appLicense: string;
|
|
60
65
|
timestamp?: string | undefined;
|
|
66
|
+
outputDir?: string | undefined;
|
|
61
67
|
force?: boolean | undefined;
|
|
62
68
|
}>;
|
|
63
69
|
export declare const APTPerformanceTestOptions: z.ZodObject<{
|
|
64
70
|
cwd: z.ZodString;
|
|
71
|
+
outputDir: z.ZodString;
|
|
65
72
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
66
73
|
environment: z.ZodString;
|
|
67
74
|
appKey: z.ZodOptional<z.ZodString>;
|
|
68
75
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
69
76
|
appLicense: z.ZodOptional<z.ZodString>;
|
|
70
|
-
outputDir: z.ZodString;
|
|
71
77
|
}, "strip", z.ZodTypeAny, {
|
|
72
78
|
cwd: string;
|
|
79
|
+
outputDir: string;
|
|
73
80
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
74
81
|
environment: string;
|
|
75
|
-
outputDir: string;
|
|
76
82
|
appKey?: string | undefined;
|
|
77
83
|
force?: boolean | undefined;
|
|
78
84
|
appLicense?: string | undefined;
|
|
79
85
|
}, {
|
|
80
86
|
cwd: string;
|
|
87
|
+
outputDir: string;
|
|
81
88
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
82
89
|
environment: string;
|
|
83
|
-
outputDir: string;
|
|
84
90
|
appKey?: string | undefined;
|
|
85
91
|
force?: boolean | undefined;
|
|
86
92
|
appLicense?: string | undefined;
|
|
@@ -106,8 +112,8 @@ export declare const APTPerformanceTestMessages: z.ZodObject<{
|
|
|
106
112
|
}>;
|
|
107
113
|
export declare const APTPerformanceReportOptions: z.ZodObject<{
|
|
108
114
|
cwd: z.ZodString;
|
|
109
|
-
force: z.ZodOptional<z.ZodBoolean>;
|
|
110
115
|
outputDir: z.ZodString;
|
|
116
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
111
117
|
}, "strip", z.ZodTypeAny, {
|
|
112
118
|
cwd: string;
|
|
113
119
|
outputDir: string;
|
|
@@ -120,6 +126,7 @@ export declare const APTPerformanceReportOptions: z.ZodObject<{
|
|
|
120
126
|
export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
121
127
|
cwd: z.ZodString;
|
|
122
128
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
129
|
+
outputDir: z.ZodOptional<z.ZodString>;
|
|
123
130
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
124
131
|
environment: z.ZodString;
|
|
125
132
|
appKey: z.ZodString;
|
|
@@ -131,6 +138,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
131
138
|
environment: string;
|
|
132
139
|
appKey: string;
|
|
133
140
|
timestamp?: string | undefined;
|
|
141
|
+
outputDir?: string | undefined;
|
|
134
142
|
force?: boolean | undefined;
|
|
135
143
|
appLicense?: string | undefined;
|
|
136
144
|
}, {
|
|
@@ -139,32 +147,33 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
139
147
|
environment: string;
|
|
140
148
|
appKey: string;
|
|
141
149
|
timestamp?: string | undefined;
|
|
150
|
+
outputDir?: string | undefined;
|
|
142
151
|
force?: boolean | undefined;
|
|
143
152
|
appLicense?: string | undefined;
|
|
144
153
|
}>;
|
|
145
154
|
export declare const APTScalabilityTestOptions: z.ZodObject<{
|
|
146
155
|
cwd: z.ZodString;
|
|
156
|
+
outputDir: z.ZodString;
|
|
147
157
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
148
158
|
environment: z.ZodString;
|
|
149
159
|
appKey: z.ZodOptional<z.ZodString>;
|
|
150
160
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
151
161
|
appLicense: z.ZodOptional<z.ZodString>;
|
|
152
|
-
outputDir: z.ZodString;
|
|
153
162
|
license: z.ZodString;
|
|
154
163
|
}, "strip", z.ZodTypeAny, {
|
|
155
164
|
cwd: string;
|
|
165
|
+
outputDir: string;
|
|
156
166
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
157
167
|
environment: string;
|
|
158
|
-
outputDir: string;
|
|
159
168
|
license: string;
|
|
160
169
|
appKey?: string | undefined;
|
|
161
170
|
force?: boolean | undefined;
|
|
162
171
|
appLicense?: string | undefined;
|
|
163
172
|
}, {
|
|
164
173
|
cwd: string;
|
|
174
|
+
outputDir: string;
|
|
165
175
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
166
176
|
environment: string;
|
|
167
|
-
outputDir: string;
|
|
168
177
|
license: string;
|
|
169
178
|
appKey?: string | undefined;
|
|
170
179
|
force?: boolean | undefined;
|
|
@@ -191,8 +200,8 @@ export declare const APTScalabilityTestMessages: z.ZodObject<{
|
|
|
191
200
|
}>;
|
|
192
201
|
export declare const APTScalabilityReportOptions: z.ZodObject<{
|
|
193
202
|
cwd: z.ZodString;
|
|
194
|
-
force: z.ZodOptional<z.ZodBoolean>;
|
|
195
203
|
outputDir: z.ZodString;
|
|
204
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
196
205
|
}, "strip", z.ZodTypeAny, {
|
|
197
206
|
cwd: string;
|
|
198
207
|
outputDir: string;
|
|
@@ -261,6 +270,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
261
270
|
}>, z.ZodObject<{
|
|
262
271
|
cwd: z.ZodString;
|
|
263
272
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
273
|
+
outputDir: z.ZodOptional<z.ZodString>;
|
|
264
274
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
265
275
|
environment: z.ZodString;
|
|
266
276
|
appKey: z.ZodString;
|
|
@@ -273,6 +283,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
273
283
|
appKey: string;
|
|
274
284
|
appLicense: string;
|
|
275
285
|
timestamp?: string | undefined;
|
|
286
|
+
outputDir?: string | undefined;
|
|
276
287
|
force?: boolean | undefined;
|
|
277
288
|
}, {
|
|
278
289
|
cwd: string;
|
|
@@ -281,6 +292,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
281
292
|
appKey: string;
|
|
282
293
|
appLicense: string;
|
|
283
294
|
timestamp?: string | undefined;
|
|
295
|
+
outputDir?: string | undefined;
|
|
284
296
|
force?: boolean | undefined;
|
|
285
297
|
}>>;
|
|
286
298
|
export type TAPTArgs = z.infer<typeof APTArgs>;
|