@jayree/sfdx-plugin-manifest 3.1.66 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## [3.2.1](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.2.0...v3.2.1) (2024-04-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * reuse RegistryAccess ([d354c79](https://github.com/jayree/sfdx-plugin-manifest/commit/d354c79df1cc8c6a5c0cb696599505b5e033f3d2))
7
+
8
+ # [3.2.0](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.1.66...v3.2.0) (2024-04-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** bump @salesforce/core from 7.3.0 to 7.3.1 ([#1256](https://github.com/jayree/sfdx-plugin-manifest/issues/1256)) ([1b5f1bc](https://github.com/jayree/sfdx-plugin-manifest/commit/1b5f1bcf97103f96c0f716dbff50454efae8ff48))
14
+ * **deps:** bump @salesforce/sf-plugins-core from 9.0.4 to 9.0.5 ([#1263](https://github.com/jayree/sfdx-plugin-manifest/issues/1263)) ([548565f](https://github.com/jayree/sfdx-plugin-manifest/commit/548565f81cc2fa33be0c97c33e5412e7e48ef8a6))
15
+ * **deps:** bump @salesforce/source-deploy-retrieve from 11.0.1 to 11.0.2 ([#1262](https://github.com/jayree/sfdx-plugin-manifest/issues/1262)) ([14b74c1](https://github.com/jayree/sfdx-plugin-manifest/commit/14b74c1c567b172d07cade365bc97b621e70aca9))
16
+
17
+
18
+ ### Features
19
+
20
+ * support SDR presets ([fb13495](https://github.com/jayree/sfdx-plugin-manifest/commit/fb13495152a14d8269c74c35ede2c66f630a2951))
21
+
1
22
  ## [3.1.66](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.1.65...v3.1.66) (2024-04-19)
2
23
 
3
24
 
package/README.md CHANGED
@@ -48,7 +48,7 @@ EXAMPLES
48
48
  $ sfdx jayree manifest cleanup --manifest=package.xml --file=packageignore.xml
49
49
  ```
50
50
 
51
- _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.66/src/commands/jayree/manifest/cleanup.ts)_
51
+ _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.2.1/src/commands/jayree/manifest/cleanup.ts)_
52
52
 
53
53
  ### `sfdx jayree manifest generate`
54
54
 
@@ -86,7 +86,7 @@ EXAMPLES
86
86
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
87
87
  ```
88
88
 
89
- _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.66/src/commands/jayree/manifest/generate.ts)_
89
+ _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.2.1/src/commands/jayree/manifest/generate.ts)_
90
90
 
91
91
  ### `sfdx jayree manifest git diff`
92
92
 
@@ -169,5 +169,5 @@ FLAG DESCRIPTIONS
169
169
  The location can be an absolute path or relative to the current working directory.
170
170
  ```
171
171
 
172
- _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.66/src/commands/jayree/manifest/git/diff.ts)_
172
+ _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.2.1/src/commands/jayree/manifest/git/diff.ts)_
173
173
  <!-- commandsstop -->
@@ -38,7 +38,7 @@ export class ComponentSetExtra extends ComponentSet {
38
38
  ref1 = input;
39
39
  }
40
40
  const project = await SfProject.resolve();
41
- const gitDiffResolver = new GitDiffResolver(project);
41
+ const gitDiffResolver = new GitDiffResolver(project, registry);
42
42
  const inclusiveFilter = await gitDiffResolver.resolve(ref1, ref2, fsPaths);
43
43
  const childsTobeReplacedByParent = [
44
44
  ...Object.keys(registry.getTypeByName('workflow').children?.types ?? {}),
@@ -1 +1 @@
1
- {"version":3,"file":"componentSetExtra.js","sourceRoot":"","sources":["../../../src/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C,IAAI,IAAI,SAAS,CAAC,QAAQ,KAAK,cAAc,CAAC,QAAQ,CACrG,EACD,CAAC;gBACD,MAAM,SAAS,CAAC,WAAW,EAAE,CAAC,WAAW,CACvC,kBAAkB,SAAS,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,0BAA0B,CACtF,CAAC;YACJ,CAAC;QACH,CAAC;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- import { ComponentSet } from '@salesforce/source-deploy-retrieve';
1
+ import { ComponentSet, RegistryAccess } from '@salesforce/source-deploy-retrieve';
2
2
  import { SfProject } from '@salesforce/core';
3
3
  /**
4
4
  * Resolver for metadata type and component objects from a git diff result
@@ -12,10 +12,11 @@ export declare class GitDiffResolver {
12
12
  private gitDir;
13
13
  private uniquePackageDirectories;
14
14
  private localRepo;
15
+ private registry;
15
16
  /**
16
17
  * @param dir SFDX project directory
17
18
  */
18
- constructor(project: SfProject);
19
+ constructor(project: SfProject, registry?: RegistryAccess);
19
20
  resolve(ref1: string, ref2: string | undefined, fsPaths: string[] | undefined): Promise<ComponentSet>;
20
21
  private getFileStatus;
21
22
  private getComponentSet;
@@ -13,7 +13,6 @@ import { getString } from '@salesforce/ts-types';
13
13
  import { GitRepo } from '../utils/localGitRepo.js';
14
14
  import { VirtualTreeContainerExtra, parseMetadataXml } from './index.js';
15
15
  const debug = Debug('sf:gitDiff:resolver');
16
- const registryAccess = new RegistryAccess();
17
16
  /**
18
17
  * Resolver for metadata type and component objects from a git diff result
19
18
  *
@@ -26,11 +25,13 @@ export class GitDiffResolver {
26
25
  gitDir;
27
26
  uniquePackageDirectories;
28
27
  localRepo;
28
+ registry;
29
29
  /**
30
30
  * @param dir SFDX project directory
31
31
  */
32
- constructor(project) {
32
+ constructor(project, registry) {
33
33
  this.gitDir = project.getPath();
34
+ this.registry = registry ?? new RegistryAccess();
34
35
  this.uniquePackageDirectories = project.getUniquePackageDirectories().map((pDir) => pDir.fullPath);
35
36
  this.localRepo = GitRepo.getInstance({
36
37
  gitDir: this.gitDir,
@@ -67,8 +68,8 @@ export class GitDiffResolver {
67
68
  });
68
69
  }
69
70
  this.ref2VirtualTreeContainer = ref2VirtualTreeContainer;
70
- this.ref1Resolver = new MetadataResolver(registryAccess, ref1VirtualTreeContainer);
71
- this.ref2Resolver = new MetadataResolver(registryAccess, this.ref2VirtualTreeContainer);
71
+ this.ref1Resolver = new MetadataResolver(this.registry, ref1VirtualTreeContainer);
72
+ this.ref2Resolver = new MetadataResolver(this.registry, this.ref2VirtualTreeContainer);
72
73
  return this.getComponentSet(fileStatus);
73
74
  }
74
75
  async getFileStatus(ref1, ref2) {
@@ -89,6 +90,12 @@ export class GitDiffResolver {
89
90
  return false;
90
91
  }
91
92
  }
93
+ const fullName = parseMetadataXml(file.path)?.fullName;
94
+ if (fullName) {
95
+ if (files.find((a) => a.path === path.join(path.dirname(file.path), fullName, path.basename(file.path)) && a.status === 'A')) {
96
+ return false;
97
+ }
98
+ }
92
99
  }
93
100
  return true;
94
101
  });
@@ -96,7 +103,7 @@ export class GitDiffResolver {
96
103
  }
97
104
  // eslint-disable-next-line complexity
98
105
  async getComponentSet(gitLines) {
99
- const results = new ComponentSet(undefined, registryAccess);
106
+ const results = new ComponentSet(undefined, this.registry);
100
107
  const childComponentPromises = [];
101
108
  for (const [, { status, path: fpath }] of gitLines.entries()) {
102
109
  if (status === 'D') {
@@ -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,EACL,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,sBAAsB,GACvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAa,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,KAAK,MAAM,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