Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into sm/new-ext-nuts-on-pdr
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Jun 10, 2024
2 parents 26c7397 + 0b9bcd2 commit 44f705a
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 34 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [11.6.6](https://github.com/forcedotcom/source-deploy-retrieve/compare/11.6.5...11.6.6) (2024-06-10)


### Bug Fixes

* **deps:** devScripts update ([#1337](https://github.com/forcedotcom/source-deploy-retrieve/issues/1337)) ([efe70d4](https://github.com/forcedotcom/source-deploy-retrieve/commit/efe70d4f9e6b66e7010fc63603bb7ac78ff2df2c))



## [11.6.5](https://github.com/forcedotcom/source-deploy-retrieve/compare/11.6.4...11.6.5) (2024-06-03)

### Bug Fixes
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salesforce/source-deploy-retrieve",
"version": "11.6.5",
"version": "11.6.6",
"description": "JavaScript library to run Salesforce metadata deploys and retrieves",
"main": "lib/src/index.js",
"author": "Salesforce",
Expand All @@ -25,7 +25,7 @@
"node": ">=18.0.0"
},
"dependencies": {
"@salesforce/core": "^7.3.9",
"@salesforce/core": "^7.3.12",
"@salesforce/kit": "^3.1.1",
"@salesforce/ts-types": "^2.0.9",
"fast-levenshtein": "^3.0.0",
Expand All @@ -40,8 +40,8 @@
},
"devDependencies": {
"@jsforce/jsforce-node": "^3.2.0",
"@salesforce/cli-plugins-testkit": "^5.3.8",
"@salesforce/dev-scripts": "^9.1.2",
"@salesforce/cli-plugins-testkit": "^5.3.10",
"@salesforce/dev-scripts": "^10.1.0",
"@types/deep-equal-in-any-order": "^1.0.1",
"@types/fast-levenshtein": "^0.0.4",
"@types/graceful-fs": "^4.1.9",
Expand Down
3 changes: 2 additions & 1 deletion test/snapshot/sampleProjects/mpdWithLabels/snapshots.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { ComponentSetBuilder } from '../../../../src/collections/componentSetBui
const folder = 'mpdWithLabels';
const tmpFolder = `${folder}Tmp`;
const testOriginalDir = path.join('test', 'snapshot', 'sampleProjects', folder);
const testDir = testOriginalDir.replace(folder, `${folder}Tmp`);
const testDir = testOriginalDir.replace(folder, tmpFolder);
const pkgDirs = ['force-app', 'my-app', path.join('foo-bar', 'app')];
const resolvedPkgDirs = pkgDirs.map((d) => path.join(testDir, d));

Expand All @@ -32,6 +32,7 @@ describe('recompose/decompose mpd project with labels', () => {
});
const cs = await ComponentSetBuilder.build({
sourcepath: resolvedPkgDirs,
apiversion: '60.0',
});
const converter = new MetadataConverter();
await converter.convert(cs, 'metadata', {
Expand Down
61 changes: 32 additions & 29 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -548,54 +548,55 @@
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==

"@salesforce/cli-plugins-testkit@^5.3.8":
version "5.3.8"
resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.3.8.tgz#35c0d34b17e04a1162cdfa6c6450bda3f9062502"
integrity sha512-A+//ZlAwRPQQylIAPwo2Lob5PfSObyFbiYqYsG/ktBQlF41MASZHkCb/3/qJv1/2gPusVOUbEsmF1LRIj8reNg==
"@salesforce/cli-plugins-testkit@^5.3.10":
version "5.3.10"
resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.3.10.tgz#d2dbd19525b0c91ae6ea037c90d437f604855b03"
integrity sha512-D41LFxtkZGExooVecva5q/oGM+ggsoK7BDcxfdpHS+wD4c62pzQC9qeH7qb3QZczmvXf5Iyt1g/c9ajBzvk74g==
dependencies:
"@salesforce/core" "^7.3.9"
"@salesforce/core" "^7.3.12"
"@salesforce/kit" "^3.1.2"
"@salesforce/ts-types" "^2.0.9"
"@types/shelljs" "^0.8.15"
debug "^4.3.1"
debug "^4.3.5"
jszip "^3.10.1"
shelljs "^0.8.4"
sinon "^17.0.2"
strip-ansi "6.0.1"
ts-retry-promise "^0.8.1"

"@salesforce/core@^7.3.8", "@salesforce/core@^7.3.9":
version "7.3.9"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-7.3.9.tgz#8abe2b3e2393989d11e92b7a6b96043fc9d5b9c8"
integrity sha512-eJqDiA5b7wU50Ee/xjmGzSnHrNVJ8S77B7enfX30gm7gxU3i3M3QeBdiV6XAOPLSIL96DseofP6Tv6c+rljlKA==
"@salesforce/core@^7.3.12", "@salesforce/core@^7.3.8":
version "7.3.12"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-7.3.12.tgz#9138980db21566c467f35afe9192f33bf77f160c"
integrity sha512-a53KYv2xaJpmFlN4haI7ewaMpRqdRwaqbm11wLn0il6+LNR1/2zkRdqE3opdTW6aXNvVecNu0YQj5/u3Uz3oPw==
dependencies:
"@jsforce/jsforce-node" "^3.2.0"
"@salesforce/kit" "^3.1.1"
"@salesforce/kit" "^3.1.2"
"@salesforce/schemas" "^1.9.0"
"@salesforce/ts-types" "^2.0.9"
ajv "^8.13.0"
ajv "^8.15.0"
change-case "^4.1.2"
fast-levenshtein "^3.0.0"
faye "^1.4.0"
form-data "^4.0.0"
js2xmlparser "^4.0.1"
jsonwebtoken "9.0.2"
jszip "3.10.1"
pino "^8.21.0"
pino-abstract-transport "^1.1.0"
pino-abstract-transport "^1.2.0"
pino-pretty "^10.3.1"
proper-lockfile "^4.1.2"
semver "^7.6.2"
ts-retry-promise "^0.7.1"
ts-retry-promise "^0.8.1"

"@salesforce/dev-config@^4.1.0":
version "4.1.0"
resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e"
integrity sha512-2iDDepiIwjXHS5IVY7pwv8jMo4xWosJ7p/UTj+lllpB/gnJiYLhjJPE4Z3FCGFKyvfg5jGaimCd8Ca6bLGsCQA==

"@salesforce/dev-scripts@^9.1.2":
version "9.1.2"
resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-9.1.2.tgz#41180b427bc4d97acd6667410f6b7642bfc000fe"
integrity sha512-ZVNL2j3rU+qDZ6G1nxu6pV8HFdru2L9PYL//npEmvnofwt4j8fmYiZD39K8ljLN3RxT7X1//b55R1h0DbcgeLA==
"@salesforce/dev-scripts@^10.1.0":
version "10.1.0"
resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-10.1.0.tgz#9bf765a5c8d46725e35d994fa32a1fe8f25019ba"
integrity sha512-8fItXnCR8G5n950Ymgrjc6CGJjR80376v6GIdjatv3AmMVJAB/GerglcNF/LIJjBXB5OLxiTLAjQdPCvWqBL1g==
dependencies:
"@commitlint/cli" "^17.1.2"
"@commitlint/config-conventional" "^17.8.1"
Expand Down Expand Up @@ -1028,10 +1029,10 @@ ajv@^6.12.4:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"

ajv@^8.11.0, ajv@^8.13.0:
version "8.13.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.13.0.tgz#a3939eaec9fb80d217ddf0c3376948c023f28c91"
integrity sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==
ajv@^8.11.0, ajv@^8.15.0:
version "8.16.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.16.0.tgz#22e2a92b94f005f7e0f9c9d39652ef0b8f6f0cb4"
integrity sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==
dependencies:
fast-deep-equal "^3.1.3"
json-schema-traverse "^1.0.0"
Expand Down Expand Up @@ -1711,7 +1712,14 @@ dateformat@^4.6.3:
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-4.6.3.tgz#556fa6497e5217fedb78821424f8a1c22fa3f4b5"
integrity sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==

debug@4, [email protected], debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4:
debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@^4.3.5:
version "4.3.5"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.5.tgz#e83444eceb9fedd4a1da56d671ae2446a01a6e1e"
integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==
dependencies:
ms "2.1.2"

[email protected]:
version "4.3.4"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
Expand Down Expand Up @@ -4311,7 +4319,7 @@ picomatch@^3.0.1:
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-3.0.1.tgz#817033161def55ec9638567a2f3bbc876b3e7516"
integrity sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==

pino-abstract-transport@^1.0.0, pino-abstract-transport@^1.1.0, pino-abstract-transport@^1.2.0:
pino-abstract-transport@^1.0.0, pino-abstract-transport@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/pino-abstract-transport/-/pino-abstract-transport-1.2.0.tgz#97f9f2631931e242da531b5c66d3079c12c9d1b5"
integrity sha512-Guhh8EZfPCfH+PMXAb6rKOjGQEoy0xlAIn+irODG5kgfYV+BQ0rGYYWTIel3P5mmyXqkYkPmdIkywsn6QKUR1Q==
Expand Down Expand Up @@ -5259,11 +5267,6 @@ ts-patch@^3.1.1:
semver "^7.5.4"
strip-ansi "^6.0.1"

ts-retry-promise@^0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/ts-retry-promise/-/ts-retry-promise-0.7.1.tgz#176d6eee6415f07b6c7c286d3657355e284a6906"
integrity sha512-NhHOCZ2AQORvH42hOPO5UZxShlcuiRtm7P2jIq2L2RY3PBxw2mLnUsEdHrIslVBFya1v5aZmrR55lWkzo13LrQ==

ts-retry-promise@^0.8.1:
version "0.8.1"
resolved "https://registry.yarnpkg.com/ts-retry-promise/-/ts-retry-promise-0.8.1.tgz#ba90eb07cb03677fcbf78fe38e94c9183927e154"
Expand Down

2 comments on commit 44f705a

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 44f705a Previous: 37ed263 Ratio
eda-componentSetCreate-linux 176 ms 182 ms 0.97
eda-sourceToMdapi-linux 1980 ms 1920 ms 1.03
eda-sourceToZip-linux 1390 ms 1403 ms 0.99
eda-mdapiToSource-linux 2812 ms 2753 ms 1.02
lotsOfClasses-componentSetCreate-linux 512 ms 414 ms 1.24
lotsOfClasses-sourceToMdapi-linux 3608 ms 3693 ms 0.98
lotsOfClasses-sourceToZip-linux 2988 ms 3027 ms 0.99
lotsOfClasses-mdapiToSource-linux 3415 ms 3450 ms 0.99
lotsOfClassesOneDir-componentSetCreate-linux 616 ms 613 ms 1.00
lotsOfClassesOneDir-sourceToMdapi-linux 6388 ms 6476 ms 0.99
lotsOfClassesOneDir-sourceToZip-linux 5499 ms 5485 ms 1.00
lotsOfClassesOneDir-mdapiToSource-linux 6182 ms 6343 ms 0.97

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 44f705a Previous: 37ed263 Ratio
eda-componentSetCreate-win32 359 ms 422 ms 0.85
eda-sourceToMdapi-win32 3397 ms 3884 ms 0.87
eda-sourceToZip-win32 2138 ms 2389 ms 0.89
eda-mdapiToSource-win32 5429 ms 6396 ms 0.85
lotsOfClasses-componentSetCreate-win32 837 ms 846 ms 0.99
lotsOfClasses-sourceToMdapi-win32 7333 ms 7626 ms 0.96
lotsOfClasses-sourceToZip-win32 4719 ms 4969 ms 0.95
lotsOfClasses-mdapiToSource-win32 7418 ms 7799 ms 0.95
lotsOfClassesOneDir-componentSetCreate-win32 1444 ms 1572 ms 0.92
lotsOfClassesOneDir-sourceToMdapi-win32 13086 ms 14160 ms 0.92
lotsOfClassesOneDir-sourceToZip-win32 8444 ms 9148 ms 0.92
lotsOfClassesOneDir-mdapiToSource-win32 13195 ms 13934 ms 0.95

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.