diff --git a/README.md b/README.md index 6615bdc0..b73cf12e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli $ sf COMMAND running command... $ sf (--version|-v) -@salesforce/cli/2.61.6 linux-x64 node-v20.17.0 +@salesforce/cli/2.61.7 linux-x64 node-v20.17.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -520,7 +520,7 @@ FLAG DESCRIPTIONS directory. ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.4.10/src/commands/apex/get/log.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/get/log.ts)_ ## `sf apex get test` @@ -528,8 +528,8 @@ Display test results for a specific asynchronous test run. ``` USAGE - $ sf apex get test -o -i [--json] [--flags-dir ] [--api-version ] [-c] [-d ] - [-r human|tap|junit|json] [--concise] + $ sf apex get test -o -i [--json] [--flags-dir ] [--api-version ] + [--detailed-coverage -c] [-d ] [-r human|tap|junit|json] [--concise] FLAGS -c, --code-coverage Retrieve code coverage results. @@ -541,6 +541,7 @@ FLAGS --api-version= Override the api version used for api requests made by this command --concise Display only failed test results; works with human-readable output only. + --detailed-coverage Display detailed code coverage per test. GLOBAL FLAGS --flags-dir= Import flag values from a directory. @@ -552,6 +553,10 @@ DESCRIPTION Provide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the "sf apex test run" command. + To see code coverage results, use the --code-coverage flag with --result-format. The output displays a high-level + summary of the test run and the code coverage values for classes in your org. If you specify human-readable result + format, use the --detailed-coverage flag to see detailed coverage results for each test method run. + ALIASES $ sf force apex test report @@ -575,7 +580,7 @@ EXAMPLES me@myorg' ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.4.10/src/commands/apex/get/test.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/get/test.ts)_ ## `sf apex list log` @@ -615,7 +620,7 @@ EXAMPLES $ sf apex list log --target-org me@my.org ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.4.10/src/commands/apex/list/log.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/list/log.ts)_ ## `sf apex run` @@ -662,7 +667,7 @@ EXAMPLES $ sf apex run ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.4.10/src/commands/apex/run.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/run.ts)_ ## `sf apex run test` @@ -802,7 +807,7 @@ FLAG DESCRIPTIONS --tests Test1 --tests Test2 ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.4.10/src/commands/apex/run/test.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/run/test.ts)_ ## `sf apex tail log` @@ -845,7 +850,7 @@ EXAMPLES $ sf apex tail log --color --skip-trace-flag ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.4.10/src/commands/apex/tail/log.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/tail/log.ts)_ ## `sf api request graphql` @@ -5883,7 +5888,7 @@ FLAG DESCRIPTIONS If you specify this parameter, don’t specify --metadata or --source-dir. ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/convert/mdapi.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/convert/mdapi.ts)_ ## `sf project convert source` @@ -5956,7 +5961,7 @@ FLAG DESCRIPTIONS Override the api version used for api requests made by this command ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/convert/source.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/convert/source.ts)_ ## `sf project convert source-behavior` @@ -6014,7 +6019,7 @@ EXAMPLES $ sf project convert source-behavior --behavior decomposePermissionSetBeta --dry-run --preserve-temp-dir ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/convert/source-behavior.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/convert/source-behavior.ts)_ ## `sf project delete source` @@ -6154,7 +6159,7 @@ FLAG DESCRIPTIONS - Separate the test names with spaces: --tests Test1 Test2 "Test With Space" ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/delete/source.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/delete/source.ts)_ ## `sf project delete tracking` @@ -6191,7 +6196,7 @@ EXAMPLES $ sf project delete tracking --target-org my-scratch ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/delete/tracking.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/delete/tracking.ts)_ ## `sf project deploy cancel` @@ -6263,7 +6268,7 @@ FLAG DESCRIPTIONS project deploy report". ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/deploy/cancel.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/deploy/cancel.ts)_ ## `sf project deploy preview` @@ -6346,7 +6351,7 @@ FLAG DESCRIPTIONS All child components are included. If you specify this flag, don’t specify --metadata or --source-dir. ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/deploy/preview.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/deploy/preview.ts)_ ## `sf project deploy quick` @@ -6439,7 +6444,7 @@ ERROR CODES Canceling (69) The deploy is being canceled. ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/deploy/quick.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/deploy/quick.ts)_ ## `sf project deploy report` @@ -6531,7 +6536,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/deploy/report.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/deploy/report.ts)_ ## `sf project deploy resume` @@ -6628,7 +6633,7 @@ ERROR CODES Canceling (69) The deploy is being canceled. ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/deploy/resume.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/deploy/resume.ts)_ ## `sf project deploy start` @@ -6881,7 +6886,7 @@ ERROR CODES Canceling (69) The deploy is being canceled. ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/deploy/start.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/deploy/start.ts)_ ## `sf project deploy validate` @@ -7071,7 +7076,7 @@ ERROR CODES Canceling (69) The deploy is being canceled. ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/deploy/validate.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/deploy/validate.ts)_ ## `sf project generate` @@ -7253,7 +7258,7 @@ EXAMPLES $ sf project generate manifest --from-org test@myorg.com --include-packages unlocked ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/generate/manifest.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/generate/manifest.ts)_ ## `sf project list ignored` @@ -7295,7 +7300,7 @@ EXAMPLES $ sf project list ignored --source-dir package.xml ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/list/ignored.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/list/ignored.ts)_ ## `sf project reset tracking` @@ -7344,7 +7349,7 @@ EXAMPLES $ sf project reset tracking --revision 30 ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/reset/tracking.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/reset/tracking.ts)_ ## `sf project retrieve preview` @@ -7398,7 +7403,7 @@ FLAG DESCRIPTIONS production orgs. ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/retrieve/preview.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/retrieve/preview.ts)_ ## `sf project retrieve start` @@ -7575,7 +7580,7 @@ ENVIRONMENT VARIABLES SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command. ``` -_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.14/src/commands/project/retrieve/start.ts)_ +_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.12.15/src/commands/project/retrieve/start.ts)_ ## `sf schema generate field` diff --git a/package.json b/package.json index cc4fcd2a..5e84e515 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/cli", "description": "The Salesforce CLI", - "version": "2.61.6", + "version": "2.61.7", "author": "Salesforce", "bin": { "sf": "./bin/run.js", @@ -140,7 +140,7 @@ }, "dependencies": { "@inquirer/select": "^2.3.5", - "@oclif/core": "4.0.23", + "@oclif/core": "4.0.25", "@oclif/plugin-autocomplete": "3.2.5", "@oclif/plugin-commands": "4.0.16", "@oclif/plugin-help": "6.2.13", @@ -153,11 +153,11 @@ "@oclif/plugin-which": "3.2.15", "@salesforce/core": "^8.2.3", "@salesforce/kit": "^3.1.6", - "@salesforce/plugin-apex": "3.4.10", + "@salesforce/plugin-apex": "3.5.0", "@salesforce/plugin-api": "1.2.2", "@salesforce/plugin-auth": "3.6.65", "@salesforce/plugin-data": "3.6.8", - "@salesforce/plugin-deploy-retrieve": "3.12.14", + "@salesforce/plugin-deploy-retrieve": "3.12.15", "@salesforce/plugin-info": "3.4.9", "@salesforce/plugin-limits": "3.3.32", "@salesforce/plugin-marketplace": "1.2.26", diff --git a/yarn.lock b/yarn.lock index adf94e2e..4deb060a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1874,10 +1874,10 @@ proc-log "^4.0.0" which "^4.0.0" -"@oclif/core@4.0.23", "@oclif/core@^4", "@oclif/core@^4.0.16", "@oclif/core@^4.0.18", "@oclif/core@^4.0.19", "@oclif/core@^4.0.20", "@oclif/core@^4.0.23", "@oclif/core@^4.0.6": - version "4.0.23" - resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.0.23.tgz#8772cfd57f850e2e17b703166b44da092a7986a0" - integrity sha512-wDl/eis7XDIM1pQWUGKLB+EQKJO9UrjaQ5NcwIbz7GW0gWuJfo9QAK75csgNUN/9Pbok9Ryt+sJgogS4RCIp5g== +"@oclif/core@4.0.25", "@oclif/core@^4", "@oclif/core@^4.0.16", "@oclif/core@^4.0.18", "@oclif/core@^4.0.19", "@oclif/core@^4.0.20", "@oclif/core@^4.0.23", "@oclif/core@^4.0.6": + version "4.0.25" + resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.0.25.tgz#d1a77f679be9c90bfe50728433d38961eea69489" + integrity sha512-3rX1dA40cZWzH6NKcNJGXrJn30XaxnkFXfapLMX0wwSWvBfXE/zIduHt03kLRxeFuEBUR5FBnU64odDWKhtFKg== dependencies: ansi-escapes "^4.3.2" ansis "^3.3.2" @@ -2301,10 +2301,10 @@ jszip "^3.10.1" object-treeify "^2" -"@salesforce/plugin-apex@3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@salesforce/plugin-apex/-/plugin-apex-3.4.10.tgz#cfe77edd9800ddc5529647dc780f441d88dd6cd6" - integrity sha512-NQd2KjyBIOjcZ3FwCVN9jQsLcDXD1iLNv0d/kkFHQfax+Gh6LNzqVSRKm3bdvOWOA1OMbvCtwAlTr5QYKN9NnQ== +"@salesforce/plugin-apex@3.5.0": + version "3.5.0" + resolved "https://registry.yarnpkg.com/@salesforce/plugin-apex/-/plugin-apex-3.5.0.tgz#6fb75286765276eec6b1dc0bb25b60f6f5c772cc" + integrity sha512-sz2Rdk9GbrDLQ2RzouoL1BMKzihwIZESIDnnAa+YI81CDgQZEEDhn8cM1oKMa1tsXkkdNMhrxVChb5tCbTTi9Q== dependencies: "@salesforce/apex-node" "^8.1.9" "@salesforce/core" "^8.5.1" @@ -2371,10 +2371,10 @@ csv-stringify "^6.5.1" form-data "^4.0.0" -"@salesforce/plugin-deploy-retrieve@3.12.14": - version "3.12.14" - resolved "https://registry.yarnpkg.com/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.12.14.tgz#32e4afe0662e6fdf6e3d5cfe55a5418ee82ce0ce" - integrity sha512-w0B3QdfwxbFtyh6C0+K58H+EXisPAggrxv/jaRWG8JdpFOSeHmb3Zuog1PznhUZEsS5rd/KQKyK3Iizy2gkvlw== +"@salesforce/plugin-deploy-retrieve@3.12.15": + version "3.12.15" + resolved "https://registry.yarnpkg.com/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.12.15.tgz#728404979567b698a2f40b5dadb6ec6ea721aa49" + integrity sha512-OXMxRSLMukLKBTlccTCchB17w2VinmERjhJcjrQpgWkOFpxLCLJqSR+Emy/l2kscz088mH1tUmH1omg8vIlh2g== dependencies: "@oclif/core" "^4.0.18" "@salesforce/apex-node" "^8.1.9" @@ -2382,7 +2382,7 @@ "@salesforce/kit" "^3.2.3" "@salesforce/plugin-info" "^3.4.9" "@salesforce/sf-plugins-core" "^11.3.2" - "@salesforce/source-deploy-retrieve" "^12.6.3" + "@salesforce/source-deploy-retrieve" "^12.7.3" "@salesforce/source-tracking" "^7.1.16" "@salesforce/ts-types" "^2.0.12" ansis "^3.3.2" @@ -2609,12 +2609,12 @@ string-width "^7.2.0" terminal-link "^3.0.0" -"@salesforce/source-deploy-retrieve@^12.6.0", "@salesforce/source-deploy-retrieve@^12.6.3", "@salesforce/source-deploy-retrieve@^12.7.1": - version "12.7.1" - resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.7.1.tgz#5e828fb721edac136d0903624d82cb5f9e197f21" - integrity sha512-duFgp76CHA8coLEkl9QYmJJmJrHHiU4EtRkBv3hP0H0lTDaMdwCjfxAexGLxT2PCRsE5fbZgwJg+wYFLJHZkIw== +"@salesforce/source-deploy-retrieve@^12.6.0", "@salesforce/source-deploy-retrieve@^12.7.1", "@salesforce/source-deploy-retrieve@^12.7.3": + version "12.7.3" + resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.7.3.tgz#03e14fc44be423a52b3df35796bcfa8916494cfe" + integrity sha512-hnaU4maxxHYc7B2fBKNevXjBJqTOdOqXIRhIHypeC1OMuUGYT6hchAxRIYGYaG+LEQ8Af4QG7t4zx3nJZuXV2Q== dependencies: - "@salesforce/core" "^8.5.7" + "@salesforce/core" "^8.6.1" "@salesforce/kit" "^3.2.2" "@salesforce/ts-types" "^2.0.12" fast-levenshtein "^3.0.0"