@salesforce/plugin-signups 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.2.0](https://github.com/salesforcecli/plugin-signups/compare/v1.1.2...v1.2.0) (2022-06-22)
6
+
7
+ ### Features
8
+
9
+ - use StateAggregator ([e6e3d78](https://github.com/salesforcecli/plugin-signups/commit/e6e3d78e0fc47208260f3dcc9574c6766b853b6c))
10
+
11
+ ### [1.1.2](https://github.com/salesforcecli/plugin-signups/compare/v1.1.1...v1.1.2) (2022-05-20)
12
+
13
+ ### Bug Fixes
14
+
15
+ - add prompt to examples ([dece28b](https://github.com/salesforcecli/plugin-signups/commit/dece28bd8db12ca48331df15b2b2b3e5e73905c3))
16
+ - add prompt to examples ([475f621](https://github.com/salesforcecli/plugin-signups/commit/475f621f641e9947010ba1f9f355be4262f1e3fe))
17
+ - add prompt to examples ([288e20a](https://github.com/salesforcecli/plugin-signups/commit/288e20a6247f1c1e6a0fd34e0b2ee2468c0198c9))
18
+
19
+ ### [1.1.1](https://github.com/salesforcecli/plugin-signups/compare/v1.1.0...v1.1.1) (2022-05-17)
20
+
21
+ ### Bug Fixes
22
+
23
+ - remove "beta" state from Org Shape ([#35](https://github.com/salesforcecli/plugin-signups/issues/35)) ([ba96632](https://github.com/salesforcecli/plugin-signups/commit/ba966325e58d48aa3ccdfa9e2d3a7ead1a32e775))
24
+
5
25
  ## 1.1.0 (2022-05-11)
6
26
 
7
27
  ### Features
package/README.md CHANGED
@@ -113,7 +113,7 @@ EXAMPLES
113
113
  $ sfdx force:org:shape:create -u me@my.org --json --loglevel debug
114
114
  ```
115
115
 
116
- _See code: [src/commands/force/org/shape/create.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.0/src/commands/force/org/shape/create.ts)_
116
+ _See code: [src/commands/force/org/shape/create.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.2/src/commands/force/org/shape/create.ts)_
117
117
 
118
118
  ## `sfdx force:org:shape:delete [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
119
119
 
@@ -147,7 +147,7 @@ EXAMPLES
147
147
  $ sfdx force:org:shape:delete -u me@my.org -p --json > tmp/MyOrgShapeDelete.json
148
148
  ```
149
149
 
150
- _See code: [src/commands/force/org/shape/delete.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.0/src/commands/force/org/shape/delete.ts)_
150
+ _See code: [src/commands/force/org/shape/delete.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.2/src/commands/force/org/shape/delete.ts)_
151
151
 
152
152
  ## `sfdx force:org:shape:list [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
153
153
 
@@ -176,7 +176,7 @@ EXAMPLES
176
176
  $ sfdx force:org:shape:list --json > tmp/MyOrgShapeList.json
177
177
  ```
178
178
 
179
- _See code: [src/commands/force/org/shape/list.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.0/src/commands/force/org/shape/list.ts)_
179
+ _See code: [src/commands/force/org/shape/list.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.2/src/commands/force/org/shape/list.ts)_
180
180
 
181
181
  ## `sfdx force:org:snapshot:create -o <string> -n <string> [-d <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
182
182
 
@@ -215,20 +215,14 @@ DESCRIPTION
215
215
  EXAMPLES
216
216
  Create a snapshot called "Dependencies" using the source scratch org ID:
217
217
 
218
-
219
-
220
- sfdx force:org:snapshot:create --sourceorg 00Dxx0000000000 --snapshotname Dependencies --description 'Contains PackageA v1.1.0'
221
-
222
-
218
+ $ sfdx force:org:snapshot:create --sourceorg 00Dxx0000000000 --snapshotname Dependencies --description 'Contains PackageA v1.1.0'
223
219
 
224
220
  Create a snapshot called "NightlyBranch" using the source scratch org username:
225
221
 
226
-
227
-
228
- sfdx force:org:snapshot:create -o myuser@myorg -n NightlyBranch -d 'Contains PkgA v2.1.0 and PkgB 3.3.0'
222
+ $ sfdx force:org:snapshot:create -o myuser@myorg -n NightlyBranch -d 'Contains PkgA v2.1.0 and PkgB 3.3.0'
229
223
  ```
230
224
 
231
- _See code: [src/commands/force/org/snapshot/create.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.0/src/commands/force/org/snapshot/create.ts)_
225
+ _See code: [src/commands/force/org/snapshot/create.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.2/src/commands/force/org/snapshot/create.ts)_
232
226
 
233
227
  ## `sfdx force:org:snapshot:delete -s <string> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
234
228
 
@@ -259,20 +253,14 @@ DESCRIPTION
259
253
  EXAMPLES
260
254
  Delete a snapshot from the default Dev Hub using the snapshot ID:
261
255
 
262
-
263
-
264
- sfdx force:org:snapshot:delete --snapshot 0Oo...
265
-
266
-
256
+ $ sfdx force:org:snapshot:delete --snapshot 0Oo...
267
257
 
268
258
  Delete a snapshot from the specified Dev Hub using the snapshot name:
269
259
 
270
-
271
-
272
- sfdx force:org:snapshot:delete -s BaseSnapshot -v SnapshotDevHub
260
+ $ sfdx force:org:snapshot:delete -s BaseSnapshot -v SnapshotDevHub
273
261
  ```
274
262
 
275
- _See code: [src/commands/force/org/snapshot/delete.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.0/src/commands/force/org/snapshot/delete.ts)_
263
+ _See code: [src/commands/force/org/snapshot/delete.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.2/src/commands/force/org/snapshot/delete.ts)_
276
264
 
277
265
  ## `sfdx force:org:snapshot:get -s <string> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
278
266
 
@@ -306,20 +294,14 @@ DESCRIPTION
306
294
  EXAMPLES
307
295
  Get snapshot details using its ID:
308
296
 
309
-
310
-
311
- sfdx force:org:snapshot:get --snapshot 0Oo...
312
-
313
-
297
+ $ sfdx force:org:snapshot:get --snapshot 0Oo...
314
298
 
315
299
  Get snapshot details using its name:
316
300
 
317
-
318
-
319
- sfdx force:org:snapshot:get -s Dependencies
301
+ $ sfdx force:org:snapshot:get -s Dependencies
320
302
  ```
321
303
 
322
- _See code: [src/commands/force/org/snapshot/get.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.0/src/commands/force/org/snapshot/get.ts)_
304
+ _See code: [src/commands/force/org/snapshot/get.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.2/src/commands/force/org/snapshot/get.ts)_
323
305
 
324
306
  ## `sfdx force:org:snapshot:list [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
325
307
 
@@ -352,19 +334,13 @@ DESCRIPTION
352
334
  EXAMPLES
353
335
  List snapshots in the default Dev Hub:
354
336
 
355
-
356
-
357
- sfdx force:org:snapshot:list
358
-
359
-
337
+ $ sfdx force:org:snapshot:list
360
338
 
361
339
  List snapshots in the Dev Hub with the specified username:
362
340
 
363
-
364
-
365
- sfdx force:org:snapshot:list -v OtherDevHub@example.com
341
+ $ sfdx force:org:snapshot:list -v OtherDevHub@example.com
366
342
  ```
367
343
 
368
- _See code: [src/commands/force/org/snapshot/list.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.0/src/commands/force/org/snapshot/list.ts)_
344
+ _See code: [src/commands/force/org/snapshot/list.ts](https://github.com/salesforcecli/plugin-signups/blob/v1.1.2/src/commands/force/org/snapshot/list.ts)_
369
345
 
370
346
  <!-- commandsstop -->
@@ -19,9 +19,9 @@ class SnapshotGet extends command_1.SfdxCommand {
19
19
  // sourceorg might be a username or alias, but we need an orgId
20
20
  let sourceOrgId = this.flags.sourceorg;
21
21
  if (!sourceOrgId.startsWith('00D')) {
22
- const globalInfo = await core_1.GlobalInfo.create();
23
- const username = (_a = globalInfo.aliases.getValue(sourceOrgId)) !== null && _a !== void 0 ? _a : sourceOrgId;
24
- sourceOrgId = (_b = globalInfo.orgs.get(username)) === null || _b === void 0 ? void 0 : _b.orgId;
22
+ const stateAggregator = await core_1.StateAggregator.create();
23
+ const username = (_a = stateAggregator.aliases.getValue(sourceOrgId)) !== null && _a !== void 0 ? _a : sourceOrgId;
24
+ sourceOrgId = (_b = (await stateAggregator.orgs.read(username))) === null || _b === void 0 ? void 0 : _b.orgId;
25
25
  }
26
26
  const createResponse = await this.hubOrg
27
27
  .getConnection()
@@ -1 +1 @@
1
- {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../src/commands/force/org/snapshot/create.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2BAAyB;AACzB,iDAAsE;AACtE,2CAAwD;AACxD,0DAAmG;AAEnG,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,4BAA4B,EAAE,iBAAiB,CAAC,CAAC;AAExF,MAAa,WAAY,SAAQ,qBAAW;IAyBnC,KAAK,CAAC,GAAG;;QACd,+DAA+D;QAC/D,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,SAAmB,CAAC;QAEjD,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;YAClC,MAAM,UAAU,GAAG,MAAM,iBAAU,CAAC,MAAM,EAAE,CAAC;YAC7C,MAAM,QAAQ,GAAG,MAAA,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,mCAAI,WAAW,CAAC;YACzE,WAAW,GAAG,MAAA,UAAU,CAAC,IAAI,CAAC,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on the specified source org",
8
8
  "create_shape_command_description_long": "Create a scratch org configuration (shape) based on the specified source org.",
9
9
  "create_shape_command_help": [
10
- "sfdx force:org:shape:create -u me@my.org",
11
- "sfdx force:org:shape:create -u me@my.org --json --loglevel debug"
10
+ "$ sfdx force:org:shape:create -u me@my.org",
11
+ "$ sfdx force:org:shape:create -u me@my.org --json --loglevel debug"
12
12
  ],
13
13
  "create_shape_command_username": "a username or alias for the target org",
14
14
  "create_shape_command_username_long": "Username or alias of the previously authorized org from which you want to create an org shape.",
@@ -14,12 +14,12 @@
14
14
  "humanSuccess": "Successfully deleted org shape for %s.",
15
15
  "noShapesHumanSuccess": "Can't delete org shape. No org shape found for org %s.",
16
16
  "help": [
17
- "sfdx force:org:shape:delete -u me@my.org",
17
+ "$ sfdx force:org:shape:delete -u me@my.org",
18
18
 
19
- "sfdx force:org:shape:delete -u MyOrgAlias -p",
19
+ "$ sfdx force:org:shape:delete -u MyOrgAlias -p",
20
20
 
21
- "sfdx force:org:shape:delete -u me@my.org --json",
21
+ "$ sfdx force:org:shape:delete -u me@my.org --json",
22
22
 
23
- "sfdx force:org:shape:delete -u me@my.org -p --json > tmp/MyOrgShapeDelete.json"
23
+ "$ sfdx force:org:shape:delete -u me@my.org -p --json > tmp/MyOrgShapeDelete.json"
24
24
  ]
25
25
  }
@@ -6,8 +6,8 @@
6
6
  "noOrgShapes": "No org shapes found.",
7
7
  "noAuthFound": "No authenticated orgs found.",
8
8
  "help": [
9
- "sfdx force:org:shape:list",
10
- "sfdx force:org:shape:list --json",
11
- "sfdx force:org:shape:list --json > tmp/MyOrgShapeList.json"
9
+ "$ sfdx force:org:shape:list",
10
+ "$ sfdx force:org:shape:list --json",
11
+ "$ sfdx force:org:shape:list --json > tmp/MyOrgShapeList.json"
12
12
  ]
13
13
  }
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "description": "create a snapshot of a scratch org\nA snapshot is a point-in-time copy of a scratch org. The copy is stored in Salesforce and referenced by its unique name in a scratch org definition file.\n\nUse \"sfdx force:org:snapshot:get\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" entry (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"sfdx force:org:create\" to create the scratch org.",
3
3
  "examples": [
4
- "Create a snapshot called \"Dependencies\" using the source scratch org ID:\n",
5
- " sfdx force:org:snapshot:create --sourceorg 00Dxx0000000000 --snapshotname Dependencies --description 'Contains PackageA v1.1.0'\n",
6
- "Create a snapshot called \"NightlyBranch\" using the source scratch org username:\n",
7
- " sfdx force:org:snapshot:create -o myuser@myorg -n NightlyBranch -d 'Contains PkgA v2.1.0 and PkgB 3.3.0'"
4
+ "Create a snapshot called \"Dependencies\" using the source scratch org ID:",
5
+ "$ sfdx force:org:snapshot:create --sourceorg 00Dxx0000000000 --snapshotname Dependencies --description 'Contains PackageA v1.1.0'",
6
+ "Create a snapshot called \"NightlyBranch\" using the source scratch org username:",
7
+ "$ sfdx force:org:snapshot:create -o myuser@myorg -n NightlyBranch -d 'Contains PkgA v2.1.0 and PkgB 3.3.0'"
8
8
  ],
9
9
  "flags": {
10
10
  "snapshotname": "unique name of snapshot",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "description": "delete a scratch org snapshot\nDev Hub admins can delete any snapshot, while users can delete only theirs unless a Dev Hub admin gives the user Modify All permissions.",
3
3
  "examples": [
4
- "Delete a snapshot from the default Dev Hub using the snapshot ID:\n",
5
- " sfdx force:org:snapshot:delete --snapshot 0Oo...\n",
6
- "Delete a snapshot from the specified Dev Hub using the snapshot name:\n",
7
- " sfdx force:org:snapshot:delete -s BaseSnapshot -v SnapshotDevHub"
4
+ "Delete a snapshot from the default Dev Hub using the snapshot ID:",
5
+ "$ sfdx force:org:snapshot:delete --snapshot 0Oo...",
6
+ "Delete a snapshot from the specified Dev Hub using the snapshot name:",
7
+ "$ sfdx force:org:snapshot:delete -s BaseSnapshot -v SnapshotDevHub"
8
8
  ],
9
9
  "flags": {
10
10
  "snapshot": "name or ID of snapshot to delete"
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "description": "get details about a scratch org snapshot\nSnapshot creation can take a while. Use this command with the snapshot name or ID to check its creation status. Once the status changes to Active, you can use the snapshot to create scratch orgs. \n\nTo create a snapshot, use the \"sfdx force:org:snapshot:create\" command. To retrieve a list of all snapshots, use \"sfdx force:org:snapshot:list\".",
3
3
  "examples": [
4
- "Get snapshot details using its ID:\n",
5
- " sfdx force:org:snapshot:get --snapshot 0Oo...\n",
6
- "Get snapshot details using its name:\n",
7
- " sfdx force:org:snapshot:get -s Dependencies"
4
+ "Get snapshot details using its ID:",
5
+ "$ sfdx force:org:snapshot:get --snapshot 0Oo...",
6
+ "Get snapshot details using its name:",
7
+ "$ sfdx force:org:snapshot:get -s Dependencies"
8
8
  ],
9
9
  "flags": {
10
10
  "snapshot": "name or ID of snapshot to retrieve"
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "description": "list scratch org snapshots\nYou can view all the snapshots in a Dev Hub that you have access to. If you’re an admin, you can see all snapshots associated with the Dev Hub org. If you’re a user, you can see only your snapshots unless a Dev Hub admin gives you View All permissions.\n\nTo create a snapshot, use the \"sfdx force:org:snapshot:create\" command. To get details about a snapshot request, use \"sfdx force:org:snapshot:get\".",
3
3
  "examples": [
4
- "List snapshots in the default Dev Hub:\n",
5
- " sfdx force:org:snapshot:list\n",
6
- "List snapshots in the Dev Hub with the specified username:\n",
7
- " sfdx force:org:snapshot:list -v OtherDevHub@example.com"
4
+ "List snapshots in the default Dev Hub:",
5
+ "$ sfdx force:org:snapshot:list",
6
+ "List snapshots in the Dev Hub with the specified username:",
7
+ "$ sfdx force:org:snapshot:list -v OtherDevHub@example.com"
8
8
  ]
9
9
  }
@@ -1 +1 @@
1
- {"version":"1.1.0","commands":{"force:org:shape:create":{"id":"force:org:shape:create","description":"Create a scratch org configuration (shape) based on the specified source org","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["sfdx force:org:shape:create -u me@my.org","sfdx force:org:shape:create -u me@my.org --json --loglevel debug"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true},"force:org:shape:delete":{"id":"force:org:shape:delete","description":"Delete all org shapes for a target org","strict":true,"usage":"<%= command.id %> [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["sfdx force:org:shape:delete -u me@my.org","sfdx force:org:shape:delete -u MyOrgAlias -p","sfdx force:org:shape:delete -u me@my.org --json","sfdx force:org:shape:delete -u me@my.org -p --json > tmp/MyOrgShapeDelete.json"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","allowNo":false}},"args":[],"requiresUsername":true,"flagsConfig":{"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for confirmation","allowNo":false,"type":"boolean"}}},"force:org:shape:list":{"id":"force:org:shape:list","description":"List all org shapes you’ve created","strict":true,"usage":"<%= command.id %> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["sfdx force:org:shape:list","sfdx force:org:shape:list --json","sfdx force:org:shape:list --json > tmp/MyOrgShapeList.json"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"verbose":{"name":"verbose","type":"boolean","description":"list more information about each org shape","allowNo":false}},"args":[],"flagsConfig":{"verbose":{"description":"list more information about each org shape","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false}}},"force:org:snapshot:create":{"id":"force:org:snapshot:create","description":"create a snapshot of a scratch org\nA snapshot is a point-in-time copy of a scratch org. The copy is stored in Salesforce and referenced by its unique name in a scratch org definition file.\n\nUse \"sfdx force:org:snapshot:get\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" entry (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"sfdx force:org:create\" to create the scratch org.","strict":true,"usage":"<%= command.id %> -o <string> -n <string> [-d <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["Create a snapshot called \"Dependencies\" using the source scratch org ID:",""," sfdx force:org:snapshot:create --sourceorg 00Dxx0000000000 --snapshotname Dependencies --description 'Contains PackageA v1.1.0'","","Create a snapshot called \"NightlyBranch\" using the source scratch org username:",""," sfdx force:org:snapshot:create -o myuser@myorg -n NightlyBranch -d 'Contains PkgA v2.1.0 and PkgB 3.3.0'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sourceorg":{"name":"sourceorg","type":"option","char":"o","description":"ID or locally authenticated username or alias of scratch org to snapshot","required":true,"multiple":false},"snapshotname":{"name":"snapshotname","type":"option","char":"n","description":"unique name of snapshot","required":true,"multiple":false},"description":{"name":"description","type":"option","char":"d","description":"description of snapshot","multiple":false}},"args":[],"requiresDevhubUsername":true,"flagsConfig":{"sourceorg":{"kind":"string","char":"o","description":"ID or locally authenticated username or alias of scratch org to snapshot","longDescription":"The org ID, or a locally authenticated username or alias, of the scratch org to snapshot.","required":true,"input":[],"multiple":false,"type":"option"},"snapshotname":{"kind":"string","char":"n","description":"unique name of snapshot","longDescription":"The unique name of the snapshot. Use this name to create scratch orgs from the snapshot.","required":true,"input":[],"multiple":false,"type":"option"},"description":{"kind":"string","char":"d","description":"description of snapshot","longDescription":"A description of the snapshot. Use this description to document the contents of the snapshot.\nWe suggest that you include a reference point, such as a version control system tag or commit ID.'","input":[],"multiple":false,"type":"option"}}},"force:org:snapshot:delete":{"id":"force:org:snapshot:delete","description":"delete a scratch org snapshot\nDev Hub admins can delete any snapshot, while users can delete only theirs unless a Dev Hub admin gives the user Modify All permissions.","strict":true,"usage":"<%= command.id %> -s <string> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["Delete a snapshot from the default Dev Hub using the snapshot ID:",""," sfdx force:org:snapshot:delete --snapshot 0Oo...","","Delete a snapshot from the specified Dev Hub using the snapshot name:",""," sfdx force:org:snapshot:delete -s BaseSnapshot -v SnapshotDevHub"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"snapshot":{"name":"snapshot","type":"option","char":"s","description":"name or ID of snapshot to delete","required":true,"multiple":false}},"args":[],"requiresDevhubUsername":true,"flagsConfig":{"snapshot":{"kind":"string","char":"s","description":"name or ID of snapshot to delete","longDescription":"The name or ID (starts with 0Oo) of the snapshot to delete.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:org:snapshot:get":{"id":"force:org:snapshot:get","description":"get details about a scratch org snapshot\nSnapshot creation can take a while. Use this command with the snapshot name or ID to check its creation status. Once the status changes to Active, you can use the snapshot to create scratch orgs. \n\nTo create a snapshot, use the \"sfdx force:org:snapshot:create\" command. To retrieve a list of all snapshots, use \"sfdx force:org:snapshot:list\".","strict":true,"usage":"<%= command.id %> -s <string> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["Get snapshot details using its ID:",""," sfdx force:org:snapshot:get --snapshot 0Oo...","","Get snapshot details using its name:",""," sfdx force:org:snapshot:get -s Dependencies"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"snapshot":{"name":"snapshot","type":"option","char":"s","description":"name or ID of snapshot to retrieve","required":true,"multiple":false}},"args":[],"requiresDevhubUsername":true,"flagsConfig":{"snapshot":{"kind":"string","char":"s","description":"name or ID of snapshot to retrieve","longDescription":"The name or ID (starts with 0Oo) of the snapshot to retrieve.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:org:snapshot:list":{"id":"force:org:snapshot:list","description":"list scratch org snapshots\nYou can view all the snapshots in a Dev Hub that you have access to. If you’re an admin, you can see all snapshots associated with the Dev Hub org. If you’re a user, you can see only your snapshots unless a Dev Hub admin gives you View All permissions.\n\nTo create a snapshot, use the \"sfdx force:org:snapshot:create\" command. To get details about a snapshot request, use \"sfdx force:org:snapshot:get\".","strict":true,"usage":"<%= command.id %> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["List snapshots in the default Dev Hub:",""," sfdx force:org:snapshot:list","","List snapshots in the Dev Hub with the specified username:",""," sfdx force:org:snapshot:list -v OtherDevHub@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresDevhubUsername":true}}}
1
+ {"version":"1.2.0","commands":{"force:org:shape:create":{"id":"force:org:shape:create","description":"Create a scratch org configuration (shape) based on the specified source org","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:shape:create -u me@my.org","$ sfdx force:org:shape:create -u me@my.org --json --loglevel debug"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true},"force:org:shape:delete":{"id":"force:org:shape:delete","description":"Delete all org shapes for a target org","strict":true,"usage":"<%= command.id %> [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:shape:delete -u me@my.org","$ sfdx force:org:shape:delete -u MyOrgAlias -p","$ sfdx force:org:shape:delete -u me@my.org --json","$ sfdx force:org:shape:delete -u me@my.org -p --json > tmp/MyOrgShapeDelete.json"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","allowNo":false}},"args":[],"requiresUsername":true,"flagsConfig":{"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for confirmation","allowNo":false,"type":"boolean"}}},"force:org:shape:list":{"id":"force:org:shape:list","description":"List all org shapes you’ve created","strict":true,"usage":"<%= command.id %> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:shape:list","$ sfdx force:org:shape:list --json","$ sfdx force:org:shape:list --json > tmp/MyOrgShapeList.json"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"verbose":{"name":"verbose","type":"boolean","description":"list more information about each org shape","allowNo":false}},"args":[],"flagsConfig":{"verbose":{"description":"list more information about each org shape","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false}}},"force:org:snapshot:create":{"id":"force:org:snapshot:create","description":"create a snapshot of a scratch org\nA snapshot is a point-in-time copy of a scratch org. The copy is stored in Salesforce and referenced by its unique name in a scratch org definition file.\n\nUse \"sfdx force:org:snapshot:get\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" entry (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"sfdx force:org:create\" to create the scratch org.","strict":true,"usage":"<%= command.id %> -o <string> -n <string> [-d <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["Create a snapshot called \"Dependencies\" using the source scratch org ID:","$ sfdx force:org:snapshot:create --sourceorg 00Dxx0000000000 --snapshotname Dependencies --description 'Contains PackageA v1.1.0'","Create a snapshot called \"NightlyBranch\" using the source scratch org username:","$ sfdx force:org:snapshot:create -o myuser@myorg -n NightlyBranch -d 'Contains PkgA v2.1.0 and PkgB 3.3.0'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sourceorg":{"name":"sourceorg","type":"option","char":"o","description":"ID or locally authenticated username or alias of scratch org to snapshot","required":true,"multiple":false},"snapshotname":{"name":"snapshotname","type":"option","char":"n","description":"unique name of snapshot","required":true,"multiple":false},"description":{"name":"description","type":"option","char":"d","description":"description of snapshot","multiple":false}},"args":[],"requiresDevhubUsername":true,"flagsConfig":{"sourceorg":{"kind":"string","char":"o","description":"ID or locally authenticated username or alias of scratch org to snapshot","longDescription":"The org ID, or a locally authenticated username or alias, of the scratch org to snapshot.","required":true,"input":[],"multiple":false,"type":"option"},"snapshotname":{"kind":"string","char":"n","description":"unique name of snapshot","longDescription":"The unique name of the snapshot. Use this name to create scratch orgs from the snapshot.","required":true,"input":[],"multiple":false,"type":"option"},"description":{"kind":"string","char":"d","description":"description of snapshot","longDescription":"A description of the snapshot. Use this description to document the contents of the snapshot.\nWe suggest that you include a reference point, such as a version control system tag or commit ID.'","input":[],"multiple":false,"type":"option"}}},"force:org:snapshot:delete":{"id":"force:org:snapshot:delete","description":"delete a scratch org snapshot\nDev Hub admins can delete any snapshot, while users can delete only theirs unless a Dev Hub admin gives the user Modify All permissions.","strict":true,"usage":"<%= command.id %> -s <string> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["Delete a snapshot from the default Dev Hub using the snapshot ID:","$ sfdx force:org:snapshot:delete --snapshot 0Oo...","Delete a snapshot from the specified Dev Hub using the snapshot name:","$ sfdx force:org:snapshot:delete -s BaseSnapshot -v SnapshotDevHub"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"snapshot":{"name":"snapshot","type":"option","char":"s","description":"name or ID of snapshot to delete","required":true,"multiple":false}},"args":[],"requiresDevhubUsername":true,"flagsConfig":{"snapshot":{"kind":"string","char":"s","description":"name or ID of snapshot to delete","longDescription":"The name or ID (starts with 0Oo) of the snapshot to delete.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:org:snapshot:get":{"id":"force:org:snapshot:get","description":"get details about a scratch org snapshot\nSnapshot creation can take a while. Use this command with the snapshot name or ID to check its creation status. Once the status changes to Active, you can use the snapshot to create scratch orgs. \n\nTo create a snapshot, use the \"sfdx force:org:snapshot:create\" command. To retrieve a list of all snapshots, use \"sfdx force:org:snapshot:list\".","strict":true,"usage":"<%= command.id %> -s <string> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["Get snapshot details using its ID:","$ sfdx force:org:snapshot:get --snapshot 0Oo...","Get snapshot details using its name:","$ sfdx force:org:snapshot:get -s Dependencies"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"snapshot":{"name":"snapshot","type":"option","char":"s","description":"name or ID of snapshot to retrieve","required":true,"multiple":false}},"args":[],"requiresDevhubUsername":true,"flagsConfig":{"snapshot":{"kind":"string","char":"s","description":"name or ID of snapshot to retrieve","longDescription":"The name or ID (starts with 0Oo) of the snapshot to retrieve.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:org:snapshot:list":{"id":"force:org:snapshot:list","description":"list scratch org snapshots\nYou can view all the snapshots in a Dev Hub that you have access to. If you’re an admin, you can see all snapshots associated with the Dev Hub org. If you’re a user, you can see only your snapshots unless a Dev Hub admin gives you View All permissions.\n\nTo create a snapshot, use the \"sfdx force:org:snapshot:create\" command. To get details about a snapshot request, use \"sfdx force:org:snapshot:get\".","strict":true,"usage":"<%= command.id %> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":[],"examples":["List snapshots in the default Dev Hub:","$ sfdx force:org:snapshot:list","List snapshots in the Dev Hub with the specified username:","$ sfdx force:org:snapshot:list -v OtherDevHub@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresDevhubUsername":true}}}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "1.1.0",
4
+ "version": "1.2.0",
5
5
  "author": "Salesforce",
6
6
  "main": "lib/index.js",
7
7
  "bugs": "https://github.com/forcedotcom/cli/issues",
8
8
  "dependencies": {
9
9
  "@oclif/core": "^1.6.3",
10
10
  "@salesforce/command": "^5.0.1",
11
- "@salesforce/core": "^3.16.0",
11
+ "@salesforce/core": "^3.19.3",
12
12
  "chalk": "^4.1.2",
13
13
  "change-case": "^4.1.2",
14
14
  "tslib": "^2"
@@ -88,7 +88,6 @@
88
88
  "subtopics": {
89
89
  "shape": {
90
90
  "description": "manage org shape",
91
- "state": "beta",
92
91
  "trailblazerCommunityLink": {
93
92
  "url": "https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A0000009TPk",
94
93
  "name": "Org Shape for Scratch Orgs"
@@ -124,8 +123,8 @@
124
123
  "prepare": "sf-install",
125
124
  "pretest": "sf-compile-test",
126
125
  "test": "sf-test",
127
- "test:command-reference": "./bin/run commandreference:generate --erroronwarnings",
128
- "test:deprecation-policy": "./bin/run snapshot:compare",
126
+ "test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
127
+ "test:deprecation-policy": "./bin/dev snapshot:compare",
129
128
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
130
129
  "test:nuts:snapshots": "nyc mocha \"test/nuts/snapshots.nut.ts\" --slow 4500 --timeout 600000 --parallel",
131
130
  "version": "oclif readme"
@@ -134,7 +133,7 @@
134
133
  "access": "public"
135
134
  },
136
135
  "sfdx": {
137
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.1.0.crt",
138
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.1.0.sig"
136
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.2.0.crt",
137
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.2.0.sig"
139
138
  }
140
139
  }