dcdx 1.3.0-next.36 → 1.3.0-next.38
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 +1193 -973
- package/lib/commands/build.js +942 -938
- package/lib/commands/database.js +942 -938
- package/lib/commands/debug.js +942 -938
- package/lib/commands/install.js +969 -963
- package/lib/commands/reset.js +942 -938
- package/lib/commands/run.js +942 -938
- package/lib/commands/stop.js +942 -938
- package/lib/commands/update.js +942 -938
- package/lib/index.js +1 -1
- package/lib/types/src/apt/helpers/downloadApp.d.ts +1 -0
- package/lib/types/src/apt/helpers/generateDependencyTree.d.ts +2 -0
- package/lib/types/src/apt/helpers/generateSCAReport.d.ts +2 -0
- package/lib/types/src/types/DCAPT.d.ts +50 -0
- package/package.json +3 -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.38";
|
|
7
7
|
|
|
8
8
|
const toAbsolutePath = (relativePath) => {
|
|
9
9
|
const [, filePath] = process.argv;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const downloadApp: (addonKey: string) => Promise<string>;
|
|
@@ -381,6 +381,52 @@ export declare const APTRestartOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
381
381
|
aws_access_key_id?: string | undefined;
|
|
382
382
|
aws_secret_access_key?: string | undefined;
|
|
383
383
|
}>;
|
|
384
|
+
export declare const APTDependencyTreeArgs: z.ZodObject<{
|
|
385
|
+
appKey: z.ZodString;
|
|
386
|
+
outputFile: z.ZodOptional<z.ZodString>;
|
|
387
|
+
}, "strip", z.ZodTypeAny, {
|
|
388
|
+
appKey: string;
|
|
389
|
+
outputFile?: string | undefined;
|
|
390
|
+
}, {
|
|
391
|
+
appKey: string;
|
|
392
|
+
outputFile?: string | undefined;
|
|
393
|
+
}>;
|
|
394
|
+
export declare const APTDependencyTreeOptions: z.ZodObject<{
|
|
395
|
+
appKey: z.ZodString;
|
|
396
|
+
outputFile: z.ZodString;
|
|
397
|
+
}, "strip", z.ZodTypeAny, {
|
|
398
|
+
appKey: string;
|
|
399
|
+
outputFile: string;
|
|
400
|
+
}, {
|
|
401
|
+
appKey: string;
|
|
402
|
+
outputFile: string;
|
|
403
|
+
}>;
|
|
404
|
+
export declare const APTSCAArgs: z.ZodObject<{
|
|
405
|
+
appKey: z.ZodString;
|
|
406
|
+
outputDir: z.ZodOptional<z.ZodString>;
|
|
407
|
+
nvdApiKey: z.ZodString;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
appKey: string;
|
|
410
|
+
nvdApiKey: string;
|
|
411
|
+
outputDir?: string | undefined;
|
|
412
|
+
}, {
|
|
413
|
+
appKey: string;
|
|
414
|
+
nvdApiKey: string;
|
|
415
|
+
outputDir?: string | undefined;
|
|
416
|
+
}>;
|
|
417
|
+
export declare const APTSCAOptions: z.ZodObject<{
|
|
418
|
+
nvdApiKey: z.ZodString;
|
|
419
|
+
appKey: z.ZodString;
|
|
420
|
+
outputDir: z.ZodString;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
|
+
appKey: string;
|
|
423
|
+
outputDir: string;
|
|
424
|
+
nvdApiKey: string;
|
|
425
|
+
}, {
|
|
426
|
+
appKey: string;
|
|
427
|
+
outputDir: string;
|
|
428
|
+
nvdApiKey: string;
|
|
429
|
+
}>;
|
|
384
430
|
export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
385
431
|
cwd: z.ZodString;
|
|
386
432
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
@@ -459,3 +505,7 @@ export type TAPTTeardownArgs = z.infer<typeof APTTeardownArgs>;
|
|
|
459
505
|
export type TAPTTeardownOptions = z.infer<typeof APTTeardownOptions>;
|
|
460
506
|
export type TTestResults = z.infer<typeof TestResults>;
|
|
461
507
|
export type TReportTypes = z.infer<typeof ReportTypes>;
|
|
508
|
+
export type TAPTDependencyTreeArgs = z.infer<typeof APTDependencyTreeArgs>;
|
|
509
|
+
export type TAPTDependencyTreeOptions = z.infer<typeof APTDependencyTreeOptions>;
|
|
510
|
+
export type TAPTSCAArgs = z.infer<typeof APTSCAArgs>;
|
|
511
|
+
export type TAPTSCAOptions = z.infer<typeof APTSCAOptions>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dcdx",
|
|
3
|
-
"version": "1.3.0-next.
|
|
3
|
+
"version": "1.3.0-next.38",
|
|
4
4
|
"author": "Collabsoft <info@collabsoft.net>",
|
|
5
5
|
"description": "The Unofficial CLI for Atlassian Data Center Plugin Development",
|
|
6
6
|
"type": "module",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"@types/js-yaml": "4",
|
|
56
56
|
"@types/node": "18.16.0",
|
|
57
57
|
"@types/pg": "8",
|
|
58
|
+
"@types/unzipper": "^0",
|
|
58
59
|
"@typescript-eslint/eslint-plugin": "7.6.0",
|
|
59
60
|
"@typescript-eslint/parser": "7.6.0",
|
|
60
61
|
"@vitest/coverage-v8": "2.1.5",
|
|
@@ -95,6 +96,7 @@
|
|
|
95
96
|
"sequelize": "6.37.2",
|
|
96
97
|
"simple-git": "3.24.0",
|
|
97
98
|
"tedious": "18.1.0",
|
|
99
|
+
"unzipper": "0.12.3",
|
|
98
100
|
"xpath": "0.0.34",
|
|
99
101
|
"yaml": "2.6.0",
|
|
100
102
|
"zod": "3.23.6"
|