@salesforce/packaging 1.0.16 → 1.1.0
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/interfaces/packagingInterfacesAndType.d.ts +42 -38
- package/lib/interfaces/packagingSObjects.d.ts +2 -0
- package/lib/package/packageCreate.d.ts +1 -1
- package/lib/package/packageUninstall.d.ts +1 -1
- package/lib/package/packageVersion.d.ts +1 -1
- package/lib/package/packageVersionCreate.js +3 -1
- package/lib/package/packageVersionList.js +41 -11
- package/lib/utils/packageUtils.d.ts +2 -2
- package/package.json +8 -8
|
@@ -21,20 +21,20 @@ export interface IPackageVersion2GP {
|
|
|
21
21
|
uninstall(): Promise<void>;
|
|
22
22
|
update(): Promise<void>;
|
|
23
23
|
}
|
|
24
|
-
export
|
|
24
|
+
export type PackageOptions = {
|
|
25
25
|
connection: Connection;
|
|
26
26
|
project: SfProject;
|
|
27
27
|
packageAliasOrId: string;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type PackageUpdateOptions = {
|
|
30
30
|
Id: string;
|
|
31
31
|
Name?: string;
|
|
32
32
|
Description?: string;
|
|
33
33
|
PackageErrorUsername?: string;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
35
|
+
export type PackageIdType = 'PackageId' | 'SubscriberPackageVersionId' | 'PackageInstallRequestId' | 'PackageUninstallRequestId';
|
|
36
|
+
export type PackageVersionOptions1GP = Record<string, unknown>;
|
|
37
|
+
export type PackageVersionCreateRequestResult = {
|
|
38
38
|
Id: string;
|
|
39
39
|
Status: Package2VersionStatus;
|
|
40
40
|
Package2Id: string;
|
|
@@ -48,17 +48,17 @@ export declare type PackageVersionCreateRequestResult = {
|
|
|
48
48
|
CreatedBy: string;
|
|
49
49
|
};
|
|
50
50
|
export declare const PackageVersionCreateRequestResultInProgressStatuses: PackagingSObjects.Package2VersionStatus[];
|
|
51
|
-
export
|
|
51
|
+
export type PackageVersionCreateRequestError = {
|
|
52
52
|
Message: string;
|
|
53
53
|
};
|
|
54
|
-
export
|
|
54
|
+
export type PackageVersionCreateEventData = {
|
|
55
55
|
id: string;
|
|
56
56
|
packageUpdated?: boolean;
|
|
57
57
|
packageVersionCreateRequestResult: PackageVersionCreateRequestResult;
|
|
58
58
|
message?: string;
|
|
59
59
|
timeRemaining?: Duration;
|
|
60
60
|
};
|
|
61
|
-
export
|
|
61
|
+
export type PackageVersionListResult = {
|
|
62
62
|
Id: string;
|
|
63
63
|
Package2Id: string;
|
|
64
64
|
SubscriberPackageVersionId: string;
|
|
@@ -92,9 +92,10 @@ export declare type PackageVersionListResult = {
|
|
|
92
92
|
ReleaseVersion?: string;
|
|
93
93
|
BuildDurationInSeconds?: number;
|
|
94
94
|
HasMetadataRemoved?: boolean;
|
|
95
|
+
Language?: string;
|
|
95
96
|
};
|
|
96
|
-
export
|
|
97
|
-
export
|
|
97
|
+
export type PackageInstallCreateRequest = Partial<Pick<PackageInstallRequest, 'ApexCompileType' | 'EnableRss' | 'NameConflictResolution' | 'PackageInstallSource' | 'Password' | 'SecurityType' | 'UpgradeType'>> & Pick<PackagingSObjects.PackageInstallRequest, 'SubscriberPackageVersionKey'>;
|
|
98
|
+
export type Package1Display = {
|
|
98
99
|
MetadataPackageVersionId: string;
|
|
99
100
|
MetadataPackageId: string;
|
|
100
101
|
Name: string;
|
|
@@ -102,8 +103,8 @@ export declare type Package1Display = {
|
|
|
102
103
|
ReleaseState: string;
|
|
103
104
|
BuildNumber: number;
|
|
104
105
|
};
|
|
105
|
-
export
|
|
106
|
-
export
|
|
106
|
+
export type PackageType = 'Managed' | 'Unlocked';
|
|
107
|
+
export type PackageCreateOptions = {
|
|
107
108
|
name: string;
|
|
108
109
|
description: string;
|
|
109
110
|
noNamespace: boolean;
|
|
@@ -112,7 +113,7 @@ export declare type PackageCreateOptions = {
|
|
|
112
113
|
errorNotificationUsername: string;
|
|
113
114
|
path: string;
|
|
114
115
|
};
|
|
115
|
-
export
|
|
116
|
+
export type PackageDescriptorJson = Partial<NamedPackageDir> & Partial<{
|
|
116
117
|
id: string;
|
|
117
118
|
features: string[];
|
|
118
119
|
orgPreferences: string[];
|
|
@@ -128,8 +129,9 @@ export declare type PackageDescriptorJson = Partial<NamedPackageDir> & Partial<{
|
|
|
128
129
|
subscriberPackageVersionId: string;
|
|
129
130
|
packageId: string;
|
|
130
131
|
versionName: string;
|
|
132
|
+
language?: string;
|
|
131
133
|
}>;
|
|
132
|
-
export
|
|
134
|
+
export type PackageVersionCreateRequest = {
|
|
133
135
|
Package2Id: string;
|
|
134
136
|
VersionInfo: string;
|
|
135
137
|
Tag: string;
|
|
@@ -137,10 +139,11 @@ export declare type PackageVersionCreateRequest = {
|
|
|
137
139
|
InstallKey: string;
|
|
138
140
|
Instance: string;
|
|
139
141
|
SourceOrg: string;
|
|
142
|
+
Language?: string;
|
|
140
143
|
CalculateCodeCoverage: boolean;
|
|
141
144
|
SkipValidation: boolean;
|
|
142
145
|
};
|
|
143
|
-
export
|
|
146
|
+
export type PackageVersionListOptions = {
|
|
144
147
|
orderBy: string;
|
|
145
148
|
modifiedLastDays: number;
|
|
146
149
|
createdLastDays: number;
|
|
@@ -149,18 +152,18 @@ export declare type PackageVersionListOptions = {
|
|
|
149
152
|
concise: boolean;
|
|
150
153
|
isReleased: boolean;
|
|
151
154
|
};
|
|
152
|
-
export
|
|
155
|
+
export type PackageVersionUpdateOptions = {
|
|
153
156
|
InstallKey?: string;
|
|
154
157
|
VersionName?: string;
|
|
155
158
|
VersionDescription?: string;
|
|
156
159
|
Branch?: string;
|
|
157
160
|
Tag?: string;
|
|
158
161
|
};
|
|
159
|
-
export
|
|
162
|
+
export type ListPackageVersionOptions = PackageVersionListOptions & {
|
|
160
163
|
connection: Connection;
|
|
161
164
|
};
|
|
162
|
-
export
|
|
163
|
-
export
|
|
165
|
+
export type PackageSaveResult = SaveResult;
|
|
166
|
+
export type PackageVersionCreateRequestOptions = {
|
|
164
167
|
path: string;
|
|
165
168
|
preserve: boolean;
|
|
166
169
|
definitionfile?: string;
|
|
@@ -168,7 +171,7 @@ export declare type PackageVersionCreateRequestOptions = {
|
|
|
168
171
|
branch?: string;
|
|
169
172
|
skipancestorcheck?: boolean;
|
|
170
173
|
};
|
|
171
|
-
export
|
|
174
|
+
export type PackageInstallOptions = {
|
|
172
175
|
/**
|
|
173
176
|
* The frequency to poll the org for package publish status. If providing a number
|
|
174
177
|
* it is interpreted in milliseconds.
|
|
@@ -190,7 +193,7 @@ export declare type PackageInstallOptions = {
|
|
|
190
193
|
*/
|
|
191
194
|
pollingTimeout?: number | Duration;
|
|
192
195
|
};
|
|
193
|
-
export
|
|
196
|
+
export type MDFolderForArtifactOptions = {
|
|
194
197
|
packageName?: string;
|
|
195
198
|
sourceDir?: string;
|
|
196
199
|
outputDir?: string;
|
|
@@ -199,7 +202,7 @@ export declare type MDFolderForArtifactOptions = {
|
|
|
199
202
|
metadataPaths?: string[];
|
|
200
203
|
deploydir?: string;
|
|
201
204
|
};
|
|
202
|
-
export
|
|
205
|
+
export type PackageVersionOptions = {
|
|
203
206
|
connection: Connection;
|
|
204
207
|
/**
|
|
205
208
|
* Can be one of:
|
|
@@ -210,12 +213,12 @@ export declare type PackageVersionOptions = {
|
|
|
210
213
|
idOrAlias: string;
|
|
211
214
|
project: SfProject;
|
|
212
215
|
};
|
|
213
|
-
export
|
|
216
|
+
export type SubscriberPackageVersionOptions = {
|
|
214
217
|
connection: Connection;
|
|
215
218
|
aliasOrId: string;
|
|
216
219
|
password: Optional<string>;
|
|
217
220
|
};
|
|
218
|
-
export
|
|
221
|
+
export type ConvertPackageOptions = {
|
|
219
222
|
installationKey: string;
|
|
220
223
|
definitionfile: string;
|
|
221
224
|
installationKeyBypass: boolean;
|
|
@@ -223,7 +226,7 @@ export declare type ConvertPackageOptions = {
|
|
|
223
226
|
buildInstance: string;
|
|
224
227
|
frequency?: Duration;
|
|
225
228
|
};
|
|
226
|
-
export
|
|
229
|
+
export type PackageVersionCreateOptions = {
|
|
227
230
|
connection: Connection;
|
|
228
231
|
project: SfProject;
|
|
229
232
|
} & Partial<{
|
|
@@ -233,6 +236,7 @@ export declare type PackageVersionCreateOptions = {
|
|
|
233
236
|
definitionfile: string;
|
|
234
237
|
installationkey: string;
|
|
235
238
|
installationkeybypass: boolean;
|
|
239
|
+
language?: string;
|
|
236
240
|
packageId: string;
|
|
237
241
|
path: string;
|
|
238
242
|
postinstallscript: string;
|
|
@@ -250,29 +254,29 @@ export declare type PackageVersionCreateOptions = {
|
|
|
250
254
|
versionnumber: string;
|
|
251
255
|
profileApi: PackageProfileApi;
|
|
252
256
|
}>;
|
|
253
|
-
export
|
|
257
|
+
export type PackageVersionCreateRequestQueryOptions = {
|
|
254
258
|
createdlastdays?: number;
|
|
255
259
|
connection?: Connection;
|
|
256
260
|
status?: 'Queued' | 'InProgress' | 'Success' | 'Error';
|
|
257
261
|
id?: string;
|
|
258
262
|
};
|
|
259
|
-
export
|
|
263
|
+
export type ProfileApiOptions = {
|
|
260
264
|
project: SfProject;
|
|
261
265
|
includeUserLicenses: boolean;
|
|
262
266
|
generateProfileInformation: boolean;
|
|
263
267
|
};
|
|
264
|
-
export
|
|
268
|
+
export type PackageVersionReportResult = Partial<PackagingSObjects.Package2Version> & {
|
|
265
269
|
Package2: Partial<PackagingSObjects.Package2>;
|
|
266
270
|
SubscriberPackageVersion?: Pick<PackagingSObjects.SubscriberPackageVersion, 'Dependencies'>;
|
|
267
271
|
Version: string;
|
|
268
272
|
AncestorVersion?: string;
|
|
269
273
|
PackageType: PackageType;
|
|
270
274
|
};
|
|
271
|
-
export
|
|
275
|
+
export type PackageVersionCreateReportProgress = PackageVersionCreateRequestResult & {
|
|
272
276
|
remainingWaitTime: Duration;
|
|
273
277
|
};
|
|
274
|
-
export
|
|
275
|
-
export
|
|
278
|
+
export type Package1VersionCreateRequest = Pick<PackagingSObjects.PackageUploadRequest, 'VersionName' | 'MetadataPackageId'> & Partial<Pick<PackagingSObjects.PackageUploadRequest, 'Description' | 'MajorVersion' | 'MinorVersion' | 'IsReleaseVersion' | 'ReleaseNotesUrl' | 'PostInstallUrl' | 'Password'>>;
|
|
279
|
+
export type InstalledPackages = {
|
|
276
280
|
Id: string;
|
|
277
281
|
SubscriberPackageId: string;
|
|
278
282
|
SubscriberPackageVersionId: string;
|
|
@@ -280,10 +284,10 @@ export declare type InstalledPackages = {
|
|
|
280
284
|
SubscriberPackage?: PackagingSObjects.SubscriberPackage;
|
|
281
285
|
SubscriberPackageVersion?: Omit<MetadataPackageVersion, 'MetadataPackageId' | 'ReleaseState' | 'IsDeprecated'>;
|
|
282
286
|
};
|
|
283
|
-
export
|
|
287
|
+
export type CodeCoverage = null | {
|
|
284
288
|
apexCodeCoveragePercentage: number;
|
|
285
289
|
};
|
|
286
|
-
export
|
|
290
|
+
export type CodeCoveragePercentages = null | {
|
|
287
291
|
codeCovPercentages: [
|
|
288
292
|
{
|
|
289
293
|
className: string;
|
|
@@ -291,7 +295,7 @@ export declare type CodeCoveragePercentages = null | {
|
|
|
291
295
|
}
|
|
292
296
|
];
|
|
293
297
|
};
|
|
294
|
-
export
|
|
298
|
+
export type PackageAncestryNodeOptions = Attributes & {
|
|
295
299
|
AncestorId?: string;
|
|
296
300
|
SubscriberPackageVersionId?: string;
|
|
297
301
|
MajorVersion?: string | number;
|
|
@@ -300,17 +304,17 @@ export declare type PackageAncestryNodeOptions = Attributes & {
|
|
|
300
304
|
BuildNumber?: string | number;
|
|
301
305
|
depthCounter?: number;
|
|
302
306
|
};
|
|
303
|
-
export
|
|
304
|
-
export
|
|
307
|
+
export type PackageAncestryData = Omit<PackageAncestryNodeOptions, 'AncestorId'>;
|
|
308
|
+
export type PackageAncestryNodeData = {
|
|
305
309
|
data: PackageAncestryNodeOptions;
|
|
306
310
|
children: PackageAncestryNodeData[];
|
|
307
311
|
};
|
|
308
|
-
export
|
|
312
|
+
export type PackageAncestryOptions = {
|
|
309
313
|
packageId: string;
|
|
310
314
|
project: SfProject;
|
|
311
315
|
connection: Connection;
|
|
312
316
|
};
|
|
313
|
-
export
|
|
317
|
+
export type AncestryRepresentationProducerOptions = {
|
|
314
318
|
[key: string]: unknown;
|
|
315
319
|
node: PackageAncestryNode;
|
|
316
320
|
depth?: number;
|
|
@@ -50,6 +50,7 @@ export declare namespace PackagingSObjects {
|
|
|
50
50
|
ReleaseVersion: number;
|
|
51
51
|
BuildDurationInSeconds: number;
|
|
52
52
|
HasMetadataRemoved: boolean;
|
|
53
|
+
Language: string;
|
|
53
54
|
};
|
|
54
55
|
enum Package2VersionStatus {
|
|
55
56
|
queued = "Queued",
|
|
@@ -82,6 +83,7 @@ export declare namespace PackagingSObjects {
|
|
|
82
83
|
SkipValidation: boolean;
|
|
83
84
|
IsConversionRequest: boolean;
|
|
84
85
|
VersionInfo: string;
|
|
86
|
+
Language: string;
|
|
85
87
|
};
|
|
86
88
|
type Package2VersionCreateRequestError = {
|
|
87
89
|
Id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Connection, NamedPackageDir, PackageDir, SfProject } from '@salesforce/core';
|
|
2
2
|
import { PackageCreateOptions, PackagingSObjects } from '../interfaces';
|
|
3
|
-
|
|
3
|
+
type Package2Request = Pick<PackagingSObjects.Package2, 'Name' | 'Description' | 'NamespacePrefix' | 'ContainerOptions' | 'IsOrgDependent' | 'PackageErrorUsername'>;
|
|
4
4
|
export declare function createPackageRequestFromContext(project: SfProject, options: PackageCreateOptions): Package2Request;
|
|
5
5
|
/**
|
|
6
6
|
* Create packageDirectory json entry for this package that can be written to sfdx-project.json
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Connection } from '@salesforce/core';
|
|
2
2
|
import { Duration } from '@salesforce/kit';
|
|
3
3
|
import { PackagingSObjects } from '../interfaces';
|
|
4
|
-
|
|
4
|
+
type UninstallResult = PackagingSObjects.SubscriberPackageVersionUninstallRequest;
|
|
5
5
|
export declare function getUninstallErrors(conn: Connection, id: string): Promise<Array<{
|
|
6
6
|
Message: string;
|
|
7
7
|
}>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Connection, SfProject } from '@salesforce/core';
|
|
2
2
|
import { Duration } from '@salesforce/kit';
|
|
3
3
|
import { PackageSaveResult, PackageType, PackageVersionCreateOptions, PackageVersionCreateRequestQueryOptions, PackageVersionCreateRequestResult, PackageVersionOptions, PackageVersionReportResult, PackageVersionUpdateOptions, PackagingSObjects } from '../interfaces';
|
|
4
|
-
|
|
4
|
+
type Package2Version = PackagingSObjects.Package2Version;
|
|
5
5
|
export declare const Package2VersionFields: string[];
|
|
6
6
|
/**
|
|
7
7
|
* Provides the ability to create, update, delete, and promote 2nd
|
|
@@ -221,6 +221,7 @@ class PackageVersionCreate {
|
|
|
221
221
|
SourceOrg: this.options.sourceorg,
|
|
222
222
|
CalculateCodeCoverage: this.options.codecoverage || false,
|
|
223
223
|
SkipValidation: this.options.skipvalidation || false,
|
|
224
|
+
Language: this.options.language,
|
|
224
225
|
};
|
|
225
226
|
if (preserveFiles) {
|
|
226
227
|
const message = messages.getMessage('tempFileLocation', [packageVersTmpRoot]);
|
|
@@ -301,8 +302,9 @@ class PackageVersionCreate {
|
|
|
301
302
|
// All dependencies for the packaging dir should be resolved to an 04t id to be passed to the server.
|
|
302
303
|
// (see _retrieveSubscriberPackageVersionId for details)
|
|
303
304
|
const dependencies = packageDescriptorJson.dependencies;
|
|
304
|
-
// branch can be set via options or descriptor; option takes precedence
|
|
305
|
+
// branch and language can be set via options or descriptor; option takes precedence
|
|
305
306
|
this.options.branch = this.options.branch ?? packageDescriptorJson.branch;
|
|
307
|
+
this.options.language = this.options.language ?? packageDescriptorJson.language;
|
|
306
308
|
const resultValues = await Promise.all(!dependencies ? [] : dependencies.map((dependency) => this.retrieveSubscriberPackageVersionId(dependency)));
|
|
307
309
|
const ancestorId = await this.getAncestorId(packageDescriptorJson, this.options.project, this.options.versionnumber ?? packageDescriptorJson.versionNumber, this.options.skipancestorcheck);
|
|
308
310
|
// If dependencies exist, the resultValues array will contain the dependencies populated with a resolved
|
|
@@ -12,16 +12,38 @@ const ts_types_1 = require("@salesforce/ts-types");
|
|
|
12
12
|
const packageUtils_1 = require("../utils/packageUtils");
|
|
13
13
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
14
14
|
const messages = core_1.Messages.loadMessages('@salesforce/packaging', 'package_version_create');
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
|
|
21
|
-
'
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'
|
|
15
|
+
const defaultFields = [
|
|
16
|
+
'Id',
|
|
17
|
+
'Package2Id',
|
|
18
|
+
'SubscriberPackageVersionId',
|
|
19
|
+
'Name',
|
|
20
|
+
'Package2.Name',
|
|
21
|
+
'Package2.NamespacePrefix',
|
|
22
|
+
'Package2.IsOrgDependent',
|
|
23
|
+
'Description',
|
|
24
|
+
'Tag',
|
|
25
|
+
'Branch',
|
|
26
|
+
'MajorVersion',
|
|
27
|
+
'MinorVersion',
|
|
28
|
+
'PatchVersion',
|
|
29
|
+
'BuildNumber',
|
|
30
|
+
'IsReleased',
|
|
31
|
+
'CreatedDate',
|
|
32
|
+
'LastModifiedDate',
|
|
33
|
+
'IsPasswordProtected',
|
|
34
|
+
'AncestorId',
|
|
35
|
+
'ValidationSkipped',
|
|
36
|
+
'CreatedById',
|
|
37
|
+
];
|
|
38
|
+
const verboseFields = [
|
|
39
|
+
'CodeCoverage',
|
|
40
|
+
'HasPassedCodeCoverageCheck',
|
|
41
|
+
'ConvertedFromVersionId',
|
|
42
|
+
'ReleaseVersion',
|
|
43
|
+
'BuildDurationInSeconds',
|
|
44
|
+
'HasMetadataRemoved',
|
|
45
|
+
];
|
|
46
|
+
const verbose57Fields = ['Language'];
|
|
25
47
|
exports.DEFAULT_ORDER_BY_FIELDS = 'Package2Id, Branch, MajorVersion, MinorVersion, PatchVersion, BuildNumber';
|
|
26
48
|
let logger;
|
|
27
49
|
const getLogger = () => {
|
|
@@ -39,7 +61,15 @@ exports.listPackageVersions = listPackageVersions;
|
|
|
39
61
|
function constructQuery(options) {
|
|
40
62
|
// construct custom WHERE clause, if applicable
|
|
41
63
|
const where = constructWhere(options.packages, options.createdLastDays, options.modifiedLastDays, options.isReleased);
|
|
42
|
-
|
|
64
|
+
let queryFields = defaultFields;
|
|
65
|
+
if (options.verbose) {
|
|
66
|
+
queryFields = [...queryFields, ...verboseFields];
|
|
67
|
+
if (Number(options.connection.version) >= 57) {
|
|
68
|
+
queryFields = [...queryFields, ...verbose57Fields];
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
const query = `SELECT ${queryFields.toString()} FROM Package2Version`;
|
|
72
|
+
return assembleQueryParts(query, where, options.orderBy);
|
|
43
73
|
}
|
|
44
74
|
function assembleQueryParts(select, where, orderBy) {
|
|
45
75
|
// construct ORDER BY clause
|
|
@@ -4,11 +4,11 @@ import { SaveError } from 'jsforce';
|
|
|
4
4
|
import { Duration } from '@salesforce/kit';
|
|
5
5
|
import { PackageType, PackagingSObjects } from '../interfaces';
|
|
6
6
|
export declare const VERSION_NUMBER_SEP = ".";
|
|
7
|
-
export
|
|
7
|
+
export type IdRegistryValue = {
|
|
8
8
|
prefix: string;
|
|
9
9
|
label: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type IdRegistry = {
|
|
12
12
|
[key: string]: IdRegistryValue;
|
|
13
13
|
};
|
|
14
14
|
export declare const INSTALL_URL_BASE: SfdcUrl;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/packaging",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Packaging library for the Salesforce packaging platform",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@oclif/core": "^1.20.4",
|
|
42
|
-
"@salesforce/core": "^3.
|
|
42
|
+
"@salesforce/core": "^3.32.6",
|
|
43
43
|
"@salesforce/kit": "^1.8.0",
|
|
44
44
|
"@salesforce/schemas": "^1.4.0",
|
|
45
45
|
"@salesforce/source-deploy-retrieve": "^7.5.13",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"xml2js": "^0.4.23"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@salesforce/cli-plugins-testkit": "^3.2.
|
|
61
|
+
"@salesforce/cli-plugins-testkit": "^3.2.12",
|
|
62
62
|
"@salesforce/dev-config": "^3.1.0",
|
|
63
63
|
"@salesforce/dev-scripts": "^3.1.0",
|
|
64
64
|
"@salesforce/prettier-config": "^0.0.2",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"@types/jszip": "^3.4.1",
|
|
69
69
|
"@types/xml2js": "^0.4.11",
|
|
70
70
|
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
|
71
|
-
"@typescript-eslint/parser": "5.
|
|
71
|
+
"@typescript-eslint/parser": "5.46.0",
|
|
72
72
|
"chai": "^4.3.7",
|
|
73
|
-
"commitizen": "^4.2.
|
|
74
|
-
"eslint": "^8.
|
|
73
|
+
"commitizen": "^4.2.6",
|
|
74
|
+
"eslint": "^8.29.0",
|
|
75
75
|
"eslint-config-prettier": "^8.5.0",
|
|
76
76
|
"eslint-config-salesforce": "^1.1.0",
|
|
77
77
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"husky": "^8.0.1",
|
|
83
83
|
"mocha": "^10.0.0",
|
|
84
84
|
"nyc": "^15.1.0",
|
|
85
|
-
"prettier": "^2.
|
|
85
|
+
"prettier": "^2.8.0",
|
|
86
86
|
"pretty-quick": "^3.1.3",
|
|
87
87
|
"shelljs": "0.8.5",
|
|
88
88
|
"sinon": "14.0.2",
|
|
89
89
|
"ts-node": "^10.9.1",
|
|
90
|
-
"typescript": "4.
|
|
90
|
+
"typescript": "4.9.4"
|
|
91
91
|
},
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|