dcdx 1.3.0-next.4 → 1.3.0-next.40

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.
Files changed (34) hide show
  1. package/assets/versions.json +1 -1
  2. package/lib/commands/apt.js +2545 -1663
  3. package/lib/commands/build.js +1203 -1119
  4. package/lib/commands/database.js +1199 -1115
  5. package/lib/commands/debug.js +1209 -1122
  6. package/lib/commands/install.js +1895 -1179
  7. package/lib/commands/reset.js +1201 -1116
  8. package/lib/commands/run.js +1201 -1116
  9. package/lib/commands/stop.js +1201 -1116
  10. package/lib/commands/update.js +1197 -1114
  11. package/lib/index.js +1 -1
  12. package/lib/types/src/apt/helpers/dcapt.d.ts +2 -1
  13. package/lib/types/src/apt/helpers/downloadApp.d.ts +1 -0
  14. package/lib/types/src/apt/helpers/generateDependencyTree.d.ts +2 -0
  15. package/lib/types/src/apt/helpers/generateSCAReport.d.ts +2 -0
  16. package/lib/types/src/apt/helpers/getAppLicense.d.ts +3 -0
  17. package/lib/types/src/apt/helpers/getAptDirectory.d.ts +1 -1
  18. package/lib/types/src/apt/helpers/getClusterURL.d.ts +1 -1
  19. package/lib/types/src/apt/helpers/getHostLicense.d.ts +1 -1
  20. package/lib/types/src/apt/helpers/installApp.d.ts +2 -1
  21. package/lib/types/src/apt/helpers/provisionCluster.d.ts +1 -0
  22. package/lib/types/src/apt/helpers/restartCluster.d.ts +2 -0
  23. package/lib/types/src/apt/helpers/runLuceneTimingTest.d.ts +2 -0
  24. package/lib/types/src/apt/helpers/runPerformanceTest.d.ts +2 -2
  25. package/lib/types/src/apt/helpers/runScalabilityTest.d.ts +2 -2
  26. package/lib/types/src/apt/messages.d.ts +10 -5
  27. package/lib/types/src/helpers/FileWatcher.d.ts +2 -2
  28. package/lib/types/src/helpers/Installer.d.ts +2 -2
  29. package/lib/types/src/helpers/upm.d.ts +2 -2
  30. package/lib/types/src/types/DCAPT.d.ts +287 -90
  31. package/lib/types/src/types/FileWatcher.d.ts +36 -0
  32. package/lib/types/src/types/Install.d.ts +80 -0
  33. package/lib/types/src/types/Installer.d.ts +21 -0
  34. package/package.json +6 -1
@@ -0,0 +1,80 @@
1
+ import { z } from 'zod';
2
+ export declare const InstallArgs: z.ZodObject<{
3
+ username: z.ZodOptional<z.ZodString>;
4
+ password: z.ZodOptional<z.ZodString>;
5
+ watch: z.ZodBoolean;
6
+ outputDirectory: z.ZodOptional<z.ZodString>;
7
+ activateProfiles: z.ZodOptional<z.ZodString>;
8
+ cwd: z.ZodOptional<z.ZodString>;
9
+ license: z.ZodString;
10
+ appKey: z.ZodOptional<z.ZodString>;
11
+ baseUrl: z.ZodOptional<z.ZodString>;
12
+ obr: z.ZodOptional<z.ZodBoolean>;
13
+ mpac: z.ZodOptional<z.ZodBoolean>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ watch: boolean;
16
+ license: string;
17
+ username?: string | undefined;
18
+ password?: string | undefined;
19
+ outputDirectory?: string | undefined;
20
+ activateProfiles?: string | undefined;
21
+ cwd?: string | undefined;
22
+ appKey?: string | undefined;
23
+ baseUrl?: string | undefined;
24
+ obr?: boolean | undefined;
25
+ mpac?: boolean | undefined;
26
+ }, {
27
+ watch: boolean;
28
+ license: string;
29
+ username?: string | undefined;
30
+ password?: string | undefined;
31
+ outputDirectory?: string | undefined;
32
+ activateProfiles?: string | undefined;
33
+ cwd?: string | undefined;
34
+ appKey?: string | undefined;
35
+ baseUrl?: string | undefined;
36
+ obr?: boolean | undefined;
37
+ mpac?: boolean | undefined;
38
+ }>;
39
+ export declare const InstallOptions: z.ZodObject<{
40
+ username: z.ZodOptional<z.ZodString>;
41
+ password: z.ZodOptional<z.ZodString>;
42
+ cwd: z.ZodOptional<z.ZodString>;
43
+ product: z.ZodOptional<z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>>;
44
+ environment: z.ZodOptional<z.ZodString>;
45
+ license: z.ZodOptional<z.ZodString>;
46
+ force: z.ZodOptional<z.ZodBoolean>;
47
+ appKey: z.ZodOptional<z.ZodString>;
48
+ restartAfterInstall: z.ZodOptional<z.ZodBoolean>;
49
+ baseUrl: z.ZodString;
50
+ aws_access_key_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
51
+ aws_secret_access_key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ baseUrl: string;
54
+ username?: string | undefined;
55
+ password?: string | undefined;
56
+ cwd?: string | undefined;
57
+ product?: "jira" | "confluence" | "bitbucket" | "bamboo" | undefined;
58
+ environment?: string | undefined;
59
+ license?: string | undefined;
60
+ force?: boolean | undefined;
61
+ appKey?: string | undefined;
62
+ restartAfterInstall?: boolean | undefined;
63
+ aws_access_key_id?: string | undefined;
64
+ aws_secret_access_key?: string | undefined;
65
+ }, {
66
+ baseUrl: string;
67
+ username?: string | undefined;
68
+ password?: string | undefined;
69
+ cwd?: string | undefined;
70
+ product?: "jira" | "confluence" | "bitbucket" | "bamboo" | undefined;
71
+ environment?: string | undefined;
72
+ license?: string | undefined;
73
+ force?: boolean | undefined;
74
+ appKey?: string | undefined;
75
+ restartAfterInstall?: boolean | undefined;
76
+ aws_access_key_id?: string | undefined;
77
+ aws_secret_access_key?: string | undefined;
78
+ }>;
79
+ export type TInstallArgs = z.infer<typeof InstallArgs>;
80
+ export type TInstallOptions = z.infer<typeof InstallOptions>;
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ export declare const InstallerOptions: z.ZodObject<{
3
+ port: z.ZodOptional<z.ZodNumber>;
4
+ username: z.ZodOptional<z.ZodString>;
5
+ password: z.ZodOptional<z.ZodString>;
6
+ cwd: z.ZodOptional<z.ZodString>;
7
+ obr: z.ZodOptional<z.ZodBoolean>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ port?: number | undefined;
10
+ username?: string | undefined;
11
+ password?: string | undefined;
12
+ cwd?: string | undefined;
13
+ obr?: boolean | undefined;
14
+ }, {
15
+ port?: number | undefined;
16
+ username?: string | undefined;
17
+ password?: string | undefined;
18
+ cwd?: string | undefined;
19
+ obr?: boolean | undefined;
20
+ }>;
21
+ export type TInstallerOptions = z.infer<typeof InstallerOptions>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcdx",
3
- "version": "1.3.0-next.4",
3
+ "version": "1.3.0-next.40",
4
4
  "author": "Collabsoft <info@collabsoft.net>",
5
5
  "description": "The Unofficial CLI for Atlassian Data Center Plugin Development",
6
6
  "type": "module",
@@ -48,12 +48,14 @@
48
48
  "@rollup/plugin-node-resolve": "15.2.3",
49
49
  "@rollup/plugin-terser": "0.4.4",
50
50
  "@types/cli-progress": "^3",
51
+ "@types/content-disposition": "^0",
51
52
  "@types/dockerode": "3.3.28",
52
53
  "@types/fs-extra": "^11",
53
54
  "@types/inquirer": "^9",
54
55
  "@types/js-yaml": "4",
55
56
  "@types/node": "18.16.0",
56
57
  "@types/pg": "8",
58
+ "@types/unzipper": "^0",
57
59
  "@typescript-eslint/eslint-plugin": "7.6.0",
58
60
  "@typescript-eslint/parser": "7.6.0",
59
61
  "@vitest/coverage-v8": "2.1.5",
@@ -76,11 +78,13 @@
76
78
  "chokidar": "3.6.0",
77
79
  "cli-progress": "3.12.0",
78
80
  "commander": "12.0.0",
81
+ "content-disposition": "0.5.4",
79
82
  "date-fns": "4.1.0",
80
83
  "docker-compose": "0.24.8",
81
84
  "dockerode": "4.0.2",
82
85
  "exit-hook": "4.0.0",
83
86
  "fast-xml-parser": "4.3.6",
87
+ "fkill": "9.0.0",
84
88
  "fs-extra": "11.2.0",
85
89
  "glob": "11.0.0",
86
90
  "inquirer": "9.2.22",
@@ -92,6 +96,7 @@
92
96
  "sequelize": "6.37.2",
93
97
  "simple-git": "3.24.0",
94
98
  "tedious": "18.1.0",
99
+ "unzipper": "0.12.3",
95
100
  "xpath": "0.0.34",
96
101
  "yaml": "2.6.0",
97
102
  "zod": "3.23.6"