@jayree/sfdx-plugin-manifest 3.0.4 → 3.0.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,18 @@
1
+ ## [3.0.6](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.0.5...v3.0.6) (2023-03-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump @oclif/core from 2.7.1 to 2.8.0 ([#643](https://github.com/jayree/sfdx-plugin-manifest/issues/643)) ([6b9c3a0](https://github.com/jayree/sfdx-plugin-manifest/commit/6b9c3a0f68120dfc138347479cbc42afa99c5818))
7
+ * **deps:** bump @salesforce/source-deploy-retrieve from 7.13.0 to 7.14.2 ([#644](https://github.com/jayree/sfdx-plugin-manifest/issues/644)) ([bfd3dd1](https://github.com/jayree/sfdx-plugin-manifest/commit/bfd3dd120f8c253676e487f32783d22be575f05f))
8
+
9
+ ## [3.0.5](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.0.4...v3.0.5) (2023-03-29)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **manifest:git:diff:** implement workaround for CustomObjectTranslation ([01e1d56](https://github.com/jayree/sfdx-plugin-manifest/commit/01e1d56e6cacf021b11476832425558abe25ec4f))
15
+
1
16
  ## [3.0.4](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.0.3...v3.0.4) (2023-03-24)
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.4/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.6/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.4/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.6/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.4/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.6/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.4/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.6/src/commands/jayree/manifest/legacy/git/diff.ts)_
248
248
  <!-- commandsstop -->
@@ -89,6 +89,7 @@ export class GitDiffResolver {
89
89
  });
90
90
  return files;
91
91
  }
92
+ // eslint-disable-next-line complexity
92
93
  async getComponentSet(gitLines) {
93
94
  const results = new ComponentSet(undefined, registryAccess);
94
95
  const childComponentPromises = [];
@@ -98,7 +99,9 @@ export class GitDiffResolver {
98
99
  // if the component supports partial delete AND there are files that are not deleted,
99
100
  // set the component for deploy, not for delete.
100
101
  // https://github.com/forcedotcom/source-tracking/blob/5cb32bef2e5860c0f8fc2afa3ea65432fe511a99/src/shared/localComponentSetArray.ts#L81
101
- if (!!c.type.supportsPartialDelete && c.content && this.ref2VirtualTreeContainer.exists(c.content)) {
102
+ if ((!!c.type.supportsPartialDelete || c.type.name === 'CustomObjectTranslation') &&
103
+ c.content &&
104
+ this.ref2VirtualTreeContainer.exists(c.content)) {
102
105
  // all bundle types have a directory name
103
106
  try {
104
107
  this.ref2Resolver
@@ -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,iBAAiB,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEzE,MAAM,KAAK,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;AAE3C,MAAM,cAAc,GAAG,IAAI,cAAc,EAAE,CAAC;AAE5C;;;;GAIG;AACH,MAAM,OAAO,eAAe;IAQ1B;;OAEG;IACH,YAAmB,OAAkB;QACnC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;QAChC,IAAI,CAAC,wBAAwB,GAAG,OAAO,CAAC,2BAA2B,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IA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
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.4",
4
+ "version": "3.0.6",
5
5
  "author": "jayree",
6
6
  "type": "module",
7
7
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
8
8
  "dependencies": {
9
9
  "@jayree/changelog": "^1.1.0",
10
- "@oclif/core": "^2.7.1",
10
+ "@oclif/core": "^2.8.0",
11
11
  "@salesforce/kit": "^1.9.2",
12
12
  "@salesforce/sf-plugins-core": "^2.2.5",
13
- "@salesforce/source-deploy-retrieve": "^7.13.0",
13
+ "@salesforce/source-deploy-retrieve": "^7.14.2",
14
14
  "@salesforce/ts-types": "^1.7.3",
15
15
  "debug": "^4.3.4",
16
16
  "fast-deep-equal": "^3.1.3",
@@ -22,7 +22,7 @@
22
22
  "tslib": "^2.5.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@oclif/plugin-command-snapshot": "^3.3.9",
25
+ "@oclif/plugin-command-snapshot": "^3.3.10",
26
26
  "@oclif/plugin-help": "^5.2.8",
27
27
  "@salesforce/dev-config": "^3.1.0",
28
28
  "@salesforce/dev-scripts": "^4.1.3",
@@ -31,11 +31,11 @@
31
31
  "@types/debug": "^4.1.7",
32
32
  "@types/fs-extra": "^11.0.1",
33
33
  "@types/inquirer": "^9.0.3",
34
- "@typescript-eslint/eslint-plugin": "^5.56.0",
35
- "@typescript-eslint/parser": "^5.56.0",
34
+ "@typescript-eslint/eslint-plugin": "^5.57.0",
35
+ "@typescript-eslint/parser": "^5.57.0",
36
36
  "c8": "^7.13.0",
37
37
  "chai": "^4.3.7",
38
- "eslint": "^8.36.0",
38
+ "eslint": "^8.37.0",
39
39
  "eslint-config-oclif": "^4.0",
40
40
  "eslint-config-prettier": "^8.8.0",
41
41
  "eslint-config-salesforce": "^1.1.1",
@@ -50,14 +50,14 @@
50
50
  "is-ci": "^3.0.1",
51
51
  "mocha": "^10.2.0",
52
52
  "nyc": "^15.1.0",
53
- "oclif": "^3.7.2",
53
+ "oclif": "^3.7.3",
54
54
  "patch-package": "^6.5.1",
55
- "prettier": "^2.8.6",
55
+ "prettier": "^2.8.7",
56
56
  "pretty-quick": "^3.1.3",
57
57
  "shx": "^0.3.4",
58
- "sinon": "15.0.2",
58
+ "sinon": "15.0.3",
59
59
  "ts-node": "^10.9.1",
60
- "typescript": "^5.0.2",
60
+ "typescript": "^5.0.3",
61
61
  "wireit": "^0.9.5"
62
62
  },
63
63
  "engines": {