From 60379add453e83284c83c1d40b502095e1f6e702 Mon Sep 17 00:00:00 2001 From: Willhoit Date: Thu, 8 Aug 2024 20:44:24 -0500 Subject: [PATCH 1/4] docs: metadata md formatting (#1391) --- contributing/metadata.md | 53 +++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/contributing/metadata.md b/contributing/metadata.md index e0d6ed5969..d0283e0742 100644 --- a/contributing/metadata.md +++ b/contributing/metadata.md @@ -213,34 +213,31 @@ You can use an existing org for the metadata describe portion of the script by ## Prerequisites - 1. A sfdx project must exist in local. - `sf project generate --name --default-package-dir -x` - 2. An authorized devhub org must exists - `sf org login web -a -r -d` - 3. A scratch org must exists with alias `registryBuilder` - 1. Update `project-scratch-def.json` as per your requirements. - 2. `sf org create scratch -f config/project-scratch-def.json -a registryBuilder -d` +1. A sfdx project must exist in local `sf project generate --name --default-package-dir -x` +1. An authorized devhub org must exists `sf org login web -a -r -d` +1. A scratch org must exists with alias `registryBuilder` + 1. Update `project-scratch-def.json` as per your requirements + 1. Run `sf org create scratch -f config/project-scratch-def.json -a registryBuilder -d` ## Steps - 1. Fork SourceDeployRetrieve github repo - (https://github.com/forcedotcom/source-deploy-retrieve) - 2. Clone forked repo in local and checkout a new branch - 3. Setup Yarn - 1. Go to the repo directory - 2. Run `yarn install && yarn build` - 4. Setup an environment variable by executing command - `export RB_EXISTING_ORG=true` - 5. Execute yarn update command for required metadata entities - `yarn update-registry ` - 6. Check if respective file(`src/registry/metadataRegistry.json`) - got updated. `git status` - - Now changes are available in local, we have to link the registry with sfdx project - - 8. From SDR git repo directory, run `yarn build; yarn link` - 9. Clone plugin repo (https://github.com/salesforcecli/plugin-deploy-retrieve) - 10. Execute `yarn link @salesforce/source-deploy-retrieve` and `sfdx plugins:link .` and `yarn build` from cloned plugin repo directory - - Registry has been set for your entities, now you can run (e.g.) `sf project deploy start` command for your entities: - Proceed to `Manual Testing` section above in this document. +1. Fork [SourceDeployRetrieve github repo](https://github.com/forcedotcom/source-deploy-retrieve) +1. Clone forked repo in local and checkout a new branch +1. Setup Yarn + 1. Go to the repo directory + 1. Run `yarn install && yarn build` +1. Setup an environment variable by executing command `export RB_EXISTING_ORG=true` +1. Execute yarn update command for required metadata entities `yarn update-registry ` +1. Check if respective file (`src/registry/metadataRegistry.json`) was updated with `git status` + +Now changes are available in local, we have to link the registry with sfdx project + +1. From SDR git repo directory, run `yarn build && yarn link` +1. Clone the [plugin-deploy-retrieve repo](https://github.com/salesforcecli/plugin-deploy-retrieve) +1. From cloned plugin repo directory execute + 1. `yarn link @salesforce/source-deploy-retrieve` + 1. `sfdx plugins:link .` + 1. `yarn build` + +Registry has been set for your entities, now you can run (e.g.) `sf project deploy start` command for your entities: +Proceed to `Manual Testing` section above in this document. From dbcad9cb648ff9294f5874a026d7361132d494dc Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Fri, 9 Aug 2024 22:07:23 +0000 Subject: [PATCH 2/4] chore: auto-update metadata coverage in METADATA_SUPPORT.md [no ci] --- METADATA_SUPPORT.md | 1 + 1 file changed, 1 insertion(+) diff --git a/METADATA_SUPPORT.md b/METADATA_SUPPORT.md index c729c1cc37..6f4a7547c8 100644 --- a/METADATA_SUPPORT.md +++ b/METADATA_SUPPORT.md @@ -645,6 +645,7 @@ v62 introduces the following new types. Here's their current level of support |PublicKeyCertificateSet|❌|Not supported, but support could be added (but not for tracking)| |StageDefinition|✅|| |UiFormatSpecificationSet|❌|Not supported, but support could be added| +|WorkflowFlowAutomation|❌|Not supported, but support could be added| ## Additional Types From e0e03c80e8bbed9a396824a5e4dc8c84d29349f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 10 Aug 2024 21:51:21 -0500 Subject: [PATCH 3/4] fix(deps): bump @salesforce/core from 8.2.8 to 8.3.0 (#1396) Bumps [@salesforce/core](https://github.com/forcedotcom/sfdx-core) from 8.2.8 to 8.3.0. - [Release notes](https://github.com/forcedotcom/sfdx-core/releases) - [Changelog](https://github.com/forcedotcom/sfdx-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/forcedotcom/sfdx-core/compare/8.2.8...8.3.0) --- updated-dependencies: - dependency-name: "@salesforce/core" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 620b154cb0..8213288ef3 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "node": ">=18.0.0" }, "dependencies": { - "@salesforce/core": "^8.2.8", + "@salesforce/core": "^8.3.0", "@salesforce/kit": "^3.1.6", "@salesforce/ts-types": "^2.0.12", "fast-levenshtein": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 79889fb855..b285cfebd8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -523,10 +523,10 @@ strip-ansi "6.0.1" ts-retry-promise "^0.8.1" -"@salesforce/core@^8.2.3", "@salesforce/core@^8.2.8": - version "8.2.8" - resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.2.8.tgz#1e93ddd8b9f348f1e20547de4cdff30062520fd9" - integrity sha512-Fyy1TG9cUtQV+YAjyYCHerZ0K/t9fuB6dU9HrXFvcjMKorMS5JaI1wkZh8w1+zfvu6GY/MOzeqVZCq2W+9ShLA== +"@salesforce/core@^8.2.3", "@salesforce/core@^8.2.8", "@salesforce/core@^8.3.0": + version "8.3.0" + resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.3.0.tgz#b61fb6c0c0dec5664ce12ba62ebe35136ae33878" + integrity sha512-HZchC42oGJ5RQsG9HpAb1bT7ohjB31ATDz46ryMvLngMmrfHnyzv2mlIi6UdYkJ/2meH2BJkibHi8paPrtF+/A== dependencies: "@jsforce/jsforce-node" "^3.4.0" "@salesforce/kit" "^3.1.6" From e7b7a53fab1740f5a23e7bf147f688b74742475d Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Sun, 11 Aug 2024 02:51:47 +0000 Subject: [PATCH 4/4] chore(release): 12.1.13 [skip ci] --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e98f4b0d0f..fd91b3840a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [12.1.13](https://github.com/forcedotcom/source-deploy-retrieve/compare/12.1.12...12.1.13) (2024-08-11) + + +### Bug Fixes + +* **deps:** bump @salesforce/core from 8.2.8 to 8.3.0 ([#1396](https://github.com/forcedotcom/source-deploy-retrieve/issues/1396)) ([e0e03c8](https://github.com/forcedotcom/source-deploy-retrieve/commit/e0e03c80e8bbed9a396824a5e4dc8c84d29349f6)) + + + ## [12.1.12](https://github.com/forcedotcom/source-deploy-retrieve/compare/12.1.11...12.1.12) (2024-08-04) diff --git a/package.json b/package.json index 8213288ef3..c448374032 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@salesforce/source-deploy-retrieve", - "version": "12.1.12", + "version": "12.1.13", "description": "JavaScript library to run Salesforce metadata deploys and retrieves", "main": "lib/src/index.js", "author": "Salesforce",