@jayree/sfdx-plugin-manifest 2.8.5 → 2.8.6
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [2.8.6](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.8.5...v2.8.6) (2023-02-22)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **manifest:beta:git:diff:** fix final ComponentSet validation ([9295a35](https://github.com/jayree/sfdx-plugin-manifest/commit/9295a359ba8086fc37f3dd1c13f8d20e9f0fa55c))
|
7
|
+
|
1
8
|
## [2.8.5](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.8.4...v2.8.5) (2023-02-20)
|
2
9
|
|
3
10
|
|
package/README.md
CHANGED
@@ -99,7 +99,7 @@ FLAG DESCRIPTIONS
|
|
99
99
|
The location can be an absolute path or relative to the current working directory.
|
100
100
|
```
|
101
101
|
|
102
|
-
_See code: [src/commands/jayree/manifest/beta/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.
|
102
|
+
_See code: [src/commands/jayree/manifest/beta/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.6/src/commands/jayree/manifest/beta/git/diff.ts)_
|
103
103
|
|
104
104
|
### `sfdx jayree:manifest:cleanup`
|
105
105
|
|
@@ -127,7 +127,7 @@ EXAMPLES
|
|
127
127
|
$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
|
128
128
|
```
|
129
129
|
|
130
|
-
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.
|
130
|
+
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.6/src/commands/jayree/manifest/cleanup.ts)_
|
131
131
|
|
132
132
|
### `sfdx jayree:manifest:generate`
|
133
133
|
|
@@ -163,7 +163,7 @@ EXAMPLES
|
|
163
163
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
164
164
|
```
|
165
165
|
|
166
|
-
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.
|
166
|
+
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.6/src/commands/jayree/manifest/generate.ts)_
|
167
167
|
|
168
168
|
### `sfdx jayree:manifest:git:diff`
|
169
169
|
|
@@ -240,5 +240,5 @@ FLAG DESCRIPTIONS
|
|
240
240
|
The location can be an absolute path or relative to the current working directory.
|
241
241
|
```
|
242
242
|
|
243
|
-
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.
|
243
|
+
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.8.6/src/commands/jayree/manifest/git/diff.ts)_
|
244
244
|
<!-- commandsstop -->
|
@@ -69,13 +69,13 @@ export class ComponentSetExtra extends ComponentSet {
|
|
69
69
|
components.add(component, DestructiveChangesType.POST);
|
70
70
|
}
|
71
71
|
}
|
72
|
+
let localSourceComponents = [];
|
73
|
+
for (const localComponent of components.getSourceComponents()) {
|
74
|
+
localSourceComponents = localSourceComponents.concat(localComponent.getChildren());
|
75
|
+
localSourceComponents = localSourceComponents.concat(localComponent);
|
76
|
+
}
|
72
77
|
for await (const component of inclusiveFilter.getSourceComponents()) {
|
73
|
-
if (!
|
74
|
-
.getSourceComponents()
|
75
|
-
.find((localComponent) => !!localComponent
|
76
|
-
.getChildren()
|
77
|
-
.find((localChild) => component.type.name === localChild.type.name && component.fullName === localChild.fullName) ||
|
78
|
-
(component.type.name === localComponent.type.name && component.fullName === localComponent.fullName))) {
|
78
|
+
if (!localSourceComponents.find((localComponent) => component.type.name === localComponent.type.name && component.fullName === localComponent.fullName)) {
|
79
79
|
await Lifecycle.getInstance().emitWarning(`The component "${component.type.name}:${component.fullName}" was not found locally.`);
|
80
80
|
}
|
81
81
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"componentSetExtra.js","sourceRoot":"","sources":["../../../src/SDR-extra/collections/componentSetExtra.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,YAAY,EAGZ,sBAAsB,EACtB,cAAc,EACd,QAAQ,IAAI,eAAe,
|
1
|
+
{"version":3,"file":"componentSetExtra.js","sourceRoot":"","sources":["../../../src/SDR-extra/collections/componentSetExtra.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,YAAY,EAGZ,sBAAsB,EACtB,cAAc,EACd,QAAQ,IAAI,eAAe,GAE5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,KAAK,GAAG,KAAK,CAAC,8BAA8B,CAAC,CAAC;AAapD,MAAM,OAAO,iBAAkB,SAAQ,YAAY;IA0B1C,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,KAA6C;QAC3E,IAAI,OAA6B,CAAC;QAClC,IAAI,QAAQ,GAAG,IAAI,cAAc,EAAE,CAAC;QACpC,IAAI,IAA+B,CAAC;QACpC,IAAI,IAAuB,CAAC;QAC5B,IAAI,IAAwB,CAAC;QAE7B,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACxB,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YAChB,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;SACjB;aAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YACpC,IAAI,KAAK,CAAC,OAA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,qBAAqB,GAAG,qBAAqB,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;SACtE;QAED,IAAI,KAAK,EAAE,MAAM,SAAS,IAAI,eAAe,CAAC,mBAAmB,EAAE,EAAE;YACnE,IACE,CAAC,qBAAqB,CAAC,IAAI,CACzB,CAAC,cAAc,EAAE,EAAE,CACjB,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,KAAK,cAAc,CAAC,QAAQ,CACrG,EACD;gBACA,MAAM,SAAS,CAAC,WAAW,EAAE,CAAC,WAAW,CACvC,kBAAkB,SAAS,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,0BAA0B,CACtF,CAAC;aACH;SACF;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;CACF"}
|
package/oclif.manifest.json
CHANGED
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": "2.8.
|
4
|
+
"version": "2.8.6",
|
5
5
|
"author": "jayree",
|
6
6
|
"type": "module",
|
7
7
|
"bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
|