@salesforce/plugin-signups 2.6.33 → 2.6.35

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/README.md CHANGED
@@ -123,7 +123,7 @@ EXAMPLES
123
123
  $ sf org create shape --target-org SourceOrg
124
124
  ```
125
125
 
126
- _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.33/src/commands/org/create/shape.ts)_
126
+ _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.35/src/commands/org/create/shape.ts)_
127
127
 
128
128
  ## `sf org create snapshot`
129
129
 
@@ -179,7 +179,7 @@ FLAG DESCRIPTIONS
179
179
  as a version control system tag or commit ID.
180
180
  ```
181
181
 
182
- _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.33/src/commands/org/create/snapshot.ts)_
182
+ _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.35/src/commands/org/create/snapshot.ts)_
183
183
 
184
184
  ## `sf org delete shape`
185
185
 
@@ -219,7 +219,7 @@ EXAMPLES
219
219
  $ sf org delete shape --target-org SourceOrg --no-prompt
220
220
  ```
221
221
 
222
- _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.33/src/commands/org/delete/shape.ts)_
222
+ _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.35/src/commands/org/delete/shape.ts)_
223
223
 
224
224
  ## `sf org delete snapshot`
225
225
 
@@ -264,7 +264,7 @@ FLAG DESCRIPTIONS
264
264
  The IDs of scratch org snapshots start with 0Oo.
265
265
  ```
266
266
 
267
- _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.33/src/commands/org/delete/snapshot.ts)_
267
+ _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.35/src/commands/org/delete/snapshot.ts)_
268
268
 
269
269
  ## `sf org get snapshot`
270
270
 
@@ -311,7 +311,7 @@ FLAG DESCRIPTIONS
311
311
  The IDs of scratch org snapshots start with 0Oo.
312
312
  ```
313
313
 
314
- _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.33/src/commands/org/get/snapshot.ts)_
314
+ _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.35/src/commands/org/get/snapshot.ts)_
315
315
 
316
316
  ## `sf org list shape`
317
317
 
@@ -344,7 +344,7 @@ EXAMPLES
344
344
  $ sf org list shape --json > tmp/MyOrgShapeList.json
345
345
  ```
346
346
 
347
- _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.33/src/commands/org/list/shape.ts)_
347
+ _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.35/src/commands/org/list/shape.ts)_
348
348
 
349
349
  ## `sf org list snapshot`
350
350
 
@@ -386,6 +386,6 @@ EXAMPLES
386
386
  $ sf org list snapshot --target-dev-hub SnapshotDevHub
387
387
  ```
388
388
 
389
- _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.33/src/commands/org/list/snapshot.ts)_
389
+ _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.35/src/commands/org/list/snapshot.ts)_
390
390
 
391
391
  <!-- commandsstop -->
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
- "version": "2.6.33",
3
+ "version": "2.6.35",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-signups",
9
- "version": "2.6.33",
9
+ "version": "2.6.35",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^4",
13
- "@salesforce/core": "^8.14.0",
13
+ "@salesforce/core": "^8.17.0",
14
14
  "@salesforce/kit": "^3.2.3",
15
15
  "@salesforce/sf-plugins-core": "^12.2.3",
16
16
  "change-case": "^5.4.4"
@@ -19,13 +19,13 @@
19
19
  "@oclif/plugin-command-snapshot": "^5.3.2",
20
20
  "@salesforce/cli-plugins-testkit": "^5.3.39",
21
21
  "@salesforce/dev-scripts": "^11.0.2",
22
- "@salesforce/plugin-command-reference": "^3.1.56",
22
+ "@salesforce/plugin-command-reference": "^3.1.58",
23
23
  "@salesforce/ts-types": "^2.0.11",
24
24
  "@types/chai-as-promised": "^7.1.8",
25
25
  "@types/chai-string": "^1.4.5",
26
26
  "chai-as-promised": "7.1.2",
27
27
  "chai-string": "^1.6.0",
28
- "eslint-plugin-sf-plugin": "^1.20.25",
28
+ "eslint-plugin-sf-plugin": "^1.20.26",
29
29
  "jsforce": "^2.0.0-beta.28",
30
30
  "oclif": "^4.20.1",
31
31
  "ts-node": "^10.9.2",
@@ -3813,9 +3813,9 @@
3813
3813
  }
3814
3814
  },
3815
3815
  "node_modules/@oclif/core": {
3816
- "version": "4.4.0",
3817
- "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.4.0.tgz",
3818
- "integrity": "sha512-wH5g3SLmbRutnr7UzQBSozRFEAZ7U9YGB/wFuBRr0ZghTgv5DE+KQaf6ZtU7iFb9pvkvoVRnT5XheNAtbjRDaQ==",
3816
+ "version": "4.4.1",
3817
+ "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.4.1.tgz",
3818
+ "integrity": "sha512-RYonV4IJZcGAoi3pdo5CPl5hVH1YdtQMEX77TLdgTPVrMmIjbiB0Borfguj/mdDF2TjLXp+Z+RbmLUejuhSYTA==",
3819
3819
  "license": "MIT",
3820
3820
  "dependencies": {
3821
3821
  "ansi-escapes": "^4.3.2",
@@ -4286,9 +4286,9 @@
4286
4286
  }
4287
4287
  },
4288
4288
  "node_modules/@salesforce/core": {
4289
- "version": "8.15.0",
4290
- "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.15.0.tgz",
4291
- "integrity": "sha512-vTobdBQ7JRlApUDezUAVlC7O7VUk1e+9AM8+TZIVnj2Glub7E5vtwTJRDT48MJ/wWjdhH+9MFfUi2GPHymHmrQ==",
4289
+ "version": "8.17.0",
4290
+ "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.17.0.tgz",
4291
+ "integrity": "sha512-2pZfBtwA1oX5IuxS8/gVnrFXzPAJpf6ZA5bfImN1dWGbWlwrfocXzXTNRFdQ2gP0FG4o+PFSlc6d4g8Vwz25IA==",
4292
4292
  "license": "BSD-3-Clause",
4293
4293
  "dependencies": {
4294
4294
  "@jsforce/jsforce-node": "^3.8.2",
@@ -4466,14 +4466,14 @@
4466
4466
  }
4467
4467
  },
4468
4468
  "node_modules/@salesforce/plugin-command-reference": {
4469
- "version": "3.1.56",
4470
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.56.tgz",
4471
- "integrity": "sha512-rBslUjAZSWNf6dUS9ZB29KfzdoTBTx+A5PW12ZPXTL17kJb/iRNgJV8g1FQLq0yLKRvmhjHcQODXrH3YluZxWg==",
4469
+ "version": "3.1.58",
4470
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.58.tgz",
4471
+ "integrity": "sha512-dr8f7TEhUZ88/euXfiQXlpj488G89XEEl4IrpU+H4qk5lrIGhy9OWuSxLBCc/UHTwxirFq7+H6vRVzNTLYqgXQ==",
4472
4472
  "dev": true,
4473
4473
  "license": "Apache-2.0",
4474
4474
  "dependencies": {
4475
4475
  "@oclif/core": "^4",
4476
- "@salesforce/core": "^8.12.0",
4476
+ "@salesforce/core": "^8.14.0",
4477
4477
  "@salesforce/kit": "^3.2.3",
4478
4478
  "@salesforce/sf-plugins-core": "^11.3.12",
4479
4479
  "@salesforce/ts-types": "^2.0.11",
@@ -8136,13 +8136,13 @@
8136
8136
  }
8137
8137
  },
8138
8138
  "node_modules/eslint-plugin-sf-plugin": {
8139
- "version": "1.20.25",
8140
- "resolved": "https://registry.npmjs.org/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.25.tgz",
8141
- "integrity": "sha512-uknNSP5+CRHeA7PRGErKD5nCoehJY/UVofspAiwEmtzhNBfS1eUxORN9fU6WEjb9Mc3O6i7YrMznTYFhJYWr1Q==",
8139
+ "version": "1.20.26",
8140
+ "resolved": "https://registry.npmjs.org/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.26.tgz",
8141
+ "integrity": "sha512-kK1Kj+PpkVaGHWR+/FGdSW4lT7nbD+g2mSLkYFFQ4X9L9VnDSGI2mbNfByCeJ0RELC2GxM0jhw/T1pgSKc7aQw==",
8142
8142
  "dev": true,
8143
8143
  "license": "BSD-3-Clause",
8144
8144
  "dependencies": {
8145
- "@salesforce/core": "^8.12.0",
8145
+ "@salesforce/core": "^8.14.0",
8146
8146
  "@typescript-eslint/utils": "^7.18.0"
8147
8147
  },
8148
8148
  "engines": {
package/oclif.lock CHANGED
@@ -1574,9 +1574,9 @@
1574
1574
  fastq "^1.6.0"
1575
1575
 
1576
1576
  "@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.3.0", "@oclif/core@^4.4.0":
1577
- version "4.4.0"
1578
- resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.4.0.tgz#82fb972822270c8e585587bd1c8a01ffbac588e2"
1579
- integrity sha512-wH5g3SLmbRutnr7UzQBSozRFEAZ7U9YGB/wFuBRr0ZghTgv5DE+KQaf6ZtU7iFb9pvkvoVRnT5XheNAtbjRDaQ==
1577
+ version "4.4.1"
1578
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.4.1.tgz#359d4df4f066529f3f4b44652db2d3dceb723823"
1579
+ integrity sha512-RYonV4IJZcGAoi3pdo5CPl5hVH1YdtQMEX77TLdgTPVrMmIjbiB0Borfguj/mdDF2TjLXp+Z+RbmLUejuhSYTA==
1580
1580
  dependencies:
1581
1581
  ansi-escapes "^4.3.2"
1582
1582
  ansis "^3.17.0"
@@ -1698,10 +1698,10 @@
1698
1698
  strip-ansi "6.0.1"
1699
1699
  ts-retry-promise "^0.8.1"
1700
1700
 
1701
- "@salesforce/core@^8.12.0", "@salesforce/core@^8.14.0", "@salesforce/core@^8.15.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0":
1702
- version "8.15.0"
1703
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.15.0.tgz#95d337a7a219c2d305117c9f5594617784a8642f"
1704
- integrity sha512-vTobdBQ7JRlApUDezUAVlC7O7VUk1e+9AM8+TZIVnj2Glub7E5vtwTJRDT48MJ/wWjdhH+9MFfUi2GPHymHmrQ==
1701
+ "@salesforce/core@^8.14.0", "@salesforce/core@^8.15.0", "@salesforce/core@^8.17.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0":
1702
+ version "8.17.0"
1703
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.17.0.tgz#f7e54324f06d5cd541276e743a8d1cb4983d52c7"
1704
+ integrity sha512-2pZfBtwA1oX5IuxS8/gVnrFXzPAJpf6ZA5bfImN1dWGbWlwrfocXzXTNRFdQ2gP0FG4o+PFSlc6d4g8Vwz25IA==
1705
1705
  dependencies:
1706
1706
  "@jsforce/jsforce-node" "^3.8.2"
1707
1707
  "@salesforce/kit" "^3.2.2"
@@ -1766,13 +1766,13 @@
1766
1766
  dependencies:
1767
1767
  "@salesforce/ts-types" "^2.0.12"
1768
1768
 
1769
- "@salesforce/plugin-command-reference@^3.1.56":
1770
- version "3.1.56"
1771
- resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.56.tgz#648bb75ea629b046ca868dda443aff779a5c67a4"
1772
- integrity sha512-rBslUjAZSWNf6dUS9ZB29KfzdoTBTx+A5PW12ZPXTL17kJb/iRNgJV8g1FQLq0yLKRvmhjHcQODXrH3YluZxWg==
1769
+ "@salesforce/plugin-command-reference@^3.1.58":
1770
+ version "3.1.58"
1771
+ resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.58.tgz#4cef5ee3db0e9e6d6f722c18d627053ff42c73c3"
1772
+ integrity sha512-dr8f7TEhUZ88/euXfiQXlpj488G89XEEl4IrpU+H4qk5lrIGhy9OWuSxLBCc/UHTwxirFq7+H6vRVzNTLYqgXQ==
1773
1773
  dependencies:
1774
1774
  "@oclif/core" "^4"
1775
- "@salesforce/core" "^8.12.0"
1775
+ "@salesforce/core" "^8.14.0"
1776
1776
  "@salesforce/kit" "^3.2.3"
1777
1777
  "@salesforce/sf-plugins-core" "^11.3.12"
1778
1778
  "@salesforce/ts-types" "^2.0.11"
@@ -4047,12 +4047,12 @@ eslint-plugin-jsdoc@^46.10.1:
4047
4047
  semver "^7.5.4"
4048
4048
  spdx-expression-parse "^4.0.0"
4049
4049
 
4050
- eslint-plugin-sf-plugin@^1.20.25:
4051
- version "1.20.25"
4052
- resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.25.tgz#943d861c73579d982a2c09eb5d8d5907cfdd7956"
4053
- integrity sha512-uknNSP5+CRHeA7PRGErKD5nCoehJY/UVofspAiwEmtzhNBfS1eUxORN9fU6WEjb9Mc3O6i7YrMznTYFhJYWr1Q==
4050
+ eslint-plugin-sf-plugin@^1.20.26:
4051
+ version "1.20.26"
4052
+ resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.26.tgz#3ffada40ee1aeab70384c16ed717769946b1473e"
4053
+ integrity sha512-kK1Kj+PpkVaGHWR+/FGdSW4lT7nbD+g2mSLkYFFQ4X9L9VnDSGI2mbNfByCeJ0RELC2GxM0jhw/T1pgSKc7aQw==
4054
4054
  dependencies:
4055
- "@salesforce/core" "^8.12.0"
4055
+ "@salesforce/core" "^8.14.0"
4056
4056
  "@typescript-eslint/utils" "^7.18.0"
4057
4057
 
4058
4058
  eslint-plugin-unicorn@^50.0.1:
@@ -125,15 +125,16 @@
125
125
  "snapshot:get:org"
126
126
  ]
127
127
  },
128
- "org:create:shape": {
128
+ "org:delete:shape": {
129
129
  "aliases": [
130
- "force:org:shape:create"
130
+ "force:org:shape:delete"
131
131
  ],
132
132
  "args": {},
133
133
  "deprecateAliases": true,
134
- "description": "Scratch org shapes mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous data and metadata.\n\nRun \"<%= config.bin %> org list shape\" to view the available org shapes and their IDs.\n\nTo create a scratch org from an org shape, include the \"sourceOrg\" property in the scratch org definition file and set it to the org ID of the source org. Then create a scratch org with the \"<%= config.bin %> org create scratch\" command.",
134
+ "description": "A source org can have only one active org shape. If you try to create an org shape for a source org that already has one, the previous shape is marked inactive and replaced by a new active shape. If you don’t want to create scratch orgs based on this shape, you can delete the org shape.",
135
135
  "examples": [
136
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
136
+ "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
137
+ "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
137
138
  ],
138
139
  "flags": {
139
140
  "json": {
@@ -186,70 +187,81 @@
186
187
  "hasDynamicHelp": false,
187
188
  "multiple": false,
188
189
  "type": "option"
190
+ },
191
+ "no-prompt": {
192
+ "aliases": [
193
+ "noprompt"
194
+ ],
195
+ "char": "p",
196
+ "deprecateAliases": true,
197
+ "name": "no-prompt",
198
+ "summary": "Don't prompt for confirmation.",
199
+ "allowNo": false,
200
+ "type": "boolean"
189
201
  }
190
202
  },
191
203
  "hasDynamicHelp": true,
192
204
  "hiddenAliases": [],
193
- "id": "org:create:shape",
205
+ "id": "org:delete:shape",
194
206
  "pluginAlias": "@salesforce/plugin-signups",
195
207
  "pluginName": "@salesforce/plugin-signups",
196
208
  "pluginType": "core",
197
209
  "strict": true,
198
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
210
+ "summary": "Delete all org shapes for a target org.",
199
211
  "enableJsonFlag": true,
200
212
  "isESM": true,
201
213
  "relativePath": [
202
214
  "lib",
203
215
  "commands",
204
216
  "org",
205
- "create",
217
+ "delete",
206
218
  "shape.js"
207
219
  ],
208
220
  "aliasPermutations": [
209
- "force:org:shape:create",
210
- "org:force:shape:create",
211
- "org:shape:force:create",
212
- "org:shape:create:force",
213
- "force:shape:org:create",
214
- "shape:force:org:create",
215
- "shape:org:force:create",
216
- "shape:org:create:force",
217
- "force:shape:create:org",
218
- "shape:force:create:org",
219
- "shape:create:force:org",
220
- "shape:create:org:force",
221
- "force:org:create:shape",
222
- "org:force:create:shape",
223
- "org:create:force:shape",
224
- "org:create:shape:force",
225
- "force:create:org:shape",
226
- "create:force:org:shape",
227
- "create:org:force:shape",
228
- "create:org:shape:force",
229
- "force:create:shape:org",
230
- "create:force:shape:org",
231
- "create:shape:force:org",
232
- "create:shape:org:force"
221
+ "force:org:shape:delete",
222
+ "org:force:shape:delete",
223
+ "org:shape:force:delete",
224
+ "org:shape:delete:force",
225
+ "force:shape:org:delete",
226
+ "shape:force:org:delete",
227
+ "shape:org:force:delete",
228
+ "shape:org:delete:force",
229
+ "force:shape:delete:org",
230
+ "shape:force:delete:org",
231
+ "shape:delete:force:org",
232
+ "shape:delete:org:force",
233
+ "force:org:delete:shape",
234
+ "org:force:delete:shape",
235
+ "org:delete:force:shape",
236
+ "org:delete:shape:force",
237
+ "force:delete:org:shape",
238
+ "delete:force:org:shape",
239
+ "delete:org:force:shape",
240
+ "delete:org:shape:force",
241
+ "force:delete:shape:org",
242
+ "delete:force:shape:org",
243
+ "delete:shape:force:org",
244
+ "delete:shape:org:force"
233
245
  ],
234
246
  "permutations": [
235
- "org:create:shape",
236
- "create:org:shape",
237
- "create:shape:org",
238
- "org:shape:create",
239
- "shape:org:create",
240
- "shape:create:org"
247
+ "org:delete:shape",
248
+ "delete:org:shape",
249
+ "delete:shape:org",
250
+ "org:shape:delete",
251
+ "shape:org:delete",
252
+ "shape:delete:org"
241
253
  ]
242
254
  },
243
- "org:create:snapshot": {
255
+ "org:delete:snapshot": {
244
256
  "aliases": [
245
- "force:org:snapshot:create"
257
+ "force:org:snapshot:delete"
246
258
  ],
247
259
  "args": {},
248
260
  "deprecateAliases": true,
249
- "description": "A snapshot is a point-in-time copy of a scratch org. The copy is referenced by its unique name in a scratch org definition file.\n\nUse \"<%= config.bin %> org get snapshot\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" option (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"<%= config.bin %> org create scratch\" to create the scratch org.",
261
+ "description": "Dev Hub admins can delete any snapshot. Users can delete only their own snapshots, unless a Dev Hub admin gives the user Modify All permission, which works only with the Salesforce license.",
250
262
  "examples": [
251
- "Create a snapshot called \"Dependencies\" using the source scratch org ID and your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --source-org 00Dxx0000000000 --name Dependencies --description 'Contains PackageA v1.1.0'",
252
- "Create a snapshot called \"NightlyBranch\" using the source scratch org username and a Dev Hub org with alias NightlyDevHub:\n<%= config.bin %> <%= command.id %> --source-org myuser@myorg --name NightlyBranch --description 'Contains PkgA v2.1.0 and PkgB 3.3.0' --target-dev-hub NightlyDevHub"
263
+ "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
264
+ "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
253
265
  ],
254
266
  "flags": {
255
267
  "json": {
@@ -302,92 +314,74 @@
302
314
  "multiple": false,
303
315
  "type": "option"
304
316
  },
305
- "source-org": {
306
- "aliases": [
307
- "sourceorg"
308
- ],
309
- "char": "o",
310
- "deprecateAliases": true,
311
- "name": "source-org",
312
- "required": true,
313
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
314
- "hasDynamicHelp": false,
315
- "multiple": false,
316
- "type": "option"
317
- },
318
- "name": {
319
- "aliases": [
320
- "snapshotname"
321
- ],
322
- "char": "n",
323
- "deprecateAliases": true,
324
- "name": "name",
317
+ "snapshot": {
318
+ "char": "s",
319
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
320
+ "name": "snapshot",
325
321
  "required": true,
326
- "summary": "Unique name of snapshot.",
322
+ "summary": "Name or ID of snapshot to delete.",
327
323
  "hasDynamicHelp": false,
328
324
  "multiple": false,
329
325
  "type": "option"
330
326
  },
331
- "description": {
332
- "char": "d",
333
- "description": "Use this description to document the contents of the snapshot. We suggest that you include a reference point, such as a version control system tag or commit ID.",
334
- "name": "description",
335
- "summary": "Description of snapshot.",
336
- "hasDynamicHelp": false,
337
- "multiple": false,
338
- "type": "option"
327
+ "no-prompt": {
328
+ "char": "p",
329
+ "name": "no-prompt",
330
+ "summary": "Don't prompt the user to confirm the deletion.",
331
+ "allowNo": false,
332
+ "type": "boolean"
339
333
  }
340
334
  },
341
335
  "hasDynamicHelp": true,
342
336
  "hiddenAliases": [],
343
- "id": "org:create:snapshot",
337
+ "id": "org:delete:snapshot",
344
338
  "pluginAlias": "@salesforce/plugin-signups",
345
339
  "pluginName": "@salesforce/plugin-signups",
346
340
  "pluginType": "core",
347
341
  "strict": true,
348
- "summary": "Create a snapshot of a scratch org.",
342
+ "summary": "Delete a scratch org snapshot.",
349
343
  "enableJsonFlag": true,
350
344
  "isESM": true,
351
345
  "relativePath": [
352
346
  "lib",
353
347
  "commands",
354
348
  "org",
355
- "create",
349
+ "delete",
356
350
  "snapshot.js"
357
351
  ],
358
352
  "aliasPermutations": [
359
- "force:org:snapshot:create",
360
- "org:force:snapshot:create",
361
- "org:snapshot:force:create",
362
- "org:snapshot:create:force",
363
- "force:snapshot:org:create",
364
- "snapshot:force:org:create",
365
- "snapshot:org:force:create",
366
- "snapshot:org:create:force",
367
- "force:snapshot:create:org",
368
- "snapshot:force:create:org",
369
- "snapshot:create:force:org",
370
- "snapshot:create:org:force",
371
- "force:org:create:snapshot",
372
- "org:force:create:snapshot",
373
- "org:create:force:snapshot",
374
- "org:create:snapshot:force",
375
- "force:create:org:snapshot",
376
- "create:force:org:snapshot",
377
- "create:org:force:snapshot",
378
- "create:org:snapshot:force",
379
- "force:create:snapshot:org",
380
- "create:force:snapshot:org",
381
- "create:snapshot:force:org",
382
- "create:snapshot:org:force"
353
+ "force:org:snapshot:delete",
354
+ "org:force:snapshot:delete",
355
+ "org:snapshot:force:delete",
356
+ "org:snapshot:delete:force",
357
+ "force:snapshot:org:delete",
358
+ "snapshot:force:org:delete",
359
+ "snapshot:org:force:delete",
360
+ "snapshot:org:delete:force",
361
+ "force:snapshot:delete:org",
362
+ "snapshot:force:delete:org",
363
+ "snapshot:delete:force:org",
364
+ "snapshot:delete:org:force",
365
+ "force:org:delete:snapshot",
366
+ "org:force:delete:snapshot",
367
+ "org:delete:force:snapshot",
368
+ "org:delete:snapshot:force",
369
+ "force:delete:org:snapshot",
370
+ "delete:force:org:snapshot",
371
+ "delete:org:force:snapshot",
372
+ "delete:org:snapshot:force",
373
+ "force:delete:snapshot:org",
374
+ "delete:force:snapshot:org",
375
+ "delete:snapshot:force:org",
376
+ "delete:snapshot:org:force"
383
377
  ],
384
378
  "permutations": [
385
- "org:create:snapshot",
386
- "create:org:snapshot",
387
- "create:snapshot:org",
388
- "org:snapshot:create",
389
- "snapshot:org:create",
390
- "snapshot:create:org"
379
+ "org:delete:snapshot",
380
+ "delete:org:snapshot",
381
+ "delete:snapshot:org",
382
+ "org:snapshot:delete",
383
+ "snapshot:org:delete",
384
+ "snapshot:delete:org"
391
385
  ]
392
386
  },
393
387
  "org:list:shape": {
@@ -602,16 +596,15 @@
602
596
  "snapshot:list:org"
603
597
  ]
604
598
  },
605
- "org:delete:shape": {
599
+ "org:create:shape": {
606
600
  "aliases": [
607
- "force:org:shape:delete"
601
+ "force:org:shape:create"
608
602
  ],
609
603
  "args": {},
610
604
  "deprecateAliases": true,
611
- "description": "A source org can have only one active org shape. If you try to create an org shape for a source org that already has one, the previous shape is marked inactive and replaced by a new active shape. If you don’t want to create scratch orgs based on this shape, you can delete the org shape.",
605
+ "description": "Scratch org shapes mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous data and metadata.\n\nRun \"<%= config.bin %> org list shape\" to view the available org shapes and their IDs.\n\nTo create a scratch org from an org shape, include the \"sourceOrg\" property in the scratch org definition file and set it to the org ID of the source org. Then create a scratch org with the \"<%= config.bin %> org create scratch\" command.",
612
606
  "examples": [
613
- "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
614
- "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
607
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
615
608
  ],
616
609
  "flags": {
617
610
  "json": {
@@ -664,81 +657,70 @@
664
657
  "hasDynamicHelp": false,
665
658
  "multiple": false,
666
659
  "type": "option"
667
- },
668
- "no-prompt": {
669
- "aliases": [
670
- "noprompt"
671
- ],
672
- "char": "p",
673
- "deprecateAliases": true,
674
- "name": "no-prompt",
675
- "summary": "Don't prompt for confirmation.",
676
- "allowNo": false,
677
- "type": "boolean"
678
660
  }
679
661
  },
680
662
  "hasDynamicHelp": true,
681
663
  "hiddenAliases": [],
682
- "id": "org:delete:shape",
664
+ "id": "org:create:shape",
683
665
  "pluginAlias": "@salesforce/plugin-signups",
684
666
  "pluginName": "@salesforce/plugin-signups",
685
667
  "pluginType": "core",
686
668
  "strict": true,
687
- "summary": "Delete all org shapes for a target org.",
669
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
688
670
  "enableJsonFlag": true,
689
671
  "isESM": true,
690
672
  "relativePath": [
691
673
  "lib",
692
674
  "commands",
693
675
  "org",
694
- "delete",
676
+ "create",
695
677
  "shape.js"
696
678
  ],
697
679
  "aliasPermutations": [
698
- "force:org:shape:delete",
699
- "org:force:shape:delete",
700
- "org:shape:force:delete",
701
- "org:shape:delete:force",
702
- "force:shape:org:delete",
703
- "shape:force:org:delete",
704
- "shape:org:force:delete",
705
- "shape:org:delete:force",
706
- "force:shape:delete:org",
707
- "shape:force:delete:org",
708
- "shape:delete:force:org",
709
- "shape:delete:org:force",
710
- "force:org:delete:shape",
711
- "org:force:delete:shape",
712
- "org:delete:force:shape",
713
- "org:delete:shape:force",
714
- "force:delete:org:shape",
715
- "delete:force:org:shape",
716
- "delete:org:force:shape",
717
- "delete:org:shape:force",
718
- "force:delete:shape:org",
719
- "delete:force:shape:org",
720
- "delete:shape:force:org",
721
- "delete:shape:org:force"
680
+ "force:org:shape:create",
681
+ "org:force:shape:create",
682
+ "org:shape:force:create",
683
+ "org:shape:create:force",
684
+ "force:shape:org:create",
685
+ "shape:force:org:create",
686
+ "shape:org:force:create",
687
+ "shape:org:create:force",
688
+ "force:shape:create:org",
689
+ "shape:force:create:org",
690
+ "shape:create:force:org",
691
+ "shape:create:org:force",
692
+ "force:org:create:shape",
693
+ "org:force:create:shape",
694
+ "org:create:force:shape",
695
+ "org:create:shape:force",
696
+ "force:create:org:shape",
697
+ "create:force:org:shape",
698
+ "create:org:force:shape",
699
+ "create:org:shape:force",
700
+ "force:create:shape:org",
701
+ "create:force:shape:org",
702
+ "create:shape:force:org",
703
+ "create:shape:org:force"
722
704
  ],
723
705
  "permutations": [
724
- "org:delete:shape",
725
- "delete:org:shape",
726
- "delete:shape:org",
727
- "org:shape:delete",
728
- "shape:org:delete",
729
- "shape:delete:org"
706
+ "org:create:shape",
707
+ "create:org:shape",
708
+ "create:shape:org",
709
+ "org:shape:create",
710
+ "shape:org:create",
711
+ "shape:create:org"
730
712
  ]
731
713
  },
732
- "org:delete:snapshot": {
714
+ "org:create:snapshot": {
733
715
  "aliases": [
734
- "force:org:snapshot:delete"
716
+ "force:org:snapshot:create"
735
717
  ],
736
718
  "args": {},
737
719
  "deprecateAliases": true,
738
- "description": "Dev Hub admins can delete any snapshot. Users can delete only their own snapshots, unless a Dev Hub admin gives the user Modify All permission, which works only with the Salesforce license.",
720
+ "description": "A snapshot is a point-in-time copy of a scratch org. The copy is referenced by its unique name in a scratch org definition file.\n\nUse \"<%= config.bin %> org get snapshot\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" option (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"<%= config.bin %> org create scratch\" to create the scratch org.",
739
721
  "examples": [
740
- "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
741
- "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
722
+ "Create a snapshot called \"Dependencies\" using the source scratch org ID and your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --source-org 00Dxx0000000000 --name Dependencies --description 'Contains PackageA v1.1.0'",
723
+ "Create a snapshot called \"NightlyBranch\" using the source scratch org username and a Dev Hub org with alias NightlyDevHub:\n<%= config.bin %> <%= command.id %> --source-org myuser@myorg --name NightlyBranch --description 'Contains PkgA v2.1.0 and PkgB 3.3.0' --target-dev-hub NightlyDevHub"
742
724
  ],
743
725
  "flags": {
744
726
  "json": {
@@ -791,76 +773,94 @@
791
773
  "multiple": false,
792
774
  "type": "option"
793
775
  },
794
- "snapshot": {
795
- "char": "s",
796
- "description": "The IDs of scratch org snapshots start with 0Oo.",
797
- "name": "snapshot",
776
+ "source-org": {
777
+ "aliases": [
778
+ "sourceorg"
779
+ ],
780
+ "char": "o",
781
+ "deprecateAliases": true,
782
+ "name": "source-org",
798
783
  "required": true,
799
- "summary": "Name or ID of snapshot to delete.",
784
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
800
785
  "hasDynamicHelp": false,
801
786
  "multiple": false,
802
787
  "type": "option"
803
788
  },
804
- "no-prompt": {
805
- "char": "p",
806
- "name": "no-prompt",
807
- "summary": "Don't prompt the user to confirm the deletion.",
808
- "allowNo": false,
809
- "type": "boolean"
789
+ "name": {
790
+ "aliases": [
791
+ "snapshotname"
792
+ ],
793
+ "char": "n",
794
+ "deprecateAliases": true,
795
+ "name": "name",
796
+ "required": true,
797
+ "summary": "Unique name of snapshot.",
798
+ "hasDynamicHelp": false,
799
+ "multiple": false,
800
+ "type": "option"
801
+ },
802
+ "description": {
803
+ "char": "d",
804
+ "description": "Use this description to document the contents of the snapshot. We suggest that you include a reference point, such as a version control system tag or commit ID.",
805
+ "name": "description",
806
+ "summary": "Description of snapshot.",
807
+ "hasDynamicHelp": false,
808
+ "multiple": false,
809
+ "type": "option"
810
810
  }
811
811
  },
812
812
  "hasDynamicHelp": true,
813
813
  "hiddenAliases": [],
814
- "id": "org:delete:snapshot",
814
+ "id": "org:create:snapshot",
815
815
  "pluginAlias": "@salesforce/plugin-signups",
816
816
  "pluginName": "@salesforce/plugin-signups",
817
817
  "pluginType": "core",
818
818
  "strict": true,
819
- "summary": "Delete a scratch org snapshot.",
819
+ "summary": "Create a snapshot of a scratch org.",
820
820
  "enableJsonFlag": true,
821
821
  "isESM": true,
822
822
  "relativePath": [
823
823
  "lib",
824
824
  "commands",
825
825
  "org",
826
- "delete",
826
+ "create",
827
827
  "snapshot.js"
828
828
  ],
829
829
  "aliasPermutations": [
830
- "force:org:snapshot:delete",
831
- "org:force:snapshot:delete",
832
- "org:snapshot:force:delete",
833
- "org:snapshot:delete:force",
834
- "force:snapshot:org:delete",
835
- "snapshot:force:org:delete",
836
- "snapshot:org:force:delete",
837
- "snapshot:org:delete:force",
838
- "force:snapshot:delete:org",
839
- "snapshot:force:delete:org",
840
- "snapshot:delete:force:org",
841
- "snapshot:delete:org:force",
842
- "force:org:delete:snapshot",
843
- "org:force:delete:snapshot",
844
- "org:delete:force:snapshot",
845
- "org:delete:snapshot:force",
846
- "force:delete:org:snapshot",
847
- "delete:force:org:snapshot",
848
- "delete:org:force:snapshot",
849
- "delete:org:snapshot:force",
850
- "force:delete:snapshot:org",
851
- "delete:force:snapshot:org",
852
- "delete:snapshot:force:org",
853
- "delete:snapshot:org:force"
830
+ "force:org:snapshot:create",
831
+ "org:force:snapshot:create",
832
+ "org:snapshot:force:create",
833
+ "org:snapshot:create:force",
834
+ "force:snapshot:org:create",
835
+ "snapshot:force:org:create",
836
+ "snapshot:org:force:create",
837
+ "snapshot:org:create:force",
838
+ "force:snapshot:create:org",
839
+ "snapshot:force:create:org",
840
+ "snapshot:create:force:org",
841
+ "snapshot:create:org:force",
842
+ "force:org:create:snapshot",
843
+ "org:force:create:snapshot",
844
+ "org:create:force:snapshot",
845
+ "org:create:snapshot:force",
846
+ "force:create:org:snapshot",
847
+ "create:force:org:snapshot",
848
+ "create:org:force:snapshot",
849
+ "create:org:snapshot:force",
850
+ "force:create:snapshot:org",
851
+ "create:force:snapshot:org",
852
+ "create:snapshot:force:org",
853
+ "create:snapshot:org:force"
854
854
  ],
855
855
  "permutations": [
856
- "org:delete:snapshot",
857
- "delete:org:snapshot",
858
- "delete:snapshot:org",
859
- "org:snapshot:delete",
860
- "snapshot:org:delete",
861
- "snapshot:delete:org"
856
+ "org:create:snapshot",
857
+ "create:org:snapshot",
858
+ "create:snapshot:org",
859
+ "org:snapshot:create",
860
+ "snapshot:org:create",
861
+ "snapshot:create:org"
862
862
  ]
863
863
  }
864
864
  },
865
- "version": "2.6.33"
865
+ "version": "2.6.35"
866
866
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "2.6.33",
4
+ "version": "2.6.35",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^4",
9
- "@salesforce/core": "^8.14.0",
9
+ "@salesforce/core": "^8.17.0",
10
10
  "@salesforce/kit": "^3.2.3",
11
11
  "@salesforce/sf-plugins-core": "^12.2.3",
12
12
  "change-case": "^5.4.4"
@@ -15,13 +15,13 @@
15
15
  "@oclif/plugin-command-snapshot": "^5.3.2",
16
16
  "@salesforce/cli-plugins-testkit": "^5.3.39",
17
17
  "@salesforce/dev-scripts": "^11.0.2",
18
- "@salesforce/plugin-command-reference": "^3.1.56",
18
+ "@salesforce/plugin-command-reference": "^3.1.58",
19
19
  "@salesforce/ts-types": "^2.0.11",
20
20
  "@types/chai-as-promised": "^7.1.8",
21
21
  "@types/chai-string": "^1.4.5",
22
22
  "chai-as-promised": "7.1.2",
23
23
  "chai-string": "^1.6.0",
24
- "eslint-plugin-sf-plugin": "^1.20.25",
24
+ "eslint-plugin-sf-plugin": "^1.20.26",
25
25
  "jsforce": "^2.0.0-beta.28",
26
26
  "oclif": "^4.20.1",
27
27
  "ts-node": "^10.9.2",
@@ -220,7 +220,7 @@
220
220
  "exports": "./lib/index.js",
221
221
  "type": "module",
222
222
  "sfdx": {
223
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.33.crt",
224
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.33.sig"
223
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.35.crt",
224
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.35.sig"
225
225
  }
226
226
  }