@salesforce/plugin-org 3.2.1 → 3.3.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/README.md +21 -16
- package/lib/commands/force/org/create.js +6 -9
- package/lib/commands/force/org/create.js.map +1 -1
- package/lib/commands/force/org/delete.js +3 -1
- package/lib/commands/force/org/delete.js.map +1 -1
- package/lib/commands/org/create/sandbox.js +3 -8
- package/lib/commands/org/create/sandbox.js.map +1 -1
- package/lib/commands/org/create/scratch.d.ts +0 -1
- package/lib/commands/org/create/scratch.js +1 -11
- package/lib/commands/org/create/scratch.js.map +1 -1
- package/lib/commands/org/delete/sandbox.js +1 -1
- package/lib/commands/org/delete/sandbox.js.map +1 -1
- package/lib/commands/org/delete/scratch.js +2 -1
- package/lib/commands/org/delete/scratch.js.map +1 -1
- package/lib/commands/org/list.js +1 -1
- package/lib/commands/org/list.js.map +1 -1
- package/lib/commands/org/open.d.ts +2 -5
- package/lib/commands/org/open.js +77 -54
- package/lib/commands/org/open.js.map +1 -1
- package/lib/shared/orgHighlighter.js.map +1 -1
- package/lib/shared/stagedProgress.d.ts +3 -3
- package/lib/shared/stagedProgress.js.map +1 -1
- package/messages/open.md +8 -0
- package/oclif.lock +172 -143
- package/oclif.manifest.json +18 -17
- package/package.json +11 -10
package/oclif.manifest.json
CHANGED
|
@@ -71,7 +71,6 @@
|
|
|
71
71
|
"strict": true,
|
|
72
72
|
"summary": "Display information about an org.",
|
|
73
73
|
"enableJsonFlag": true,
|
|
74
|
-
"SF_ENV": "SF_ENV",
|
|
75
74
|
"isESM": true,
|
|
76
75
|
"relativePath": [
|
|
77
76
|
"lib",
|
|
@@ -173,7 +172,6 @@
|
|
|
173
172
|
"strict": true,
|
|
174
173
|
"summary": "List all orgs you’ve created or authenticated to.",
|
|
175
174
|
"enableJsonFlag": true,
|
|
176
|
-
"SF_ENV": "SF_ENV",
|
|
177
175
|
"isESM": true,
|
|
178
176
|
"relativePath": [
|
|
179
177
|
"lib",
|
|
@@ -204,6 +202,7 @@
|
|
|
204
202
|
"description": "To open a specific page, specify the portion of the URL after \"https://mydomain.my.salesforce.com\" as the value for the --path flag. For example, specify \"--path lightning\" to open Lightning Experience, or specify \"--path /apex/YourPage\" to open a Visualforce page.\n\nUse the --source-file to open a Lightning Page from your local project in Lightning App Builder. Lightning page files have the suffix .flexipage-meta.xml, and are stored in the \"flexipages\" directory.\n\nTo generate a URL but not launch it in your browser, specify --url-only.\n\nTo open in a specific browser, use the --browser flag. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.",
|
|
205
203
|
"examples": [
|
|
206
204
|
"Open your default org in your default browser:\n$ <%= config.bin %> <%= command.id %>",
|
|
205
|
+
"Open your default org in an incognito window of your default browser:\n$ <%= config.bin %> <%= command.id %> --private",
|
|
207
206
|
"Open the org with alias MyTestOrg1 in the Firefox browser:\n$ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox",
|
|
208
207
|
"Display the navigation URL for the Lightning Experience page for your default org, but don't open the page in a browser:\n$ <%= config.bin %> <%= command.id %> --url-only --path lightning",
|
|
209
208
|
"Open a local Lightning page in your default org's Lightning App Builder:\n$ <%= config.bin %> <%= command.id %> --source-file force-app/main/default/flexipages/Hello.flexipage-meta.xml",
|
|
@@ -243,10 +242,21 @@
|
|
|
243
242
|
"multiple": false,
|
|
244
243
|
"type": "option"
|
|
245
244
|
},
|
|
245
|
+
"private": {
|
|
246
|
+
"exclusive": [
|
|
247
|
+
"url-only",
|
|
248
|
+
"browser"
|
|
249
|
+
],
|
|
250
|
+
"name": "private",
|
|
251
|
+
"summary": "Open the org in the default browser using private (incognito) mode.",
|
|
252
|
+
"allowNo": false,
|
|
253
|
+
"type": "boolean"
|
|
254
|
+
},
|
|
246
255
|
"browser": {
|
|
247
256
|
"char": "b",
|
|
248
257
|
"exclusive": [
|
|
249
|
-
"url-only"
|
|
258
|
+
"url-only",
|
|
259
|
+
"private"
|
|
250
260
|
],
|
|
251
261
|
"name": "browser",
|
|
252
262
|
"summary": "Browser where the org opens.",
|
|
@@ -317,7 +327,6 @@
|
|
|
317
327
|
"strict": true,
|
|
318
328
|
"summary": "Open your default scratch org, or another specified org, in a browser.",
|
|
319
329
|
"enableJsonFlag": true,
|
|
320
|
-
"SF_ENV": "SF_ENV",
|
|
321
330
|
"isESM": true,
|
|
322
331
|
"relativePath": [
|
|
323
332
|
"lib",
|
|
@@ -460,7 +469,6 @@
|
|
|
460
469
|
"strict": false,
|
|
461
470
|
"summary": "Clone a sandbox org.",
|
|
462
471
|
"enableJsonFlag": true,
|
|
463
|
-
"SF_ENV": "SF_ENV",
|
|
464
472
|
"SANDBOXDEF_SRC_SANDBOXNAME": "SourceSandboxName",
|
|
465
473
|
"isESM": true,
|
|
466
474
|
"relativePath": [
|
|
@@ -650,7 +658,6 @@
|
|
|
650
658
|
"strict": false,
|
|
651
659
|
"summary": "Create a scratch org or sandbox.",
|
|
652
660
|
"enableJsonFlag": true,
|
|
653
|
-
"SF_ENV": "SF_ENV",
|
|
654
661
|
"isESM": true,
|
|
655
662
|
"relativePath": [
|
|
656
663
|
"lib",
|
|
@@ -759,7 +766,6 @@
|
|
|
759
766
|
"strict": true,
|
|
760
767
|
"summary": "Delete a scratch or sandbox org.",
|
|
761
768
|
"enableJsonFlag": true,
|
|
762
|
-
"SF_ENV": "SF_ENV",
|
|
763
769
|
"isESM": true,
|
|
764
770
|
"relativePath": [
|
|
765
771
|
"lib",
|
|
@@ -882,7 +888,6 @@
|
|
|
882
888
|
"strict": true,
|
|
883
889
|
"summary": "Check the status of a sandbox, and if complete, authenticate to it.",
|
|
884
890
|
"enableJsonFlag": true,
|
|
885
|
-
"SF_ENV": "SF_ENV",
|
|
886
891
|
"isESM": true,
|
|
887
892
|
"relativePath": [
|
|
888
893
|
"lib",
|
|
@@ -1306,7 +1311,6 @@
|
|
|
1306
1311
|
"strict": true,
|
|
1307
1312
|
"summary": "Create a scratch org.",
|
|
1308
1313
|
"enableJsonFlag": true,
|
|
1309
|
-
"SF_ENV": "SF_ENV",
|
|
1310
1314
|
"isESM": true,
|
|
1311
1315
|
"relativePath": [
|
|
1312
1316
|
"lib",
|
|
@@ -1383,7 +1387,6 @@
|
|
|
1383
1387
|
"strict": true,
|
|
1384
1388
|
"summary": "Delete a sandbox.",
|
|
1385
1389
|
"enableJsonFlag": true,
|
|
1386
|
-
"SF_ENV": "SF_ENV",
|
|
1387
1390
|
"isESM": true,
|
|
1388
1391
|
"relativePath": [
|
|
1389
1392
|
"lib",
|
|
@@ -1460,7 +1463,6 @@
|
|
|
1460
1463
|
"strict": true,
|
|
1461
1464
|
"summary": "Delete a scratch org.",
|
|
1462
1465
|
"enableJsonFlag": true,
|
|
1463
|
-
"SF_ENV": "SF_ENV",
|
|
1464
1466
|
"isESM": true,
|
|
1465
1467
|
"relativePath": [
|
|
1466
1468
|
"lib",
|
|
@@ -1523,7 +1525,6 @@
|
|
|
1523
1525
|
"strict": true,
|
|
1524
1526
|
"summary": "Prevent Salesforce CLI from tracking changes in your source files between your project and an org.",
|
|
1525
1527
|
"enableJsonFlag": true,
|
|
1526
|
-
"SF_ENV": "SF_ENV",
|
|
1527
1528
|
"isESM": true,
|
|
1528
1529
|
"relativePath": [
|
|
1529
1530
|
"lib",
|
|
@@ -1579,7 +1580,6 @@
|
|
|
1579
1580
|
"strict": true,
|
|
1580
1581
|
"summary": "Allow Salesforce CLI to track changes in your source files between your project and an org.",
|
|
1581
1582
|
"enableJsonFlag": true,
|
|
1582
|
-
"SF_ENV": "SF_ENV",
|
|
1583
1583
|
"isESM": true,
|
|
1584
1584
|
"relativePath": [
|
|
1585
1585
|
"lib",
|
|
@@ -1690,7 +1690,6 @@
|
|
|
1690
1690
|
"strict": true,
|
|
1691
1691
|
"summary": "Display details about the metadata types that are enabled for your org.",
|
|
1692
1692
|
"enableJsonFlag": true,
|
|
1693
|
-
"SF_ENV": "SF_ENV",
|
|
1694
1693
|
"isESM": true,
|
|
1695
1694
|
"relativePath": [
|
|
1696
1695
|
"lib",
|
|
@@ -1817,7 +1816,6 @@
|
|
|
1817
1816
|
"strict": true,
|
|
1818
1817
|
"summary": "List the metadata components and properties of a specified type.",
|
|
1819
1818
|
"enableJsonFlag": true,
|
|
1820
|
-
"SF_ENV": "SF_ENV",
|
|
1821
1819
|
"isESM": true,
|
|
1822
1820
|
"relativePath": [
|
|
1823
1821
|
"lib",
|
|
@@ -1868,6 +1866,10 @@
|
|
|
1868
1866
|
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume checking the sandbox creation, rerun this command.",
|
|
1869
1867
|
"name": "wait",
|
|
1870
1868
|
"summary": "Number of minutes to wait for the sandbox org to be ready.",
|
|
1869
|
+
"default": {
|
|
1870
|
+
"quantity": 0,
|
|
1871
|
+
"unit": 0
|
|
1872
|
+
},
|
|
1871
1873
|
"hasDynamicHelp": false,
|
|
1872
1874
|
"helpValue": "<minutes>",
|
|
1873
1875
|
"multiple": false,
|
|
@@ -1992,7 +1994,6 @@
|
|
|
1992
1994
|
"strict": true,
|
|
1993
1995
|
"summary": "Resume the creation of an incomplete scratch org.",
|
|
1994
1996
|
"enableJsonFlag": true,
|
|
1995
|
-
"SF_ENV": "SF_ENV",
|
|
1996
1997
|
"isESM": true,
|
|
1997
1998
|
"relativePath": [
|
|
1998
1999
|
"lib",
|
|
@@ -2019,5 +2020,5 @@
|
|
|
2019
2020
|
]
|
|
2020
2021
|
}
|
|
2021
2022
|
},
|
|
2022
|
-
"version": "3.
|
|
2023
|
+
"version": "3.3.0"
|
|
2023
2024
|
}
|
package/package.json
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-org",
|
|
3
3
|
"description": "Commands to interact with Salesforce orgs",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.3.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^3.
|
|
8
|
+
"@oclif/core": "^3.16.0",
|
|
9
9
|
"@salesforce/core": "^6.4.4",
|
|
10
10
|
"@salesforce/kit": "^3.0.15",
|
|
11
|
-
"@salesforce/sf-plugins-core": "^
|
|
11
|
+
"@salesforce/sf-plugins-core": "^7.0.0",
|
|
12
12
|
"@salesforce/source-deploy-retrieve": "^10.2.5",
|
|
13
|
-
"chalk": "^
|
|
13
|
+
"chalk": "^5.3.0",
|
|
14
14
|
"change-case": "^5.3.0",
|
|
15
|
-
"
|
|
15
|
+
"is-wsl": "^3.1.0",
|
|
16
|
+
"open": "^10.0.3"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@oclif/plugin-command-snapshot": "^5.0.5",
|
|
19
|
-
"@salesforce/cli-plugins-testkit": "^5.1.
|
|
20
|
+
"@salesforce/cli-plugins-testkit": "^5.1.4",
|
|
20
21
|
"@salesforce/dev-scripts": "^8.2.0",
|
|
21
|
-
"@salesforce/plugin-command-reference": "^3.0.
|
|
22
|
+
"@salesforce/plugin-command-reference": "^3.0.61",
|
|
22
23
|
"@salesforce/ts-sinon": "1.4.19",
|
|
23
24
|
"@types/shelljs": "^0.8.14",
|
|
24
25
|
"eslint-plugin-sf-plugin": "^1.17.0",
|
|
25
26
|
"moment": "^2.30.1",
|
|
26
|
-
"oclif": "^4.1.
|
|
27
|
+
"oclif": "^4.1.4",
|
|
27
28
|
"shelljs": "^0.8.5",
|
|
28
29
|
"shx": "0.3.4",
|
|
29
30
|
"ts-node": "^10.9.2",
|
|
@@ -237,7 +238,7 @@
|
|
|
237
238
|
"exports": "./lib/index.js",
|
|
238
239
|
"type": "module",
|
|
239
240
|
"sfdx": {
|
|
240
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/3.
|
|
241
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/3.
|
|
241
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/3.3.0.crt",
|
|
242
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/3.3.0.sig"
|
|
242
243
|
}
|
|
243
244
|
}
|