@apimatic/cli 1.1.0-beta.11 → 1.1.0-beta.14

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 (103) hide show
  1. package/README.md +64 -1
  2. package/lib/actions/publishing/profile/list.d.ts +11 -0
  3. package/lib/actions/publishing/profile/list.js +29 -0
  4. package/lib/actions/publishing/profile/list.js.map +1 -0
  5. package/lib/actions/sdk/generate.d.ts +2 -1
  6. package/lib/actions/sdk/generate.js +3 -3
  7. package/lib/actions/sdk/generate.js.map +1 -1
  8. package/lib/actions/sdk/publish/interactive.d.ts +13 -0
  9. package/lib/actions/sdk/publish/interactive.js +105 -0
  10. package/lib/actions/sdk/publish/interactive.js.map +1 -0
  11. package/lib/actions/sdk/publish/non-interactive.d.ts +14 -0
  12. package/lib/actions/sdk/publish/non-interactive.js +101 -0
  13. package/lib/actions/sdk/publish/non-interactive.js.map +1 -0
  14. package/lib/actions/sdk/publish.d.ts +18 -0
  15. package/lib/actions/sdk/publish.js +57 -0
  16. package/lib/actions/sdk/publish.js.map +1 -0
  17. package/lib/commands/publishing/profile/list.d.ts +9 -0
  18. package/lib/commands/publishing/profile/list.js +28 -0
  19. package/lib/commands/publishing/profile/list.js.map +1 -0
  20. package/lib/commands/sdk/publish.d.ts +18 -0
  21. package/lib/commands/sdk/publish.js +73 -0
  22. package/lib/commands/sdk/publish.js.map +1 -0
  23. package/lib/infrastructure/env-info.d.ts +2 -0
  24. package/lib/infrastructure/env-info.js +23 -12
  25. package/lib/infrastructure/env-info.js.map +1 -1
  26. package/lib/infrastructure/file-service.d.ts +4 -0
  27. package/lib/infrastructure/file-service.js +43 -0
  28. package/lib/infrastructure/file-service.js.map +1 -1
  29. package/lib/infrastructure/git-service.d.ts +0 -1
  30. package/lib/infrastructure/git-service.js +0 -3
  31. package/lib/infrastructure/git-service.js.map +1 -1
  32. package/lib/infrastructure/launcher-service.d.ts +3 -0
  33. package/lib/infrastructure/launcher-service.js +13 -1
  34. package/lib/infrastructure/launcher-service.js.map +1 -1
  35. package/lib/infrastructure/os-extensions.d.ts +2 -0
  36. package/lib/infrastructure/os-extensions.js +6 -0
  37. package/lib/infrastructure/os-extensions.js.map +1 -0
  38. package/lib/infrastructure/service-error.d.ts +1 -0
  39. package/lib/infrastructure/service-error.js +3 -0
  40. package/lib/infrastructure/service-error.js.map +1 -1
  41. package/lib/infrastructure/services/portal-service.d.ts +2 -1
  42. package/lib/infrastructure/services/portal-service.js +2 -2
  43. package/lib/infrastructure/services/portal-service.js.map +1 -1
  44. package/lib/infrastructure/services/publishing-api-service.d.ts +19 -0
  45. package/lib/infrastructure/services/publishing-api-service.js +111 -0
  46. package/lib/infrastructure/services/publishing-api-service.js.map +1 -0
  47. package/lib/infrastructure/zip-service.d.ts +2 -2
  48. package/lib/infrastructure/zip-service.js +29 -11
  49. package/lib/infrastructure/zip-service.js.map +1 -1
  50. package/lib/prompts/format.d.ts +0 -2
  51. package/lib/prompts/format.js +0 -31
  52. package/lib/prompts/format.js.map +1 -1
  53. package/lib/prompts/prompt.d.ts +6 -0
  54. package/lib/prompts/prompt.js +45 -0
  55. package/lib/prompts/prompt.js.map +1 -1
  56. package/lib/prompts/publishing/profile/list.d.ts +9 -0
  57. package/lib/prompts/publishing/profile/list.js +27 -0
  58. package/lib/prompts/publishing/profile/list.js.map +1 -0
  59. package/lib/prompts/sdk/publish/interactive.d.ts +30 -0
  60. package/lib/prompts/sdk/publish/interactive.js +139 -0
  61. package/lib/prompts/sdk/publish/interactive.js.map +1 -0
  62. package/lib/prompts/sdk/publish/non-interactive.d.ts +27 -0
  63. package/lib/prompts/sdk/publish/non-interactive.js +97 -0
  64. package/lib/prompts/sdk/publish/non-interactive.js.map +1 -0
  65. package/lib/prompts/sdk/publish.d.ts +12 -0
  66. package/lib/prompts/sdk/publish.js +16 -0
  67. package/lib/prompts/sdk/publish.js.map +1 -0
  68. package/lib/types/build-context.d.ts +2 -1
  69. package/lib/types/build-context.js +12 -2
  70. package/lib/types/build-context.js.map +1 -1
  71. package/lib/types/events/sdk-publish-validation-failed.d.ts +5 -0
  72. package/lib/types/events/sdk-publish-validation-failed.js +8 -0
  73. package/lib/types/events/sdk-publish-validation-failed.js.map +1 -0
  74. package/lib/types/merge-source-tree-context.js +2 -1
  75. package/lib/types/merge-source-tree-context.js.map +1 -1
  76. package/lib/types/package-settings-context.d.ts +10 -0
  77. package/lib/types/package-settings-context.js +20 -0
  78. package/lib/types/package-settings-context.js.map +1 -0
  79. package/lib/types/publish/package-settings-configuration.d.ts +70 -0
  80. package/lib/types/publish/package-settings-configuration.js +46 -0
  81. package/lib/types/publish/package-settings-configuration.js.map +1 -0
  82. package/lib/types/publish/profile-id.d.ts +10 -0
  83. package/lib/types/publish/profile-id.js +22 -0
  84. package/lib/types/publish/profile-id.js.map +1 -0
  85. package/lib/types/publish/publishing-profile.d.ts +18 -0
  86. package/lib/types/publish/publishing-profile.js +105 -0
  87. package/lib/types/publish/publishing-profile.js.map +1 -0
  88. package/lib/types/publish/publishing-profiles.d.ts +12 -0
  89. package/lib/types/publish/publishing-profiles.js +36 -0
  90. package/lib/types/publish/publishing-profiles.js.map +1 -0
  91. package/lib/types/publish/version.d.ts +7 -0
  92. package/lib/types/publish/version.js +17 -0
  93. package/lib/types/publish/version.js.map +1 -0
  94. package/lib/types/publish-api/publish-log.d.ts +20 -0
  95. package/lib/types/publish-api/publish-log.js +2 -0
  96. package/lib/types/publish-api/publish-log.js.map +1 -0
  97. package/lib/types/publish-api/publishing-info.d.ts +4 -0
  98. package/lib/types/publish-api/publishing-info.js +2 -0
  99. package/lib/types/publish-api/publishing-info.js.map +1 -0
  100. package/lib/types/publish-api/publishing-profile-item.d.ts +183 -0
  101. package/lib/types/publish-api/publishing-profile-item.js +6 -0
  102. package/lib/types/publish-api/publishing-profile-item.js.map +1 -0
  103. package/package.json +16 -8
@@ -0,0 +1,36 @@
1
+ import { err, ok } from 'neverthrow';
2
+ import { PublishingProfile } from './publishing-profile.js';
3
+ export class PublishingProfiles {
4
+ constructor(items) {
5
+ this.items = items;
6
+ }
7
+ static create(items) {
8
+ if (items.length === 0) {
9
+ return err('No publishing profiles found. Please create a publishing profile on the APIMatic App before publishing an SDK.');
10
+ }
11
+ return ok(new PublishingProfiles(items.map((item) => PublishingProfile.create(item))));
12
+ }
13
+ getActiveProfiles() {
14
+ return this.items.filter((p) => p.hasEnabledLanguages());
15
+ }
16
+ toActiveProfilesGroups() {
17
+ return this.groupByApiGroup(this.getActiveProfiles().map((p) => p.toPublishingProfileWithLanguagesGroup()));
18
+ }
19
+ toPublishingProfileSummariesByApiGroups() {
20
+ return this.groupByApiGroup(this.items.map((p) => p.toPublishingProfileSummaryGroup()));
21
+ }
22
+ groupByApiGroup(entries) {
23
+ const map = new Map();
24
+ for (const entry of entries) {
25
+ const existing = map.get(entry.apiGroupName);
26
+ if (existing) {
27
+ existing.profiles.push(...entry.profiles);
28
+ }
29
+ else {
30
+ map.set(entry.apiGroupName, Object.assign(Object.assign({}, entry), { profiles: [...entry.profiles] }));
31
+ }
32
+ }
33
+ return [...map.values()];
34
+ }
35
+ }
36
+ //# sourceMappingURL=publishing-profiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishing-profiles.js","sourceRoot":"","sources":["../../../src/types/publish/publishing-profiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,EAAE,EAAU,MAAM,YAAY,CAAC;AAM7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,OAAO,kBAAkB;IAC7B,YAAqC,KAA0B;QAA1B,UAAK,GAAL,KAAK,CAAqB;IAAG,CAAC;IAE5D,MAAM,CAAC,MAAM,CAAC,KAA8B;QACjD,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvB,OAAO,GAAG,CAAC,gHAAgH,CAAC,CAAC;QAC/H,CAAC;QAED,OAAO,EAAE,CAAC,IAAI,kBAAkB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACzF,CAAC;IAEM,iBAAiB;QACtB,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC,CAAC;IAC3D,CAAC;IAEM,sBAAsB;QAC3B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;IAC9G,CAAC;IAEM,uCAAuC;QAC5C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,+BAA+B,EAAE,CAAC,CAAC,CAAC;IAC1F,CAAC;IAEO,eAAe,CAA0D,OAAY;QAC3F,MAAM,GAAG,GAAG,IAAI,GAAG,EAAa,CAAC;QACjC,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;YAC5B,MAAM,QAAQ,GAAG,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAC7C,IAAI,QAAQ,EAAE,CAAC;gBACZ,QAAQ,CAAC,QAAsB,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACN,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,YAAY,kCAAO,KAAK,KAAE,QAAQ,EAAE,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAG,CAAC;YAC3E,CAAC;QACH,CAAC;QACD,OAAO,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,7 @@
1
+ import { Result } from 'neverthrow';
2
+ export declare class SemVersion {
3
+ private readonly value;
4
+ private constructor();
5
+ static tryCreate(value: string): Result<SemVersion, string>;
6
+ toString(): string;
7
+ }
@@ -0,0 +1,17 @@
1
+ import { ok, err } from 'neverthrow';
2
+ export class SemVersion {
3
+ constructor(value) {
4
+ this.value = value;
5
+ }
6
+ static tryCreate(value) {
7
+ const parts = value.split('.');
8
+ if (parts.length !== 3 || !parts.every((p) => p !== '' && !isNaN(Number(p)) && Number(p) >= 0)) {
9
+ return err('Invalid version format. Expected major.minor.patch (e.g., 1.0.0).');
10
+ }
11
+ return ok(new SemVersion(value));
12
+ }
13
+ toString() {
14
+ return this.value;
15
+ }
16
+ }
17
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/types/publish/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,EAAE,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,OAAO,UAAU;IAGrB,YAAoB,KAAa;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,KAAa;QACnC,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC/B,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;YAC/F,OAAO,GAAG,CAAC,mEAAmE,CAAC,CAAC;QAClF,CAAC;QACD,OAAO,EAAE,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACnC,CAAC;IAEM,QAAQ;QACb,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF"}
@@ -0,0 +1,20 @@
1
+ type SdkLanguage = "CSharp" | "Java" | "Php" | "Python" | "Ruby" | "TypeScript";
2
+ type PublishType = "Package" | "SourceCode";
3
+ type PublishEventType = "Queued" | "InProgress" | "Succeeded" | "Failed" | "Exception" | "InternalError";
4
+ export interface PublishLogEventItem {
5
+ sdkLanguage: SdkLanguage;
6
+ languageVersion: string;
7
+ publishType: PublishType;
8
+ eventType: PublishEventType;
9
+ inProgressTimeStamp: string | null;
10
+ timeStamp: string;
11
+ logUrl: string | null;
12
+ sdkUrl: string | null;
13
+ packageUrl: string | null;
14
+ sourceUrl: string | null;
15
+ }
16
+ export interface PublishLogItem {
17
+ publishLogId: string;
18
+ events: PublishLogEventItem[];
19
+ }
20
+ export {};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=publish-log.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publish-log.js","sourceRoot":"","sources":["../../../src/types/publish-api/publish-log.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface PublishingInfo {
2
+ publishLogId: string;
3
+ publishingLogUrl: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=publishing-info.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishing-info.js","sourceRoot":"","sources":["../../../src/types/publish-api/publishing-info.ts"],"names":[],"mappings":""}
@@ -0,0 +1,183 @@
1
+ import { Language } from '../sdk/generate.js';
2
+ export declare enum PublishType {
3
+ PackagePublishing = "package",
4
+ SourceCodePublishing = "sourcecode"
5
+ }
6
+ export interface KeyValueItem {
7
+ key: string;
8
+ value: string;
9
+ }
10
+ export interface BaseConfigurationItem {
11
+ isEnabled: boolean;
12
+ credentialsId: string;
13
+ }
14
+ export interface GitConfigurationItem extends BaseConfigurationItem {
15
+ repositoryName: string;
16
+ branch: string;
17
+ }
18
+ export interface CSharpConfigurationItem extends BaseConfigurationItem {
19
+ packageId: string;
20
+ authors: string | null;
21
+ description: string | null;
22
+ title: string | null;
23
+ packageTags: string | null;
24
+ repositoryUrl: string | null;
25
+ repositoryType: string | null;
26
+ packageProjectUrl: string | null;
27
+ packageIcon: string | null;
28
+ packageReleaseNotes: string | null;
29
+ copyright: string | null;
30
+ }
31
+ export interface GoConfigurationItem extends BaseConfigurationItem {
32
+ packageName: string;
33
+ }
34
+ export interface JavaDeveloper {
35
+ name: string;
36
+ email: string;
37
+ organization: string | null;
38
+ organizationUrl: string | null;
39
+ }
40
+ export interface JavaSnapShotRepository {
41
+ id: string;
42
+ name: string | null;
43
+ url: string | null;
44
+ }
45
+ export interface JavaDistributionManagement {
46
+ snapShotRepository: JavaSnapShotRepository;
47
+ }
48
+ export interface JavaScm {
49
+ connection: string;
50
+ developerConnection: string;
51
+ url: string;
52
+ }
53
+ export interface JavaConfigurationItem extends BaseConfigurationItem {
54
+ groupId: string;
55
+ artifactId: string;
56
+ name: string;
57
+ description: string;
58
+ url: string;
59
+ developers: JavaDeveloper[];
60
+ distributionManagement: JavaDistributionManagement;
61
+ scm: JavaScm;
62
+ }
63
+ export interface PhpAuthor {
64
+ name: string | null;
65
+ email: string | null;
66
+ homepage: string | null;
67
+ role: string | null;
68
+ }
69
+ export interface PhpSupport {
70
+ email: string | null;
71
+ issues: string | null;
72
+ forum: string | null;
73
+ wiki: string | null;
74
+ irc: string | null;
75
+ chat: string | null;
76
+ source: string | null;
77
+ docs: string | null;
78
+ rss: string | null;
79
+ }
80
+ export interface PhpConfigurationItem extends BaseConfigurationItem {
81
+ gitCredentialsId: string;
82
+ repositoryName: string;
83
+ branchName: string;
84
+ vendorName: string;
85
+ projectName: string;
86
+ description: string;
87
+ type: string | null;
88
+ keywords: string[];
89
+ homepage: string | null;
90
+ authors: PhpAuthor[];
91
+ support: PhpSupport;
92
+ releaseNotes: string | null;
93
+ }
94
+ export interface PythonPerson {
95
+ email: string | null;
96
+ name: string | null;
97
+ }
98
+ export interface PythonConfigurationItem extends BaseConfigurationItem {
99
+ name: string;
100
+ description: string | null;
101
+ authors: PythonPerson[];
102
+ maintainers: PythonPerson[];
103
+ keywords: string[];
104
+ classifiers: string[];
105
+ urls: KeyValueItem[];
106
+ }
107
+ export interface RubyConfigurationItem extends BaseConfigurationItem {
108
+ name: string;
109
+ authors: string[];
110
+ summary: string;
111
+ description: string | null;
112
+ email: string[];
113
+ homepage: string | null;
114
+ metadata: KeyValueItem[];
115
+ postInstallMessage: string | null;
116
+ requirements: string[];
117
+ }
118
+ export interface TsPerson {
119
+ name: string | null;
120
+ email: string | null;
121
+ url: string | null;
122
+ }
123
+ export interface TsBugs {
124
+ url: string | null;
125
+ email: string | null;
126
+ }
127
+ export interface TsRepository {
128
+ type: string | null;
129
+ url: string | null;
130
+ directory: string | null;
131
+ }
132
+ export interface TypeScriptConfigurationItem extends BaseConfigurationItem {
133
+ name: string;
134
+ author: TsPerson;
135
+ description: string | null;
136
+ contributors: TsPerson[];
137
+ bugs: TsBugs;
138
+ keywords: string[];
139
+ homepage: string | null;
140
+ repository: TsRepository;
141
+ }
142
+ export interface PublishingProfileItem {
143
+ id: string;
144
+ name: string;
145
+ apiGroupId: string;
146
+ apiGroupName: string;
147
+ cSharpConfiguration: CSharpConfigurationItem | null;
148
+ goConfiguration: GoConfigurationItem | null;
149
+ javaConfiguration: JavaConfigurationItem | null;
150
+ phpConfiguration: PhpConfigurationItem | null;
151
+ pythonConfiguration: PythonConfigurationItem | null;
152
+ rubyConfiguration: RubyConfigurationItem | null;
153
+ typeScriptConfiguration: TypeScriptConfigurationItem | null;
154
+ cSharpGitConfiguration: GitConfigurationItem | null;
155
+ goGitConfiguration: GitConfigurationItem | null;
156
+ javaGitConfiguration: GitConfigurationItem | null;
157
+ phpGitConfiguration: GitConfigurationItem | null;
158
+ pythonGitConfiguration: GitConfigurationItem | null;
159
+ rubyGitConfiguration: GitConfigurationItem | null;
160
+ typeScriptGitConfiguration: GitConfigurationItem | null;
161
+ }
162
+ export interface LanguagePublishingConfig {
163
+ language: Language;
164
+ packageConfig: BaseConfigurationItem | null;
165
+ gitConfig: BaseConfigurationItem | null;
166
+ }
167
+ export interface PublishingProfileWithLanguages {
168
+ profile: PublishingProfileItem;
169
+ enabledLanguages: Language[];
170
+ }
171
+ export interface PublishingProfileWithLanguagesGroup {
172
+ apiGroupName: string;
173
+ profiles: PublishingProfileWithLanguages[];
174
+ }
175
+ export interface PublishingProfileSummary {
176
+ name: string;
177
+ id: string;
178
+ enabledLanguages: Language[];
179
+ }
180
+ export interface PublishingProfileSummaryGroup {
181
+ apiGroupName: string;
182
+ profiles: PublishingProfileSummary[];
183
+ }
@@ -0,0 +1,6 @@
1
+ export var PublishType;
2
+ (function (PublishType) {
3
+ PublishType["PackagePublishing"] = "package";
4
+ PublishType["SourceCodePublishing"] = "sourcecode";
5
+ })(PublishType || (PublishType = {}));
6
+ //# sourceMappingURL=publishing-profile-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishing-profile-item.js","sourceRoot":"","sources":["../../../src/types/publish-api/publishing-profile-item.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,4CAA6B,CAAA;IAC7B,kDAAmC,CAAA;AACrC,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apimatic/cli",
3
3
  "description": "The official CLI for APIMatic.",
4
- "version": "1.1.0-beta.11",
4
+ "version": "1.1.0-beta.14",
5
5
  "author": "APIMatic",
6
6
  "bin": {
7
7
  "apimatic": "./bin/run.js"
@@ -52,7 +52,6 @@
52
52
  "@oclif/core": "^4.2.8",
53
53
  "@oclif/plugin-autocomplete": "^3.2.24",
54
54
  "@oclif/plugin-help": "^6.2.26",
55
- "archiver": "^7.0.1",
56
55
  "async-mutex": "^0.5.0",
57
56
  "axios": "^1.8.1",
58
57
  "chokidar": "^3.6.0",
@@ -74,16 +73,16 @@
74
73
  "tmp-promise": "^3.0.3",
75
74
  "tslib": "^2.8.1",
76
75
  "uuid": "^11.1.0",
77
- "yaml": "^2.8.0"
76
+ "yaml": "^2.8.0",
77
+ "yazl": "^3.3.1"
78
78
  },
79
79
  "devDependencies": {
80
- "@commitlint/cli": "^15.0.0",
80
+ "@commitlint/cli": "^20.5.0",
81
81
  "@commitlint/config-conventional": "^15.0.0",
82
82
  "@eslint/js": "^9.34.0",
83
83
  "@oclif/test": "^4.1.13",
84
84
  "@semantic-release/changelog": "^6.0.3",
85
85
  "@semantic-release/git": "^10.0.1",
86
- "@types/archiver": "^5.3.4",
87
86
  "@types/base-64": "^1.0.0",
88
87
  "@types/chai": "^4.3.20",
89
88
  "@types/connect-livereload": "^0.5.32",
@@ -98,6 +97,7 @@
98
97
  "@types/sinon": "^17.0.4",
99
98
  "@types/treeify": "^1.0.3",
100
99
  "@types/unzipper": "^0.10.4",
100
+ "@types/yazl": "^3.3.0",
101
101
  "@typescript-eslint/eslint-plugin": "^8.0.0",
102
102
  "@typescript-eslint/parser": "^8.0.0",
103
103
  "chai": "^4.5.0",
@@ -112,6 +112,7 @@
112
112
  "nyc": "^17.1.0",
113
113
  "oclif": "^4.17.34",
114
114
  "rimraf": "^6.0.1",
115
+ "semantic-release": "^23.1.1",
115
116
  "sinon": "^21.0.0",
116
117
  "ts-node": "^10.9.2",
117
118
  "tsx": "^4.20.3",
@@ -121,7 +122,7 @@
121
122
  "commands": "./lib/commands",
122
123
  "dirname": "apimatic",
123
124
  "bin": "apimatic",
124
- "description": "The official CLI for APIMatic. \nTo get started with APIMatic's CLI using a step by step wizard, run 'apimatic portal:quickstart'.",
125
+ "description": "The official CLI for APIMatic. \nTo get started with APIMatic's CLI using a step by step wizard, run 'apimatic quickstart'.",
125
126
  "hooks": {
126
127
  "command_not_found": "./lib/hooks/not-found"
127
128
  },
@@ -140,7 +141,13 @@
140
141
  "description": "Generate, download and serve an API Documentation portal for your APIs."
141
142
  },
142
143
  "sdk": {
143
- "description": "Generate SDKs for your APIs in multiple languages."
144
+ "description": "Generate and publish SDKs for your APIs in multiple languages."
145
+ },
146
+ "publishing": {
147
+ "description": "Manage SDK publishing configurations."
148
+ },
149
+ "publishing:profile": {
150
+ "description": "Manage publishing profiles."
144
151
  },
145
152
  "portal:toc": {
146
153
  "description": "Generate a Table of Contents (TOC) file for your API documentation portal."
@@ -154,11 +161,12 @@
154
161
  "*.{js,ts}": "prettier --write"
155
162
  },
156
163
  "overrides": {
164
+ "diff": "^8.0.4",
157
165
  "inflight": "npm:lru-cache@^7.14.1",
158
166
  "lodash.get": "npm:lodash@^4.17.21",
159
167
  "@humanwhocodes/config-array": "npm:@eslint/config-array@latest",
160
168
  "rimraf": "^6.0.1",
161
- "glob": "^10.4.5",
169
+ "glob": "^13.0.0",
162
170
  "q": "npm:promise@^8.3.0"
163
171
  }
164
172
  }