From a340a5ab071e6b9b60c7549c810d1fc23dd274a3 Mon Sep 17 00:00:00 2001 From: Shane McLaughlin Date: Tue, 28 Nov 2023 15:10:10 -0800 Subject: [PATCH 1/9] feat: ui for tracking (#819) * chore: handle new error with generic missing data * feat: ui for tracking * feat: hide testInfo until tests run * refactor: more concise ui * feat: hide test errors when there are none * fix: bump STL --------- Co-authored-by: Cristian Dominguez --- package.json | 2 +- src/commands/project/deploy/start.ts | 2 +- src/commands/project/retrieve/start.ts | 2 +- src/utils/progressBar.ts | 36 +++++++++++++++++++------- yarn.lock | 12 ++++----- 5 files changed, 36 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index e2430f20..d11281ad 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "@salesforce/kit": "^3.0.15", "@salesforce/sf-plugins-core": "^5.0.3", "@salesforce/source-deploy-retrieve": "^10.0.2", - "@salesforce/source-tracking": "^5.0.1", + "@salesforce/source-tracking": "^5.1.0", "chalk": "^5.3.0" }, "devDependencies": { diff --git a/src/commands/project/deploy/start.ts b/src/commands/project/deploy/start.ts index 80f3ea33..fd7c43d7 100644 --- a/src/commands/project/deploy/start.ts +++ b/src/commands/project/deploy/start.ts @@ -263,7 +263,7 @@ export default class DeployMetadata extends SfCommand { } protected catch(error: Error | SfError): Promise { - if (error instanceof SourceConflictError) { + if (error instanceof SourceConflictError && error.data) { if (!this.jsonEnabled()) { writeConflictTable(error.data); // set the message and add plugin-specific actions diff --git a/src/commands/project/retrieve/start.ts b/src/commands/project/retrieve/start.ts index fef75887..fd419ab8 100644 --- a/src/commands/project/retrieve/start.ts +++ b/src/commands/project/retrieve/start.ts @@ -267,7 +267,7 @@ export default class RetrieveMetadata extends SfCommand { } protected catch(error: Error | SfError): Promise { - if (!this.jsonEnabled() && error instanceof SourceConflictError) { + if (!this.jsonEnabled() && error instanceof SourceConflictError && error.data) { writeConflictTable(error.data); // set the message and add plugin-specific actions return super.catch({ diff --git a/src/utils/progressBar.ts b/src/utils/progressBar.ts index 1a2de233..2a90907c 100644 --- a/src/utils/progressBar.ts +++ b/src/utils/progressBar.ts @@ -6,9 +6,10 @@ */ import { dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; -import { envVars as env, EnvironmentVariable, Messages } from '@salesforce/core'; +import { envVars as env, EnvironmentVariable, Lifecycle, Messages } from '@salesforce/core'; import { MetadataApiDeploy, MetadataApiDeployStatus } from '@salesforce/source-deploy-retrieve'; import { Progress } from '@salesforce/sf-plugins-core'; +import { SourceMemberPollingEvent } from '@salesforce/source-tracking'; Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); const mdTransferMessages = Messages.loadMessages('@salesforce/plugin-deploy-retrieve', 'metadata.transfer'); @@ -20,7 +21,7 @@ const showBar = Boolean( export class DeployProgress extends Progress { private static OPTIONS = { title: 'Status', - format: `%s: {status} ${showBar ? '| {bar} ' : ''}| {value}/{total} Components (Errors:{errorCount}) {testInfo}`, + format: `%s: {status} ${showBar ? '| {bar} ' : ''}| {value}/{total} Components{errorInfo}{testInfo}{trackingInfo}`, barCompleteChar: '\u2588', barIncompleteChar: '\u2591', linewrap: true, @@ -28,13 +29,19 @@ export class DeployProgress extends Progress { // they won't get the "bar" but will get the remaining template bits this way noTTYOutput: true, }; + private lifecycle = Lifecycle.getInstance(); public constructor(private deploy: MetadataApiDeploy, jsonEnabled = false) { super(!jsonEnabled); } public start(): void { - super.start(0, { status: 'Waiting' }, DeployProgress.OPTIONS); + super.start(0, { status: 'Waiting', trackingInfo: '', testInfo: '' }, DeployProgress.OPTIONS); + + // for sourceMember polling events + this.lifecycle.on('sourceMemberPollingEvent', (event: SourceMemberPollingEvent) => + Promise.resolve(this.updateTrackingProgress(event)) + ); this.deploy.onUpdate((data) => this.updateProgress(data)); @@ -52,21 +59,32 @@ export class DeployProgress extends Progress { }); } + private updateTrackingProgress(data: SourceMemberPollingEvent): void { + const { remaining, original } = data; + this.update(0, { + status: 'Polling SourceMembers', + trackingInfo: ` | Tracking: ${original - remaining}/${original}`, + }); + } + private updateProgress(data: MetadataApiDeployStatus): void { // the numCompTot. isn't computed right away, wait to start until we know how many we have - const errorCount = data.numberComponentErrors ?? 0; - const testInfo = `| ${data.numberTestsCompleted ?? 0}/${data.numberTestsTotal ?? 0} Tests (Errors:${ - data.numberTestErrors - })`; + const testInfo = data.numberTestsTotal + ? ` | ${data.numberTestsCompleted ?? 0}/${data.numberTestsTotal ?? 0} Tests${ + data.numberTestErrors ? `(Errors:${data.numberTestErrors})` : '' + }` + : ''; + const errorInfo = data.numberComponentErrors > 0 ? ` | Errors: ${data.numberComponentErrors}` : ''; + if (data.numberComponentsTotal) { this.setTotal(data.numberComponentsTotal); this.update(data.numberComponentsDeployed, { - errorCount, + errorInfo: data.numberComponentErrors > 0 ? ` | Errors: ${data.numberComponentErrors}` : '', status: mdTransferMessages.getMessage(data.status), testInfo, }); } else { - this.update(0, { errorCount, testInfo, status: mdTransferMessages.getMessage(data.status) ?? 'Waiting' }); + this.update(0, { errorInfo, testInfo, status: mdTransferMessages.getMessage(data.status) ?? 'Waiting' }); } } } diff --git a/yarn.lock b/yarn.lock index 5cabd369..e3ba5909 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1200,15 +1200,15 @@ shelljs "^0.8.4" sinon "^10.0.0" -"@salesforce/source-tracking@^5.0.0", "@salesforce/source-tracking@^5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@salesforce/source-tracking/-/source-tracking-5.0.1.tgz#3b54b2ed8eee9c7bc8506ca9b1c0e88f961b435a" - integrity sha512-9ckOvid03/J5Lvq83aW7GIlLm9HtJ9NMLwalppDMvSd4T/lyWe8y4bxh4LKbqTC7fhzHMxet8yYTpzub0t+DPA== +"@salesforce/source-tracking@^5.0.0", "@salesforce/source-tracking@^5.1.0": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@salesforce/source-tracking/-/source-tracking-5.1.0.tgz#c0d6336f0002a8c4abeae4ff3392de4adc169fd3" + integrity sha512-FTuDwLjERm1OR/xTy4a5oHThGOQvI0Rqs4ZqClQFUdgUKREcbxvO3UivSekgXA3az6nuSeNRmaTZGTC5gPjtKA== dependencies: "@oclif/core" "^3.10.8" - "@salesforce/core" "^6.1.3" + "@salesforce/core" "^6.2.0" "@salesforce/kit" "^3.0.15" - "@salesforce/source-deploy-retrieve" "^10.0.0" + "@salesforce/source-deploy-retrieve" "^10.0.2" "@salesforce/ts-types" "^2.0.9" fast-xml-parser "^4.2.5" graceful-fs "^4.2.11" From baae1522844c65929b89683435ed9146966cba3c Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Tue, 28 Nov 2023 23:11:08 +0000 Subject: [PATCH 2/9] chore(release): 2.2.0 [skip ci] --- CHANGELOG.md | 6 ++++++ README.md | 34 +++++++++++++++++----------------- package.json | 2 +- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16d46801..a0a32e35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# [2.2.0](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/2.1.4...2.2.0) (2023-11-28) + +### Features + +- ui for tracking ([#819](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/819)) ([a340a5a](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/a340a5ab071e6b9b60c7549c810d1fc23dd274a3)) + ## [2.1.4](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/2.1.3...2.1.4) (2023-11-27) ### Bug Fixes diff --git a/README.md b/README.md index 45c8b98c..90b3a729 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ FLAG DESCRIPTIONS If you specify this parameter, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/convert/mdapi.ts)_ +_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/convert/mdapi.ts)_ ## `sf project convert source` @@ -153,7 +153,7 @@ USAGE | -m ] FLAGS - -d, --output-dir= [default: metadataPackage_1701116897216] Output directory to store the Metadata + -d, --output-dir= [default: metadataPackage_1701213063906] Output directory to store the Metadata API–formatted files in. -m, --metadata=... Metadata component names to convert. -n, --package-name= Name of the package to associate with the metadata-formatted files. @@ -213,7 +213,7 @@ FLAG DESCRIPTIONS Override the api version used for api requests made by this command ``` -_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/convert/source.ts)_ +_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/convert/source.ts)_ ## `sf project delete source` @@ -352,7 +352,7 @@ FLAG DESCRIPTIONS - Separate the test names with spaces: --tests Test1 Test2 "Test With Space" ``` -_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/delete/source.ts)_ +_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/delete/source.ts)_ ## `sf project delete tracking` @@ -388,7 +388,7 @@ EXAMPLES $ sf project delete tracking --target-org my-scratch ``` -_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/delete/tracking.ts)_ +_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/delete/tracking.ts)_ ## `sf project deploy cancel` @@ -458,7 +458,7 @@ FLAG DESCRIPTIONS project deploy report". ``` -_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/deploy/cancel.ts)_ +_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/cancel.ts)_ ## `sf project deploy preview` @@ -541,7 +541,7 @@ FLAG DESCRIPTIONS All child components are included. If you specify this flag, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/deploy/preview.ts)_ +_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/preview.ts)_ ## `sf project deploy quick` @@ -625,7 +625,7 @@ FLAG DESCRIPTIONS deploy report". ``` -_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/deploy/quick.ts)_ +_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/quick.ts)_ ## `sf project deploy report` @@ -720,7 +720,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/deploy/report.ts)_ +_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/report.ts)_ ## `sf project deploy resume` @@ -804,7 +804,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/deploy/resume.ts)_ +_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/resume.ts)_ ## `sf project deploy start` @@ -1016,7 +1016,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/deploy/start.ts)_ +_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/start.ts)_ ## `sf project deploy validate` @@ -1178,7 +1178,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/deploy/validate.ts)_ +_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/validate.ts)_ ## `sf project generate manifest` @@ -1253,7 +1253,7 @@ EXAMPLES $ sf project generate manifest --from-org test@myorg.com --include-packages unlocked ``` -_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/generate/manifest.ts)_ +_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/generate/manifest.ts)_ ## `sf project list ignored` @@ -1294,7 +1294,7 @@ EXAMPLES $ sf project list ignored --source-dir package.xml ``` -_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/list/ignored.ts)_ +_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/list/ignored.ts)_ ## `sf project reset tracking` @@ -1342,7 +1342,7 @@ EXAMPLES $ sf project reset tracking --revision 30 ``` -_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/reset/tracking.ts)_ +_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/reset/tracking.ts)_ ## `sf project retrieve preview` @@ -1397,7 +1397,7 @@ FLAG DESCRIPTIONS Overrides your default org. ``` -_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/retrieve/preview.ts)_ +_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/retrieve/preview.ts)_ ## `sf project retrieve start` @@ -1543,6 +1543,6 @@ FLAG DESCRIPTIONS If you specify this parameter, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.4/src/commands/project/retrieve/start.ts)_ +_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/retrieve/start.ts)_ diff --git a/package.json b/package.json index d11281ad..0e233c05 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-deploy-retrieve", "description": "deploy and retrieve commands for sf", - "version": "2.1.4", + "version": "2.2.0", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": { From 34a913cf140ca6c51f07ea1a0eb85cad068da9b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 01:13:56 +0000 Subject: [PATCH 3/9] fix(deps): bump @salesforce/source-deploy-retrieve from 10.0.2 to 10.0.3 Bumps [@salesforce/source-deploy-retrieve](https://github.com/forcedotcom/source-deploy-retrieve) from 10.0.2 to 10.0.3. - [Release notes](https://github.com/forcedotcom/source-deploy-retrieve/releases) - [Changelog](https://github.com/forcedotcom/source-deploy-retrieve/blob/main/CHANGELOG.md) - [Commits](https://github.com/forcedotcom/source-deploy-retrieve/compare/10.0.2...10.0.3) --- updated-dependencies: - dependency-name: "@salesforce/source-deploy-retrieve" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 0e233c05..ac7581eb 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "@salesforce/core": "^6.2.0", "@salesforce/kit": "^3.0.15", "@salesforce/sf-plugins-core": "^5.0.3", - "@salesforce/source-deploy-retrieve": "^10.0.2", + "@salesforce/source-deploy-retrieve": "^10.0.3", "@salesforce/source-tracking": "^5.1.0", "chalk": "^5.3.0" }, diff --git a/yarn.lock b/yarn.lock index e3ba5909..60b171ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1148,12 +1148,12 @@ chalk "^4" inquirer "^8.2.5" -"@salesforce/source-deploy-retrieve@^10.0.0", "@salesforce/source-deploy-retrieve@^10.0.2": - version "10.0.2" - resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-10.0.2.tgz#bfa522145eaad6a9ec601a2f5f004bee266736ae" - integrity sha512-Lj9QXoRBZANW4PNZpGwRA5CDztnczwrJyETcDADRFVzQG/HmCJKlRMVEKck+rs4ZB2PE891raNR2v5zo6vtvvg== +"@salesforce/source-deploy-retrieve@^10.0.0", "@salesforce/source-deploy-retrieve@^10.0.2", "@salesforce/source-deploy-retrieve@^10.0.3": + version "10.0.3" + resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-10.0.3.tgz#bd95e15a78ef08e4ade5f96b2846c0137cccf8bb" + integrity sha512-7YgGd2CpOTYXdbtoB31eJEylYl1gbZvMqzbw8VjK1OVcywzuFUA43xznxzrSyFsBZZO6QAUAKyxoxxYR9goTyg== dependencies: - "@salesforce/core" "^6.1.3" + "@salesforce/core" "^6.2.0" "@salesforce/kit" "^3.0.15" "@salesforce/ts-types" "^2.0.9" fast-levenshtein "^3.0.0" From 0bfe7f923310f026486e0a8bbae3436230f71459 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 01:14:12 +0000 Subject: [PATCH 4/9] chore(dev-deps): bump @oclif/plugin-command-snapshot from 5.0.2 to 5.0.3 Bumps [@oclif/plugin-command-snapshot](https://github.com/oclif/plugin-command-snapshot) from 5.0.2 to 5.0.3. - [Release notes](https://github.com/oclif/plugin-command-snapshot/releases) - [Changelog](https://github.com/oclif/plugin-command-snapshot/blob/main/CHANGELOG.md) - [Commits](https://github.com/oclif/plugin-command-snapshot/compare/5.0.2...5.0.3) --- updated-dependencies: - dependency-name: "@oclif/plugin-command-snapshot" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 0e233c05..5ac481e2 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "chalk": "^5.3.0" }, "devDependencies": { - "@oclif/plugin-command-snapshot": "^5.0.2", + "@oclif/plugin-command-snapshot": "^5.0.3", "@salesforce/cli-plugins-testkit": "^5.0.4", "@salesforce/dev-scripts": "^7.1.1", "@salesforce/plugin-command-reference": "^3.0.47", diff --git a/yarn.lock b/yarn.lock index e3ba5909..dba40fd1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -813,13 +813,13 @@ wordwrap "^1.0.0" wrap-ansi "^7.0.0" -"@oclif/plugin-command-snapshot@^5.0.2": - version "5.0.2" - resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.0.2.tgz#41e88d245e1ffb1822b4cb127df39f61672cf2b1" - integrity sha512-4Aun0P/K9uVC5JLmG968OJhDT5HMiOs4mmw7A2cWmf1Paw8zp4xZ40PvYOOKN86gaKukKFDTQ1sDuLBzqNhZow== +"@oclif/plugin-command-snapshot@^5.0.3": + version "5.0.3" + resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.0.3.tgz#1ca2ccc173ba66d81e0e351f0cf640a9c3782f02" + integrity sha512-LbG7lxdKhaapv7nrgUoQU505PA92OU4SOMyczS74BatgUHjx4B0qXOe3VI2aKmd+SApPaLDe/QsGnm98gfZhmQ== dependencies: "@oclif/core" "^3.10.8" - "@types/lodash.difference" "^4.5.8" + "@types/lodash.difference" "^4.5.9" chalk "^5.3.0" just-diff "^5.2.0" lodash.difference "^4.5.0" @@ -1478,7 +1478,7 @@ dependencies: "@types/node" "*" -"@types/lodash.difference@^4.5.8": +"@types/lodash.difference@^4.5.9": version "4.5.9" resolved "https://registry.yarnpkg.com/@types/lodash.difference/-/lodash.difference-4.5.9.tgz#69e82a68557779abac489585f43159997cab874c" integrity sha512-MNlajcjtwzLpXk+cw38UkBvEXJNEPhULgS8A4EHwtUwT7f7yFH/SFKD0iw5Rfilwh60yJIgFo0vsMr7xsa5+aw== From 603f34fbf47e456e1233dc28deb54555a2c079e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 02:44:57 +0000 Subject: [PATCH 5/9] chore(dev-deps): bump @salesforce/plugin-command-reference Bumps [@salesforce/plugin-command-reference](https://github.com/salesforcecli/plugin-command-reference) from 3.0.47 to 3.0.48. - [Release notes](https://github.com/salesforcecli/plugin-command-reference/releases) - [Changelog](https://github.com/salesforcecli/plugin-command-reference/blob/main/CHANGELOG.md) - [Commits](https://github.com/salesforcecli/plugin-command-reference/compare/3.0.47...3.0.48) --- updated-dependencies: - dependency-name: "@salesforce/plugin-command-reference" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 5ac481e2..947ffcd5 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@oclif/plugin-command-snapshot": "^5.0.3", "@salesforce/cli-plugins-testkit": "^5.0.4", "@salesforce/dev-scripts": "^7.1.1", - "@salesforce/plugin-command-reference": "^3.0.47", + "@salesforce/plugin-command-reference": "^3.0.48", "@salesforce/plugin-source": "^2.11.4", "@salesforce/source-testkit": "^2.1.65", "@salesforce/ts-sinon": "^1.4.19", diff --git a/yarn.lock b/yarn.lock index dba40fd1..0060cfba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -780,7 +780,7 @@ wordwrap "^1.0.0" wrap-ansi "^7.0.0" -"@oclif/core@^3.0.0", "@oclif/core@^3.0.4", "@oclif/core@^3.10.8", "@oclif/core@^3.11.0", "@oclif/core@^3.12.0", "@oclif/core@^3.3.1": +"@oclif/core@^3.0.4", "@oclif/core@^3.10.8", "@oclif/core@^3.11.0", "@oclif/core@^3.12.0", "@oclif/core@^3.3.1": version "3.12.0" resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.12.0.tgz#4b38b1b5dab2f7585f89c3927a8a157b258b4bd6" integrity sha512-mT1Vpd1E20IJ7P6GDYOivylPdTHq/xVgFjeCDjitFW86UAklFM8BEFyFB7KpsTvpmjRbCoda3yU10lSI1224lw== @@ -1081,12 +1081,12 @@ "@salesforce/ts-types" "^2.0.9" tslib "^2.6.2" -"@salesforce/plugin-command-reference@^3.0.47": - version "3.0.47" - resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.0.47.tgz#477c3384402ef08458f4259b100447e136384e85" - integrity sha512-A3syaw8bf8Bovne6WDiYOcOeLFKTqf1T+MXlxXPwDkDM0X5squkwVvE6wun7S54Q3n4gCSlCPiAMbJfpF8wwaw== +"@salesforce/plugin-command-reference@^3.0.48": + version "3.0.48" + resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.0.48.tgz#ca24930520e40266864dbe7ba51529ec446b35fc" + integrity sha512-eC8ZagVwBFJVxuls0bfomdtLhGbh6YxKbQKTWAVVvBDEEUvSxcpoeGhYHKRfYJU+4Wwa7GdwK86LTmAy/PD0KQ== dependencies: - "@oclif/core" "^3.0.0" + "@oclif/core" "^3.12.0" "@salesforce/core" "^5.3.20" "@salesforce/kit" "^3.0.15" "@salesforce/sf-plugins-core" "^4" From ebaea7ce10df08830a5789b08d553b9be90e68b4 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Sat, 2 Dec 2023 05:44:22 +0000 Subject: [PATCH 6/9] chore(release): 2.2.1 [skip ci] --- CHANGELOG.md | 6 ++++++ README.md | 34 +++++++++++++++++----------------- package.json | 2 +- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0a32e35..90da6d73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [2.2.1](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/2.2.0...2.2.1) (2023-12-02) + +### Bug Fixes + +- **deps:** bump @salesforce/source-deploy-retrieve from 10.0.2 to 10.0.3 ([34a913c](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/34a913cf140ca6c51f07ea1a0eb85cad068da9b6)) + # [2.2.0](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/2.1.4...2.2.0) (2023-11-28) ### Features diff --git a/README.md b/README.md index 90b3a729..55560063 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ FLAG DESCRIPTIONS If you specify this parameter, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/convert/mdapi.ts)_ +_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/convert/mdapi.ts)_ ## `sf project convert source` @@ -153,7 +153,7 @@ USAGE | -m ] FLAGS - -d, --output-dir= [default: metadataPackage_1701213063906] Output directory to store the Metadata + -d, --output-dir= [default: metadataPackage_1701495858045] Output directory to store the Metadata API–formatted files in. -m, --metadata=... Metadata component names to convert. -n, --package-name= Name of the package to associate with the metadata-formatted files. @@ -213,7 +213,7 @@ FLAG DESCRIPTIONS Override the api version used for api requests made by this command ``` -_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/convert/source.ts)_ +_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/convert/source.ts)_ ## `sf project delete source` @@ -352,7 +352,7 @@ FLAG DESCRIPTIONS - Separate the test names with spaces: --tests Test1 Test2 "Test With Space" ``` -_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/delete/source.ts)_ +_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/delete/source.ts)_ ## `sf project delete tracking` @@ -388,7 +388,7 @@ EXAMPLES $ sf project delete tracking --target-org my-scratch ``` -_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/delete/tracking.ts)_ +_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/delete/tracking.ts)_ ## `sf project deploy cancel` @@ -458,7 +458,7 @@ FLAG DESCRIPTIONS project deploy report". ``` -_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/cancel.ts)_ +_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/cancel.ts)_ ## `sf project deploy preview` @@ -541,7 +541,7 @@ FLAG DESCRIPTIONS All child components are included. If you specify this flag, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/preview.ts)_ +_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/preview.ts)_ ## `sf project deploy quick` @@ -625,7 +625,7 @@ FLAG DESCRIPTIONS deploy report". ``` -_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/quick.ts)_ +_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/quick.ts)_ ## `sf project deploy report` @@ -720,7 +720,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/report.ts)_ +_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/report.ts)_ ## `sf project deploy resume` @@ -804,7 +804,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/resume.ts)_ +_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/resume.ts)_ ## `sf project deploy start` @@ -1016,7 +1016,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/start.ts)_ +_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/start.ts)_ ## `sf project deploy validate` @@ -1178,7 +1178,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/deploy/validate.ts)_ +_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/validate.ts)_ ## `sf project generate manifest` @@ -1253,7 +1253,7 @@ EXAMPLES $ sf project generate manifest --from-org test@myorg.com --include-packages unlocked ``` -_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/generate/manifest.ts)_ +_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/generate/manifest.ts)_ ## `sf project list ignored` @@ -1294,7 +1294,7 @@ EXAMPLES $ sf project list ignored --source-dir package.xml ``` -_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/list/ignored.ts)_ +_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/list/ignored.ts)_ ## `sf project reset tracking` @@ -1342,7 +1342,7 @@ EXAMPLES $ sf project reset tracking --revision 30 ``` -_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/reset/tracking.ts)_ +_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/reset/tracking.ts)_ ## `sf project retrieve preview` @@ -1397,7 +1397,7 @@ FLAG DESCRIPTIONS Overrides your default org. ``` -_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/retrieve/preview.ts)_ +_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/retrieve/preview.ts)_ ## `sf project retrieve start` @@ -1543,6 +1543,6 @@ FLAG DESCRIPTIONS If you specify this parameter, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.0/src/commands/project/retrieve/start.ts)_ +_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/retrieve/start.ts)_ diff --git a/package.json b/package.json index 50988b4b..75b9d868 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-deploy-retrieve", "description": "deploy and retrieve commands for sf", - "version": "2.2.0", + "version": "2.2.1", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": { From de3e8f5b5f96a557bd7a3d56d8072500747f0952 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 08:46:57 +0000 Subject: [PATCH 7/9] fix(deps): bump @salesforce/sf-plugins-core from 5.0.3 to 5.0.5 Bumps [@salesforce/sf-plugins-core](https://github.com/salesforcecli/sf-plugins-core) from 5.0.3 to 5.0.5. - [Release notes](https://github.com/salesforcecli/sf-plugins-core/releases) - [Changelog](https://github.com/salesforcecli/sf-plugins-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/salesforcecli/sf-plugins-core/compare/5.0.3...5.0.5) --- updated-dependencies: - dependency-name: "@salesforce/sf-plugins-core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 754109c3..d6a598d0 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "@salesforce/apex-node": "^2.1.2", "@salesforce/core": "^6.2.0", "@salesforce/kit": "^3.0.15", - "@salesforce/sf-plugins-core": "^5.0.3", + "@salesforce/sf-plugins-core": "^5.0.5", "@salesforce/source-deploy-retrieve": "^10.0.3", "@salesforce/source-tracking": "^5.1.0", "chalk": "^5.3.0" diff --git a/yarn.lock b/yarn.lock index 4b04fdec..3fa5bb79 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1135,13 +1135,13 @@ chalk "^4" inquirer "^8.2.5" -"@salesforce/sf-plugins-core@^5.0.1", "@salesforce/sf-plugins-core@^5.0.3": - version "5.0.3" - resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-5.0.3.tgz#a771dc887c0a13ac23a5b1c16a6965791914f3aa" - integrity sha512-D+RCUzrYIWpJakNfxtHXJd6LZr6bK4gA4e7jLPR1G1FmDFss13PT7hOdFRxmAqTPbcp1jf65vwYZzu5nbqzmvQ== +"@salesforce/sf-plugins-core@^5.0.1", "@salesforce/sf-plugins-core@^5.0.5": + version "5.0.5" + resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-5.0.5.tgz#9ab91099fb3e5f8be86c5572d755adcc5913dd25" + integrity sha512-IlxDYH8ihznGwPclKyo/teKo4eutuIIzA3hq2d9AuFlGH4N6e7rN3IgTfhp7yV/K7RA70Ub/+dl7etIAO7FmMQ== dependencies: - "@oclif/core" "^3.11.0" - "@salesforce/core" "^6.1.3" + "@oclif/core" "^3.12.0" + "@salesforce/core" "^6.2.0" "@salesforce/kit" "^3.0.15" "@salesforce/ts-types" "^2.0.9" "@types/inquirer" "^8.2.3" From 18d6f8f7f4430afd1e65ed9e3084d936a069e89c Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Sat, 2 Dec 2023 11:44:28 +0000 Subject: [PATCH 8/9] chore(release): 2.2.2 [skip ci] --- CHANGELOG.md | 6 ++++++ README.md | 34 +++++++++++++++++----------------- package.json | 2 +- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90da6d73..a2172833 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [2.2.2](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/2.2.1...2.2.2) (2023-12-02) + +### Bug Fixes + +- **deps:** bump @salesforce/sf-plugins-core from 5.0.3 to 5.0.5 ([de3e8f5](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/de3e8f5b5f96a557bd7a3d56d8072500747f0952)) + ## [2.2.1](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/2.2.0...2.2.1) (2023-12-02) ### Bug Fixes diff --git a/README.md b/README.md index 55560063..709fa0ae 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ FLAG DESCRIPTIONS If you specify this parameter, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/convert/mdapi.ts)_ +_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/convert/mdapi.ts)_ ## `sf project convert source` @@ -153,7 +153,7 @@ USAGE | -m ] FLAGS - -d, --output-dir= [default: metadataPackage_1701495858045] Output directory to store the Metadata + -d, --output-dir= [default: metadataPackage_1701517464173] Output directory to store the Metadata API–formatted files in. -m, --metadata=... Metadata component names to convert. -n, --package-name= Name of the package to associate with the metadata-formatted files. @@ -213,7 +213,7 @@ FLAG DESCRIPTIONS Override the api version used for api requests made by this command ``` -_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/convert/source.ts)_ +_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/convert/source.ts)_ ## `sf project delete source` @@ -352,7 +352,7 @@ FLAG DESCRIPTIONS - Separate the test names with spaces: --tests Test1 Test2 "Test With Space" ``` -_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/delete/source.ts)_ +_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/delete/source.ts)_ ## `sf project delete tracking` @@ -388,7 +388,7 @@ EXAMPLES $ sf project delete tracking --target-org my-scratch ``` -_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/delete/tracking.ts)_ +_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/delete/tracking.ts)_ ## `sf project deploy cancel` @@ -458,7 +458,7 @@ FLAG DESCRIPTIONS project deploy report". ``` -_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/cancel.ts)_ +_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/deploy/cancel.ts)_ ## `sf project deploy preview` @@ -541,7 +541,7 @@ FLAG DESCRIPTIONS All child components are included. If you specify this flag, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/preview.ts)_ +_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/deploy/preview.ts)_ ## `sf project deploy quick` @@ -625,7 +625,7 @@ FLAG DESCRIPTIONS deploy report". ``` -_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/quick.ts)_ +_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/deploy/quick.ts)_ ## `sf project deploy report` @@ -720,7 +720,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/report.ts)_ +_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/deploy/report.ts)_ ## `sf project deploy resume` @@ -804,7 +804,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/resume.ts)_ +_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/deploy/resume.ts)_ ## `sf project deploy start` @@ -1016,7 +1016,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/start.ts)_ +_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/deploy/start.ts)_ ## `sf project deploy validate` @@ -1178,7 +1178,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/deploy/validate.ts)_ +_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/deploy/validate.ts)_ ## `sf project generate manifest` @@ -1253,7 +1253,7 @@ EXAMPLES $ sf project generate manifest --from-org test@myorg.com --include-packages unlocked ``` -_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/generate/manifest.ts)_ +_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/generate/manifest.ts)_ ## `sf project list ignored` @@ -1294,7 +1294,7 @@ EXAMPLES $ sf project list ignored --source-dir package.xml ``` -_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/list/ignored.ts)_ +_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/list/ignored.ts)_ ## `sf project reset tracking` @@ -1342,7 +1342,7 @@ EXAMPLES $ sf project reset tracking --revision 30 ``` -_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/reset/tracking.ts)_ +_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/reset/tracking.ts)_ ## `sf project retrieve preview` @@ -1397,7 +1397,7 @@ FLAG DESCRIPTIONS Overrides your default org. ``` -_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/retrieve/preview.ts)_ +_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/retrieve/preview.ts)_ ## `sf project retrieve start` @@ -1543,6 +1543,6 @@ FLAG DESCRIPTIONS If you specify this parameter, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.1/src/commands/project/retrieve/start.ts)_ +_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.2.2/src/commands/project/retrieve/start.ts)_ diff --git a/package.json b/package.json index d6a598d0..38edf22a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-deploy-retrieve", "description": "deploy and retrieve commands for sf", - "version": "2.2.1", + "version": "2.2.2", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": { From 4738d9c4169fdb3e51bda0bbd75d69ed902fc8b5 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Tue, 5 Dec 2023 00:50:45 +0000 Subject: [PATCH 9/9] chore: updates from devScripts --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 38edf22a..7a9bf256 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@oclif/plugin-command-snapshot": "^5.0.3", "@salesforce/cli-plugins-testkit": "^5.0.4", - "@salesforce/dev-scripts": "^7.1.1", + "@salesforce/dev-scripts": "^8.0.0", "@salesforce/plugin-command-reference": "^3.0.48", "@salesforce/plugin-source": "^2.11.4", "@salesforce/source-testkit": "^2.1.65", diff --git a/yarn.lock b/yarn.lock index 3fa5bb79..5e1f6c00 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1042,17 +1042,17 @@ resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e" integrity sha512-2iDDepiIwjXHS5IVY7pwv8jMo4xWosJ7p/UTj+lllpB/gnJiYLhjJPE4Z3FCGFKyvfg5jGaimCd8Ca6bLGsCQA== -"@salesforce/dev-scripts@^7.1.1": - version "7.1.1" - resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-7.1.1.tgz#549b58fb7e8c2410ce594c46f780a0907618f19f" - integrity sha512-6SL+QDOMZCnmU4Lu2ZCjqsMRcHw96mnjUOPE7b2HcfmfPo2a/hAYUtv8v7UsZ/+3UPbSf+XsLJfUsF15QIUWrg== +"@salesforce/dev-scripts@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.0.0.tgz#debdc8a311858259e7c972a55b82521c6eed101d" + integrity sha512-8TxQD+8Acn1CBiiSwhTPnYfbdaX9fASUPB5CvTSQJMr9aitoa9PFrC/wE7QTmtf+O8UAAVz4nndhjVABqpYf1Q== dependencies: "@commitlint/cli" "^17.1.2" "@commitlint/config-conventional" "^17.1.0" "@salesforce/dev-config" "^4.1.0" "@salesforce/prettier-config" "^0.0.3" "@types/chai" "^4.3.10" - "@types/mocha" "^10.0.4" + "@types/mocha" "^10.0.6" "@types/node" "^18" "@types/sinon" "^10.0.20" chai "^4.3.10" @@ -1505,10 +1505,10 @@ resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== -"@types/mocha@^10.0.4": - version "10.0.4" - resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.4.tgz#b5331955ebca216604691fd4fcd2dbdc2bd559a4" - integrity sha512-xKU7bUjiFTIttpWaIZ9qvgg+22O1nmbA+HRxdlR+u6TWsGfmFdXrheJoK4fFxrHNVIOBDvDNKZG+LYBpMHpX3w== +"@types/mocha@^10.0.6": + version "10.0.6" + resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.6.tgz#818551d39113081048bdddbef96701b4e8bb9d1b" + integrity sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg== "@types/node@*": version "20.3.1"