dcdx 1.3.0-next.36 → 1.3.0-next.37
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/lib/commands/apt.js +163 -33
- package/lib/commands/install.js +29 -27
- 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/types/DCAPT.d.ts +22 -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.37";
|
|
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,26 @@ 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
|
+
}>;
|
|
384
404
|
export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
385
405
|
cwd: z.ZodString;
|
|
386
406
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
@@ -459,3 +479,5 @@ export type TAPTTeardownArgs = z.infer<typeof APTTeardownArgs>;
|
|
|
459
479
|
export type TAPTTeardownOptions = z.infer<typeof APTTeardownOptions>;
|
|
460
480
|
export type TTestResults = z.infer<typeof TestResults>;
|
|
461
481
|
export type TReportTypes = z.infer<typeof ReportTypes>;
|
|
482
|
+
export type TAPTDependencyTreeArgs = z.infer<typeof APTDependencyTreeArgs>;
|
|
483
|
+
export type TAPTDependencyTreeOptions = z.infer<typeof APTDependencyTreeOptions>;
|
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.37",
|
|
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"
|