@jayree/sfdx-plugin-manifest 3.0.16 → 3.0.18

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [3.0.18](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.0.17...v3.0.18) (2023-05-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **manifest:cleanup:** add missing types if specified in cleanup file ([98c9787](https://github.com/jayree/sfdx-plugin-manifest/commit/98c9787c80b11a5221d7f10b0d9a5071c1b98991))
7
+ * **manifest:generate:** keep translations with manageableState=beta ([c3db3e0](https://github.com/jayree/sfdx-plugin-manifest/commit/c3db3e0f4160f7aa4e0bba592be0f417ff9f35b3))
8
+
9
+ ## [3.0.17](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.0.16...v3.0.17) (2023-05-16)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **deps:** bump vm2 from 3.9.17 to 3.9.18 ([#702](https://github.com/jayree/sfdx-plugin-manifest/issues/702)) ([2b679f7](https://github.com/jayree/sfdx-plugin-manifest/commit/2b679f7a6fbc57deb3209788eac2fe85e4902912))
15
+
1
16
  ## [3.0.16](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.0.15...v3.0.16) (2023-05-12)
2
17
 
3
18
 
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.0.16/src/commands/jayree/manifest/cleanup.ts)_
51
+ _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0.18/src/commands/jayree/manifest/cleanup.ts)_
52
52
 
53
53
  ### `sfdx jayree:manifest:generate`
54
54
 
@@ -84,7 +84,7 @@ EXAMPLES
84
84
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
85
85
  ```
86
86
 
87
- _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0.16/src/commands/jayree/manifest/generate.ts)_
87
+ _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0.18/src/commands/jayree/manifest/generate.ts)_
88
88
 
89
89
  ### `sfdx jayree:manifest:git:diff`
90
90
 
@@ -166,7 +166,7 @@ FLAG DESCRIPTIONS
166
166
  The location can be an absolute path or relative to the current working directory.
167
167
  ```
168
168
 
169
- _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0.16/src/commands/jayree/manifest/git/diff.ts)_
169
+ _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0.18/src/commands/jayree/manifest/git/diff.ts)_
170
170
 
171
171
  ### `sfdx jayree:manifest:legacy:git:diff`
172
172
 
@@ -244,5 +244,5 @@ FLAG DESCRIPTIONS
244
244
  The location can be an absolute path or relative to the current working directory.
245
245
  ```
246
246
 
247
- _See code: [src/commands/jayree/manifest/legacy/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0.16/src/commands/jayree/manifest/legacy/git/diff.ts)_
247
+ _See code: [src/commands/jayree/manifest/legacy/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.0.18/src/commands/jayree/manifest/legacy/git/diff.ts)_
248
248
  <!-- commandsstop -->
@@ -80,56 +80,57 @@ class CleanupManifest extends SfCommand {
80
80
  typeMap.set(value.name, ensureArray(value.members));
81
81
  });
82
82
  const { packageTypeMembers: ignoreTypeMembers } = parseManifest(fs.readFileSync(ignoreManifest, 'utf8'));
83
- ignoreTypeMembers.forEach((types) => {
84
- if (typeMap.get(types.name)) {
85
- const resolveWildCard = (members) => {
86
- members
87
- .filter((m) => m.includes('*') && m.length > 1)
88
- .forEach((i) => {
89
- members.splice(members.indexOf(i), 1);
90
- const wildCard = i.split('*');
91
- members = members.concat(typeMap.get(types.name)?.filter((m) => {
92
- if (wildCard.length === 2) {
93
- if (i.startsWith('*')) {
94
- return m.endsWith(wildCard[1]);
95
- }
96
- else if (i.endsWith('*')) {
97
- return m.startsWith(wildCard[0]);
98
- }
99
- else {
100
- return m.startsWith(wildCard[0]) && m.endsWith(wildCard[1]);
101
- }
102
- }
103
- }));
104
- });
105
- return members;
106
- };
107
- const packageTypeMembers = resolveWildCard(ensureArray(types.members));
108
- if (packageTypeMembers.includes('*') && packageTypeMembers.length > 1) {
109
- const includemembers = packageTypeMembers.slice();
110
- includemembers.splice(includemembers.indexOf('*'), 1);
111
- const includedmembers = typeMap.get(types.name)?.filter((value) => includemembers.includes(value));
112
- if (includedmembers?.length) {
113
- this.log('include only members ' + includedmembers.toString() + ' for type ' + types.name);
114
- typeMap.set(types.name, includedmembers);
83
+ const resolveWildCard = (name, members) => {
84
+ members
85
+ .filter((m) => m.includes('*') && m.length > 1)
86
+ .forEach((i) => {
87
+ members.splice(members.indexOf(i), 1);
88
+ const wildCard = i.split('*');
89
+ members = members.concat(typeMap.get(name)?.filter((m) => {
90
+ if (wildCard.length === 2) {
91
+ if (i.startsWith('*')) {
92
+ return m.endsWith(wildCard[1]);
93
+ }
94
+ else if (i.endsWith('*')) {
95
+ return m.startsWith(wildCard[0]);
96
+ }
97
+ else {
98
+ return m.startsWith(wildCard[0]) && m.endsWith(wildCard[1]);
99
+ }
115
100
  }
101
+ }));
102
+ });
103
+ return members;
104
+ };
105
+ ignoreTypeMembers.forEach((types) => {
106
+ if (!typeMap.get(types.name)) {
107
+ typeMap.set(types.name, []);
108
+ }
109
+ const packageTypeMembers = resolveWildCard(types.name, ensureArray(types.members));
110
+ if (packageTypeMembers.includes('*') && packageTypeMembers.length > 1) {
111
+ const includemembers = packageTypeMembers.slice();
112
+ includemembers.splice(includemembers.indexOf('*'), 1);
113
+ const includedmembers = typeMap.get(types.name)?.filter((value) => includemembers.includes(value));
114
+ if (includedmembers?.length) {
115
+ this.log('include only members ' + includedmembers.toString() + ' for type ' + types.name);
116
+ typeMap.set(types.name, includedmembers);
116
117
  }
117
- if (packageTypeMembers.includes('*') && packageTypeMembers.length === 1) {
118
- this.log('exclude all members for type ' + types.name);
119
- typeMap.delete(types.name);
120
- }
121
- if (!packageTypeMembers.includes('*')) {
122
- const includedmembers = typeMap.get(types.name)?.filter((value) => !packageTypeMembers.includes(value));
123
- if (includedmembers) {
124
- typeMap.set(types.name, includedmembers);
125
- }
118
+ }
119
+ if (packageTypeMembers.includes('*') && packageTypeMembers.length === 1) {
120
+ this.log('exclude all members for type ' + types.name);
121
+ typeMap.delete(types.name);
122
+ }
123
+ if (!packageTypeMembers.includes('*')) {
124
+ const includedmembers = typeMap.get(types.name)?.filter((value) => !packageTypeMembers.includes(value));
125
+ if (includedmembers) {
126
+ typeMap.set(types.name, includedmembers);
126
127
  }
127
- packageTypeMembers.forEach((member) => {
128
- if (member.startsWith('!')) {
129
- typeMap.get(types.name)?.push(member.substring(1));
130
- }
131
- });
132
128
  }
129
+ packageTypeMembers.forEach((member) => {
130
+ if (member.startsWith('!') && !typeMap.get(types.name)?.includes(member.substring(1))) {
131
+ typeMap.get(types.name)?.push(member.substring(1));
132
+ }
133
+ });
133
134
  });
134
135
  const typeMembers = [];
135
136
  for (const [typeName, members] of typeMap.entries()) {
@@ -1 +1 @@
1
- {"version":3,"file":"cleanup.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/cleanup.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,UAAU,CAAC;AAC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,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3F,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;IACxC,OAAO,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAW,CAAC,CAAC;AACzD,CAAC"}
@@ -28,12 +28,17 @@ class GeneratePackageXML extends SfCommand {
28
28
  ux.spinner.start(`Generating ${file ?? 'package.xml'}`);
29
29
  const managed = ['beta', 'deleted', 'deprecated', 'installed', 'released'];
30
30
  const all = ['beta', 'deleted', 'deprecated', 'installed', 'released', 'installedEditable', 'deprecatedEditable'];
31
- const componentFilter = (component) => !((flags['exclude-managed'] &&
32
- ((component.namespacePrefix && component.manageableState === undefined) ||
33
- (component.manageableState && managed.includes(component.manageableState)))) ||
34
- (flags['exclude-all'] &&
35
- ((component.namespacePrefix && component.manageableState === undefined) ||
36
- (component.manageableState && all.includes(component.manageableState)))));
31
+ const componentFilter = (component) => {
32
+ const isNamespaceUndefined = component.namespacePrefix && component.manageableState === undefined;
33
+ const isTranslationsBeta = component.type === 'Translations' && component.manageableState === 'beta';
34
+ const isExcludedManaged = flags['exclude-managed'] &&
35
+ (isNamespaceUndefined ||
36
+ (component.manageableState && managed.includes(component.manageableState) && !isTranslationsBeta));
37
+ const isExcludedAll = flags['exclude-all'] &&
38
+ (isNamespaceUndefined ||
39
+ (component.manageableState && all.includes(component.manageableState) && !isTranslationsBeta));
40
+ return !(isExcludedManaged ?? isExcludedAll);
41
+ };
37
42
  let componentSet = await ComponentSet.fromConnection({
38
43
  usernameOrConnection: this.conn,
39
44
  componentFilter,
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/generate.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,O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4
  "jayree:manifest:cleanup": {
5
5
  "id": "jayree:manifest:cleanup",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jayree/sfdx-plugin-manifest",
3
3
  "description": "A Salesforce CLI plugin containing commands for creating manifest files from Salesforce orgs or git commits of sfdx projects.",
4
- "version": "3.0.16",
4
+ "version": "3.0.18",
5
5
  "author": "jayree",
6
6
  "type": "module",
7
7
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",