@jayree/sfdx-plugin-manifest 3.1.49 → 3.1.51

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [3.1.51](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.1.50...v3.1.51) (2024-02-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump @oclif/core from 3.18.1 to 3.18.2 ([#1146](https://github.com/jayree/sfdx-plugin-manifest/issues/1146)) ([19ef9f0](https://github.com/jayree/sfdx-plugin-manifest/commit/19ef9f0979819fec3678fc88efb67d1c8a6ef26b))
7
+ * **deps:** bump @salesforce/source-deploy-retrieve ([#1147](https://github.com/jayree/sfdx-plugin-manifest/issues/1147)) ([e9630d5](https://github.com/jayree/sfdx-plugin-manifest/commit/e9630d50d2de5b4aa965b89321e2f18e43609972))
8
+ * **deps:** bump fast-xml-parser from 4.3.3 to 4.3.4 ([#1145](https://github.com/jayree/sfdx-plugin-manifest/issues/1145)) ([647129a](https://github.com/jayree/sfdx-plugin-manifest/commit/647129a1fd3789bf41ae2fea91d8ea9216add0ac))
9
+
10
+ ## [3.1.50](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.1.49...v3.1.50) (2024-01-29)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **deps:** bump @salesforce/sf-plugins-core from 5.0.13 to 7.1.4 ([#1143](https://github.com/jayree/sfdx-plugin-manifest/issues/1143)) ([12f9544](https://github.com/jayree/sfdx-plugin-manifest/commit/12f95447fa922a33906b432287a1fb5d90a8982c))
16
+
1
17
  ## [3.1.49](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.1.48...v3.1.49) (2024-01-26)
2
18
 
3
19
 
package/README.md CHANGED
@@ -17,17 +17,17 @@ sfdx plugins:install @jayree/sfdx-plugin-manifest
17
17
  ## Commands
18
18
 
19
19
  <!-- commands -->
20
- * [`sfdx jayree:manifest:cleanup`](#sfdx-jayreemanifestcleanup)
21
- * [`sfdx jayree:manifest:generate`](#sfdx-jayreemanifestgenerate)
22
- * [`sfdx jayree:manifest:git:diff`](#sfdx-jayreemanifestgitdiff)
20
+ * [`sfdx jayree manifest cleanup`](#sfdx-jayree-manifest-cleanup)
21
+ * [`sfdx jayree manifest generate`](#sfdx-jayree-manifest-generate)
22
+ * [`sfdx jayree manifest git diff`](#sfdx-jayree-manifest-git-diff)
23
23
 
24
- ### `sfdx jayree:manifest:cleanup`
24
+ ### `sfdx jayree manifest cleanup`
25
25
 
26
26
  Removes those tags from a manifest file that are present in a second manifest file.
27
27
 
28
28
  ```
29
29
  USAGE
30
- $ sfdx jayree:manifest:cleanup -f <value> [--json] [-x <value>]
30
+ $ sfdx jayree manifest cleanup -f <value> [--json] [-x <value>]
31
31
 
32
32
  FLAGS
33
33
  -f, --file=<value> (required) Path to the second 'cleanup' manifest file.
@@ -44,18 +44,18 @@ DESCRIPTION
44
44
  If the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.
45
45
 
46
46
  EXAMPLES
47
- $ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
47
+ $ sfdx jayree manifest cleanup --manifest=package.xml --file=packageignore.xml
48
48
  ```
49
49
 
50
- _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.49/src/commands/jayree/manifest/cleanup.ts)_
50
+ _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.51/src/commands/jayree/manifest/cleanup.ts)_
51
51
 
52
- ### `sfdx jayree:manifest:generate`
52
+ ### `sfdx jayree manifest generate`
53
53
 
54
54
  Generate a complete manifest file form the specified org.
55
55
 
56
56
  ```
57
57
  USAGE
58
- $ sfdx jayree:manifest:generate -o <value> [--json] [--api-version <value>] [-q <value>] [-c] [-w] [--include-flow-versions]
58
+ $ sfdx jayree manifest generate -o <value> [--json] [--api-version <value>] [-q <value>] [-c] [-w] [--include-flow-versions]
59
59
  [-f <value>] [--exclude-managed | --exclude-all]
60
60
 
61
61
  FLAGS
@@ -79,20 +79,20 @@ DESCRIPTION
79
79
  Use this command to generate a manifest file based on an existing org.
80
80
 
81
81
  EXAMPLES
82
- $ sfdx jayree:manifest:generate --targetusername myOrg@example.com
82
+ $ sfdx jayree manifest generate --targetusername myOrg@example.com
83
83
  <?xml version='1.0' encoding='UTF-8'?>
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.1.49/src/commands/jayree/manifest/generate.ts)_
87
+ _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.51/src/commands/jayree/manifest/generate.ts)_
88
88
 
89
- ### `sfdx jayree:manifest:git:diff`
89
+ ### `sfdx jayree manifest git diff`
90
90
 
91
91
  Create a project manifest and destructiveChanges manifest that lists the metadata components you want to deploy or delete based on changes in your git history.
92
92
 
93
93
  ```
94
94
  USAGE
95
- $ sfdx jayree:manifest:git:diff REF1 [REF2] [--json] [--api-version <value>] [-d <value>] [--output-dir <value>]
95
+ $ sfdx jayree manifest git diff REF1 [REF2] [--json] [--api-version <value>] [-d <value>] [--output-dir <value>]
96
96
  [--destructive-changes-only]
97
97
 
98
98
  ARGUMENTS
@@ -118,36 +118,36 @@ DESCRIPTION
118
118
  You can use all ways to spell <commit> which are valid for 'git diff' (See https://git-scm.com/docs/git-diff).
119
119
 
120
120
  ALIASES
121
- $ sfdx jayree:manifest:beta:git:diff
121
+ $ sfdx jayree manifest beta git diff
122
122
 
123
123
  EXAMPLES
124
124
  Uses the changes between two arbitrary <commit>.
125
125
 
126
- $ sfdx jayree:manifest:git:diff <commit> <commit>
127
- $ sfdx jayree:manifest:git:diff <commit>..<commit>
126
+ $ sfdx jayree manifest git diff <commit> <commit>
127
+ $ sfdx jayree manifest git diff <commit>..<commit>
128
128
 
129
129
  Uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both
130
130
  <commit>.
131
131
 
132
- $ sfdx jayree:manifest:git:diff <commit>...<commit>
132
+ $ sfdx jayree manifest git diff <commit>...<commit>
133
133
 
134
134
  Uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1).
135
135
 
136
- $ sfdx jayree:manifest:git:diff branchA..branchB
136
+ $ sfdx jayree manifest git diff branchA..branchB
137
137
 
138
138
  Uses the diff of what is unique in branchB (REF2).
139
139
 
140
- $ sfdx jayree:manifest:git:diff branchA...branchB
140
+ $ sfdx jayree manifest git diff branchA...branchB
141
141
 
142
142
  Specify the flags before or after the REF args
143
143
 
144
- $ sfdx jayree:manifest:git:diff --output-dir package <commit> <commit>
145
- $ sfdx jayree:manifest:git:diff <commit> <commit> --output-dir package
144
+ $ sfdx jayree manifest git diff --output-dir package <commit> <commit>
145
+ $ sfdx jayree manifest git diff <commit> <commit> --output-dir package
146
146
 
147
147
  If you specify the 'source-dir' flag before the REF args, use '--' to separate the args from the 'source-dir'
148
148
  values.
149
149
 
150
- $ sfdx jayree:manifest:git:diff --source-dir force-app -- <commit> <commit>
150
+ $ sfdx jayree manifest git diff --source-dir force-app -- <commit> <commit>
151
151
 
152
152
  FLAG DESCRIPTIONS
153
153
  -d, --source-dir=<value>... Path to the local source files to include in the manifest.
@@ -166,5 +166,5 @@ 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.1.49/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.1.51/src/commands/jayree/manifest/git/diff.ts)_
170
170
  <!-- commandsstop -->
@@ -4,8 +4,6 @@
4
4
  * Licensed under the BSD 3-Clause license.
5
5
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
6
  */
7
- import { dirname } from 'node:path';
8
- import { fileURLToPath } from 'node:url';
9
7
  import { Messages } from '@salesforce/core';
10
8
  import { CLIError } from '@oclif/core/lib/parser/errors.js';
11
9
  import chalk from 'chalk';
@@ -14,11 +12,7 @@ import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
14
12
  import { ensureArray } from '@salesforce/kit';
15
13
  import { XMLParser, XMLBuilder } from 'fast-xml-parser';
16
14
  import { XML_DECL, XML_NS_KEY, XML_NS_URL } from '@salesforce/source-deploy-retrieve/lib/src/common/index.js';
17
- // eslint-disable-next-line no-underscore-dangle
18
- const __filename = fileURLToPath(import.meta.url);
19
- // eslint-disable-next-line no-underscore-dangle
20
- const __dirname = dirname(__filename);
21
- Messages.importMessagesDirectory(__dirname);
15
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
22
16
  const messages = Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'manifestcleanup');
23
17
  export default class CleanupManifest extends SfCommand {
24
18
  static summary = messages.getMessage('summary');
@@ -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;AAC1B,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,U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O,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,GAC5B,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAA0B,CAAC;IAEnD,MAAM,kBAAkB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9C,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,CAAC;AACzC,CAAC;AAED,SAAS,WAAW,CAAC,MAA6B;IAChD,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"}
@@ -4,18 +4,12 @@
4
4
  * Licensed under the BSD 3-Clause license.
5
5
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
6
  */
7
- import { dirname } from 'node:path';
8
- import { fileURLToPath } from 'node:url';
9
7
  import { SfCommand, Flags, arrayWithDeprecation, orgApiVersionFlagWithDeprecations, requiredOrgFlagWithDeprecations, Ux, } from '@salesforce/sf-plugins-core';
10
8
  import { Messages, Logger } from '@salesforce/core';
11
9
  import { RegistryAccess, ComponentSet } from '@salesforce/source-deploy-retrieve';
12
10
  import { ensureArray } from '@salesforce/kit';
13
11
  import fs from 'fs-extra';
14
- // eslint-disable-next-line no-underscore-dangle
15
- const __filename = fileURLToPath(import.meta.url);
16
- // eslint-disable-next-line no-underscore-dangle
17
- const __dirname = dirname(__filename);
18
- Messages.importMessagesDirectory(__dirname);
12
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
19
13
  const registryAccess = new RegistryAccess();
20
14
  const messages = Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'manifestgenerate');
21
15
  export default class GeneratePackageXML extends SfComm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,CAAC;QAED,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QAClB,OAAO,YAAY,CAAC,SAAS,EAAE,CAAC;IAClC,CAAC;IAES,KAAK,CAAC,WAAW,CAAC,KAAwB,EAAE,UAAmB;QACvE,IAAI,OAAyB,CAAC;QAC9B,IAAI,CAAC;YACH,IAAI,CAAC,UAAU,EAAE,CAAC;gBAChB,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACzC,CAAC;YACD,OAAO,GAAG,WAAW,CAAC,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,CAAqB,CAAC,CAAC;QAChG,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,KAAK,CAAE,KAAe,CAAC,OAAO,CAAC,CAAC;QAC9C,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC"}
@@ -4,8 +4,7 @@
4
4
  * Licensed under the BSD 3-Clause license.
5
5
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
6
  */
7
- import { join, dirname } from 'node:path';
8
- import { fileURLToPath } from 'node:url';
7
+ import { join } from 'node:path';
9
8
  import { Messages } from '@salesforce/core';
10
9
  import fs from 'fs-extra';
11
10
  import { DestructiveChangesType } from '@salesforce/source-deploy-retrieve';
@@ -13,11 +12,7 @@ import { SfCommand, Flags, orgApiVersionFlagWithDeprecations, arrayWithDeprecati
13
12
  import { Args } from '@oclif/core';
14
13
  import { getString } from '@salesforce/ts-types';
15
14
  import { ComponentSetExtra } from '../../../../SDR-extra/index.js';
16
- // eslint-disable-next-line no-underscore-dangle
17
- const __filename = fileURLToPath(import.meta.url);
18
- // eslint-disable-next-line no-underscore-dangle
19
- const __dirname = dirname(__filename);
20
- Messages.importMessagesDirectory(__dirname);
15
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
21
16
  const messages = Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'gitdiff');
22
17
  export default class GitDiffCommand extends SfCommand {
23
18
  static summary = messages.getMessage('summary');
@@ -70,7 +65,7 @@ export default class GitDiffCommand extends SfCommand {
70
65
  return this.formatResult();
71
66
  }
72
67
  async getSourceApiVersion() {
73
- const projectConfig = await this.project.resolveProjectConfig();
68
+ const projectConfig = await this.project?.resolveProjectConfig();
74
69
  return getString(projectConfig, 'sourceApiVersion') ?? undefined;
75
70
  }
76
71
  async createManifest() {
@@ -1 +1 @@
1
- {"version":3,"file":"diff.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/manifest/git/diff.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,iCAAiC,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxH,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,SAAS,EAAY,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,gDAAgD;AAChD,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,gDAAgD;AAChD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,QAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8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