@jayree/sfdx-plugin-manifest 3.5.22 → 3.5.24
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +18 -0
- package/README.md +3 -3
- package/lib/SDR-extra/resolve/gitDiffResolver.js +3 -0
- package/lib/SDR-extra/resolve/gitDiffResolver.js.map +1 -1
- package/lib/SDR-extra/resolve/treeContainersExtra.js +3 -0
- package/lib/SDR-extra/resolve/treeContainersExtra.js.map +1 -1
- package/lib/SDR-extra/shared/local/localGitRepo.js +5 -0
- package/lib/SDR-extra/shared/local/localGitRepo.js.map +1 -1
- package/lib/SDR-extra/shared/local/moveDetection.js +6 -0
- package/lib/SDR-extra/shared/local/moveDetection.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/npm-shrinkwrap.json +728 -1912
- package/oclif.lock +733 -1157
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
+
## [3.5.24](https://github.com/jayree/sfdx-plugin-manifest/compare/3.5.23...3.5.24) (2024-10-06)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **deps:** bump @salesforce/sf-plugins-core from 11.3.10 to 11.3.12 ([#1516](https://github.com/jayree/sfdx-plugin-manifest/issues/1516)) ([4c70a32](https://github.com/jayree/sfdx-plugin-manifest/commit/4c70a32c0383b0ff45e637dfe505db470fd5c92f))
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
## [3.5.23](https://github.com/jayree/sfdx-plugin-manifest/compare/3.5.22...3.5.23) (2024-10-05)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* **deps:** bump @salesforce/source-tracking from 7.1.16 to 7.1.17 ([#1510](https://github.com/jayree/sfdx-plugin-manifest/issues/1510)) ([93a4b93](https://github.com/jayree/sfdx-plugin-manifest/commit/93a4b934999e4d9e7cb8a746fc57ae7421f39130))
|
16
|
+
|
17
|
+
|
18
|
+
|
1
19
|
## [3.5.22](https://github.com/jayree/sfdx-plugin-manifest/compare/3.5.21...3.5.22) (2024-10-05)
|
2
20
|
|
3
21
|
|
package/README.md
CHANGED
@@ -60,7 +60,7 @@ EXAMPLES
|
|
60
60
|
$ sf jayree manifest cleanup --manifest=package.xml --file=packageignore.xml
|
61
61
|
```
|
62
62
|
|
63
|
-
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.5.
|
63
|
+
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.5.24/src/commands/jayree/manifest/cleanup.ts)_
|
64
64
|
|
65
65
|
### `sf jayree manifest generate`
|
66
66
|
|
@@ -98,7 +98,7 @@ EXAMPLES
|
|
98
98
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
99
99
|
```
|
100
100
|
|
101
|
-
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.5.
|
101
|
+
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.5.24/src/commands/jayree/manifest/generate.ts)_
|
102
102
|
|
103
103
|
### `sf jayree manifest git diff REF1 [REF2]`
|
104
104
|
|
@@ -181,5 +181,5 @@ FLAG DESCRIPTIONS
|
|
181
181
|
The location can be an absolute path or relative to the current working directory.
|
182
182
|
```
|
183
183
|
|
184
|
-
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.5.
|
184
|
+
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/3.5.24/src/commands/jayree/manifest/git/diff.ts)_
|
185
185
|
<!-- commandsstop -->
|
@@ -7,6 +7,7 @@
|
|
7
7
|
import path from 'node:path';
|
8
8
|
import { ComponentSet, RegistryAccess, MetadataResolver } from '@salesforce/source-deploy-retrieve';
|
9
9
|
import { SfError, Lifecycle, Logger } from '@salesforce/core';
|
10
|
+
import { Performance } from '@oclif/core/performance';
|
10
11
|
import { GitRepo } from '../shared/local/localGitRepo.js';
|
11
12
|
import { getComponentSets, getGroupedFiles } from '../shared/gitComponentSetArray.js';
|
12
13
|
import { VirtualTreeContainerExtra } from '../resolve/treeContainersExtra.js';
|
@@ -40,6 +41,7 @@ export class GitDiffResolver {
|
|
40
41
|
});
|
41
42
|
}
|
42
43
|
async resolve(ref1, ref2, fsPaths) {
|
44
|
+
const marker = Performance.mark('@jayree/sfdx-plugin-manifest', 'GitDiffResolver.resolve');
|
43
45
|
if (ref2 === undefined) {
|
44
46
|
const { ref1: r1, ref2: r2 } = await this.localRepo.resolveMultiRefString(ref1);
|
45
47
|
ref1 = r1;
|
@@ -77,6 +79,7 @@ export class GitDiffResolver {
|
|
77
79
|
await lifecycle.emitWarning(`The forceignored file ${file} was ignored.`);
|
78
80
|
}
|
79
81
|
}
|
82
|
+
marker?.stop();
|
80
83
|
return cs;
|
81
84
|
}
|
82
85
|
async gitChangesAsComponentSet(byPackageDir) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"gitDiffResolver.js","sourceRoot":"","sources":["../../../src/SDR-extra/resolve/gitDiffResolver.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACpG,OAAO,EAAa,OAAO,EAAE,SAAS,EAAE,MAAM,EAAmB,MAAM,kBAAkB,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,MAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;AAExD;;;;G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gBAC9C,MAAM,SAAS,CAAC,WAAW,CAAC,yBAAyB,IAAI,eAAe,CAAC,CAAC;YAC5E,CAAC;QACH,CAAC;QAED,MAAM,EAAE,IAAI,EAAE,CAAC;QAEf,OAAO,EAAE,CAAC;IACZ,CAAC;IAEO,KAAK,CAAC,wBAAwB,CAAC,YAAsB;QAC3D,MAAM,CAAC,aAAa,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;YACxC,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAGhC;SACF,CAAC,CAAC;QAEH,MAAM,gBAAgB,GAAG,aAAa,CAAC,gBAAgB,CAAC;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,eAAe,EAAE,CAAC;QAC9C,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC;QACrD,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC;QAEpD,MAAM,SAAS,GAAG,eAAe,CAC/B;YACE,WAAW,EAAE,IAAI,CAAC,YAAY;YAC9B,IAAI;YACJ,QAAQ;YACR,OAAO;SACR,EACD,YAAY,IAAI,OAAO,CAAC,aAAa,CAAC,kCAAkC,CAAC,CAC1E,CAAC;QAEF,OAAO,gBAAgB,CAAC;YACtB,SAAS;YACT,gBAAgB;YAChB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,kBAAkB,EAAE,IAAI,CAAC,YAAY;YACrC,qBAAqB,EAAE,IAAI,CAAC,YAAY;YACxC,oBAAoB,EAAE,IAAI,CAAC,wBAAwB;SACpD,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -11,6 +11,7 @@ import { VirtualTreeContainer } from '@salesforce/source-deploy-retrieve';
|
|
11
11
|
import { parseMetadataXml } from '@salesforce/source-deploy-retrieve/lib/src/utils/index.js';
|
12
12
|
import { readBlob as _readBlob, listFiles as _listFiles, resolveRef } from 'isomorphic-git';
|
13
13
|
import { ensurePosix, ensureWindows, IS_WINDOWS } from '@salesforce/source-tracking/lib/shared/local/functions.js';
|
14
|
+
import { Performance } from '@oclif/core/performance';
|
14
15
|
export class VirtualTreeContainerExtra extends VirtualTreeContainer {
|
15
16
|
/**
|
16
17
|
* Designed for recreating virtual files from a git ref
|
@@ -22,6 +23,7 @@ export class VirtualTreeContainerExtra extends VirtualTreeContainer {
|
|
22
23
|
* @returns VirtualTreeContainer
|
23
24
|
*/
|
24
25
|
static async fromGitRef(ref, dir, includeBufferForFiles) {
|
26
|
+
const marker = Performance.mark('@jayree/sfdx-plugin-manifest', 'VirtualTreeContainerExtra.fromGitRef');
|
25
27
|
const paths = await listFiles(dir, ref);
|
26
28
|
const oid = ref ? await resolveRef({ fs, dir, ref }) : '';
|
27
29
|
const virtualDirectoryByFullPath = new Map();
|
@@ -45,6 +47,7 @@ export class VirtualTreeContainerExtra extends VirtualTreeContainer {
|
|
45
47
|
});
|
46
48
|
}
|
47
49
|
}
|
50
|
+
marker?.stop();
|
48
51
|
return new VirtualTreeContainer(Array.from(virtualDirectoryByFullPath.values()));
|
49
52
|
}
|
50
53
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"treeContainersExtra.js","sourceRoot":"","sources":["../../../src/SDR-extra/resolve/treeContainersExtra.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,gGAAgG;AAChG,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAoB,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,SAAS,IAAI,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,2DAA2D,CAAC;
|
1
|
+
{"version":3,"file":"treeContainersExtra.js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AAW;IAC/C,OAAO,GAAG;QACR,CAAC,CAAC,CAAC,MAAM,UAAU,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/F,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5G,CAAC;AAED,KAAK,UAAU,QAAQ,CAAC,GAAW,EAAE,QAAgB,EAAE,GAAW;IAChE,OAAO,GAAG;QACR,CAAC,CAAC,MAAM,CAAC,IAAI,CACT,CACE,MAAM,SAAS,CAAC;YACd,EAAE;YACF,GAAG;YACH,GAAG;YACH,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ;SACxD,CAAC,CACH,CAAC,IAAI,CACP;QACH,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC1C,CAAC"}
|
@@ -11,6 +11,7 @@ import os from 'node:os';
|
|
11
11
|
import fs from 'node:fs/promises';
|
12
12
|
import { execSync } from 'node:child_process';
|
13
13
|
import git from 'isomorphic-git';
|
14
|
+
import { Performance } from '@oclif/core/performance';
|
14
15
|
import { Lifecycle, SfError } from '@salesforce/core';
|
15
16
|
import { excludeLwcLocalOnlyTest, folderContainsPath } from '@salesforce/source-tracking/lib/shared/functions.js';
|
16
17
|
import { HEAD, WORKDIR, IS_WINDOWS, ensureWindows, ensurePosix, toFilenames, } from '@salesforce/source-tracking/lib/shared/local/functions.js';
|
@@ -130,6 +131,7 @@ export class GitRepo {
|
|
130
131
|
return toFilenames(this.getDeletes());
|
131
132
|
}
|
132
133
|
async getStatus(ref1, ref2) {
|
134
|
+
const marker = Performance.mark('@jayree/sfdx-plugin-manifest', 'localGitRepo.getStatus');
|
133
135
|
await this.checkLocalGitAutocrlfConfig();
|
134
136
|
try {
|
135
137
|
this.status = await statusMatrix({
|
@@ -150,6 +152,7 @@ export class GitRepo {
|
|
150
152
|
catch (e) {
|
151
153
|
redirectToCliRepoError(e);
|
152
154
|
}
|
155
|
+
marker?.stop();
|
153
156
|
return this.status;
|
154
157
|
}
|
155
158
|
async emitStatusWarnings() {
|
@@ -188,6 +191,7 @@ export class GitRepo {
|
|
188
191
|
const matchingFiles = getMatches(this.status);
|
189
192
|
if (!matchingFiles.added.size || !matchingFiles.deleted.size)
|
190
193
|
return;
|
194
|
+
const movedFilesMarker = Performance.mark('@jayree/sfdx-plugin-manifest', 'localGitRepo.detectMovedFiles');
|
191
195
|
const sourceBehaviorOptionsBetaMatches = new Map();
|
192
196
|
for (const deletedFilePath of matchingFiles.deleted) {
|
193
197
|
const fullName = parseMetadataXml(deletedFilePath)?.fullName;
|
@@ -213,6 +217,7 @@ export class GitRepo {
|
|
213
217
|
...matches.deleteOnly.values(),
|
214
218
|
];
|
215
219
|
this.status = this.status.filter((file) => (removeFiles.includes(file[0]) ? false : true));
|
220
|
+
movedFilesMarker?.stop();
|
216
221
|
}
|
217
222
|
async getCommitLog(ref) {
|
218
223
|
try {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"localGitRepo.js","sourceRoot":"","sources":["../../../../src/SDR-extra/shared/local/localGitRepo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,+FAA+F;AAC/F,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,IAAI,MA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UAAU,CAAC,QAAQ,CAAC,CAAC;IAC9D,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;AAExD,MAAM,UAAU,GACd,CAAC,WAAqB,EAAE,EAAE,CAC1B,CAAC,CAAS,EAAW,EAAE;AACrB,kBAAkB;AAClB,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,GAAG,GAAG,CAAC;IAC3B,eAAe;IACf,uBAAuB,CAAC,CAAC,CAAC;IAC1B,qBAAqB;IACrB,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;IACzB,kFAAkF;IAClF,WAAW,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
@@ -11,6 +11,7 @@ import { Lifecycle } from '@salesforce/core';
|
|
11
11
|
import { MetadataResolver, VirtualTreeContainer, } from '@salesforce/source-deploy-retrieve';
|
12
12
|
import git from 'isomorphic-git';
|
13
13
|
import fs from 'graceful-fs';
|
14
|
+
import { Performance } from '@oclif/core/performance';
|
14
15
|
import { isDefined } from '@salesforce/source-tracking/lib/shared/guards.js';
|
15
16
|
import { uniqueArrayConcat } from '@salesforce/source-tracking/lib/shared/functions.js';
|
16
17
|
import { IS_WINDOWS, ensurePosix, ensureWindows } from '@salesforce/source-tracking/lib/shared/local/functions.js';
|
@@ -76,11 +77,16 @@ const compareHashes = ({ addedMap, deletedMap }) => {
|
|
76
77
|
};
|
77
78
|
/** enrich the filenames with basename and oid (hash) */
|
78
79
|
const toFileInfo = async ({ projectPath, gitDir, added, deleted, }) => {
|
80
|
+
const getInfoMarker = Performance.mark('@jayree/sfdx-plugin-manifest', 'localGitRepo.detectMovedFiles#toFileInfo', {
|
81
|
+
addedFiles: added.size,
|
82
|
+
deletedFiles: deleted.size,
|
83
|
+
});
|
79
84
|
const headRef = await git.resolveRef({ fs, dir: projectPath, gitdir: gitDir, ref: 'HEAD' });
|
80
85
|
const [addedInfo, deletedInfo] = await Promise.all([
|
81
86
|
await Promise.all(Array.from(added).map(getHashForAddedFile(projectPath))),
|
82
87
|
await Promise.all(Array.from(deleted).map(getHashFromActualFileContents(gitDir)(projectPath)(headRef))),
|
83
88
|
]);
|
89
|
+
getInfoMarker?.stop();
|
84
90
|
return { addedInfo, deletedInfo };
|
85
91
|
};
|
86
92
|
const getHashForAddedFile = (projectPath) => async (filepath) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"moveDetection.js","sourceRoot":"","sources":["../../../../src/SDR-extra/shared/local/moveDetection.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,6FAA6F;AAC7F,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,gBAAgB,EAGhB,oBAAoB,GACrB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,GAAG,MAAM,gBAAgB,CAAC;AACjC,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAC;AACnH,OAAO,EAAE,QAAQ,EAAE,MAAM,+DAA+D,CAAC;AAQzF,MAAM,SAAS,GAAG,MAAM,CAAC,CAAC,wDAAwD;AAclF,mEAAmE;AACnE,MAAM,CAAC,MAAM,oBAAoB,GAC/B,CAAC,QAAwB,EAAE,EAAE,CAC7B,CAAC,WAAmB,EAAE,EAAE,CACxB,CAAC,MAAc,EAAE,EAAE,CACnB,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAA4B,EAAiC,EAAE;IACpF,MAAM,QAAQ,GAAG,IAAI,gBAAgB,CACnC,QAAQ,EACR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