@jayree/sfdx-plugin-manifest 2.1.8 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -18,7 +18,7 @@ $ sfdx plugins:install @jayree/sfdx-plugin-manifest
18
18
  $ sfdx jayree:COMMAND
19
19
  running command...
20
20
  $ sfdx plugins
21
- @jayree/sfdx-plugin-manifest 2.1.8
21
+ @jayree/sfdx-plugin-manifest 2.2.1
22
22
  $ sfdx help jayree:COMMAND
23
23
  USAGE
24
24
  $ sfdx jayree:COMMAND
@@ -58,7 +58,7 @@ EXAMPLE
58
58
  $ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
59
59
  ```
60
60
 
61
- _See code: [commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.1.8/commands/jayree/manifest/cleanup.ts)_
61
+ _See code: [commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.1/commands/jayree/manifest/cleanup.ts)_
62
62
 
63
63
  ### `sfdx jayree:manifest:generate`
64
64
 
@@ -66,10 +66,12 @@ generate a complete manifest file form the specified org
66
66
 
67
67
  ```
68
68
  USAGE
69
- $ sfdx jayree:manifest:generate [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x] [-u <string>]
69
+ $ sfdx jayree:manifest:generate [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>]
70
70
  [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
71
71
 
72
72
  OPTIONS
73
+ -a, --excludeall exclude all packages from output
74
+
73
75
  -c, --matchcase enable 'match case' for the
74
76
  quickfilter
75
77
 
@@ -109,7 +111,7 @@ EXAMPLES
109
111
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
110
112
  ```
111
113
 
112
- _See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.1.8/commands/jayree/manifest/generate.ts)_
114
+ _See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.1/commands/jayree/manifest/generate.ts)_
113
115
 
114
116
  ### `sfdx jayree:manifest:git:diff`
115
117
 
@@ -159,5 +161,5 @@ EXAMPLES
159
161
  uses the diff of what is unique in branchB (REF2)
160
162
  ```
161
163
 
162
- _See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.1.8/commands/jayree/manifest/git/diff.ts)_
164
+ _See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.1/commands/jayree/manifest/git/diff.ts)_
163
165
  <!-- commandsstop -->
@@ -12,82 +12,51 @@ const core_1 = require("@salesforce/core");
12
12
  const source_deploy_retrieve_1 = require("@salesforce/source-deploy-retrieve");
13
13
  const utils_1 = require("@salesforce/source-deploy-retrieve/lib/src/utils");
14
14
  const fs = require("fs-extra");
15
- const standardValueSetData = require("../../../metadata/standardvalueset.json");
16
15
  const jayreeSfdxCommand_1 = require("../../../jayreeSfdxCommand");
17
- const stdValueSets = (0, utils_1.deepFreeze)(standardValueSetData);
18
16
  const registryAccess = new source_deploy_retrieve_1.RegistryAccess();
19
17
  core_1.Messages.importMessagesDirectory(__dirname);
20
18
  const messages = core_1.Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'manifestgenerate');
21
19
  class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
22
20
  // eslint-disable-next-line complexity
23
21
  async run() {
24
- var _a, _b, _c, _d, _e;
22
+ var _a, _b, _c, _d;
25
23
  this.warnIfRunByAlias(GeneratePackageXML.aliases, GeneratePackageXML.id);
26
24
  await this.org.refreshAuth();
27
25
  const file = this.getFlag('file');
28
26
  this.ux.startSpinner(`Generating ${file || 'package.xml'}`);
29
27
  this.cacheConnection = this.org.getConnection();
30
- let Aggregator = [];
31
- const componentPromises = [];
32
- for (const type of Object.values(source_deploy_retrieve_1.registry.types)) {
33
- componentPromises.push(this.listMembers({ type: type.name }));
34
- }
35
- const childrenPromises = [];
36
- const componentTypes = new Set();
37
- for await (const componentResult of componentPromises) {
38
- for (const component of componentResult) {
39
- let componentType;
40
- if (typeof component.type === 'string') {
41
- componentType = registryAccess.getTypeByName(component.type);
42
- }
43
- else {
44
- // fix { type: { "$": { "xsi:nil": "true" } } }
45
- componentType = registryAccess.getTypeBySuffix((0, utils_1.extName)(component.fileName));
46
- component.type = componentType.name;
47
- }
48
- Aggregator.push(component);
49
- componentTypes.add(componentType);
50
- const folderContentType = componentType.folderContentType;
51
- if (folderContentType) {
52
- childrenPromises.push(this.listMembers({
53
- type: registryAccess.getTypeByName(componentType.folderContentType).name,
54
- folder: component.fullName,
55
- }));
56
- }
57
- }
58
- }
59
- for (const componentType of componentTypes) {
60
- const childTypes = (_a = componentType.children) === null || _a === void 0 ? void 0 : _a.types;
61
- if (childTypes) {
62
- Object.values(childTypes).map((childType) => {
63
- childrenPromises.push(this.listMembers({ type: childType.name }));
64
- });
65
- }
66
- }
67
- for await (const childrenResult of childrenPromises) {
68
- Aggregator.push(...childrenResult);
69
- }
70
- if (this.getFlag('excludemanaged')) {
71
- Aggregator = Aggregator.filter((component) => !((component.namespacePrefix && component.manageableState !== 'unmanaged') ||
72
- component.manageableState === 'installed'));
73
- }
28
+ const managed = ['beta', 'deleted', 'deprecated', 'installed', 'released'];
29
+ const all = ['beta', 'deleted', 'deprecated', 'installed', 'released', 'installedEditable', 'deprecatedEditable'];
30
+ const componentFilter = (component) => !((this.getFlag('excludemanaged') &&
31
+ ((component.namespacePrefix &&
32
+ (managed.includes(component.manageableState) || component.manageableState === undefined)) ||
33
+ managed.includes(component.manageableState))) ||
34
+ (this.getFlag('excludeall') &&
35
+ ((component.namespacePrefix &&
36
+ (all.includes(component.manageableState) || component.manageableState === undefined)) ||
37
+ all.includes(component.manageableState))));
38
+ let componentSet = await source_deploy_retrieve_1.ComponentSet.fromConnection({
39
+ usernameOrConnection: this.cacheConnection,
40
+ componentFilter,
41
+ });
74
42
  if (this.getFlag('includeflowversions')) {
75
43
  const flowPromises = [];
76
44
  flowPromises.push(this.listMembers({ type: 'Flow' }, '43.0'));
77
45
  for await (const flowResult of flowPromises) {
78
- for (const component of flowResult) {
79
- Aggregator.push(component);
46
+ for (const component of flowResult.filter(componentFilter)) {
47
+ componentSet.add({ fullName: component.fullName, type: registryAccess.getTypeByName(component.type) });
80
48
  }
81
49
  }
82
50
  }
83
51
  const quickFilter = this.getFlag('quickfilter');
84
52
  if (quickFilter) {
85
- Aggregator = Aggregator.filter((component) => {
53
+ componentSet = componentSet.filter((component) => {
86
54
  let filter = quickFilter;
87
- let comp = component;
55
+ const comp = { fullName: component.fullName, type: component.type.name };
88
56
  if (!this.getFlag('matchcase')) {
89
57
  filter = quickFilter.join('~').toLowerCase().split('~');
90
- comp = Object.fromEntries(Object.entries(component).map(([k, v]) => [k, v === null || v === void 0 ? void 0 : v.toLowerCase()]));
58
+ comp.fullName = component.fullName.toLocaleLowerCase();
59
+ comp.type = component.type.name.toLowerCase();
91
60
  }
92
61
  if (this.getFlag('matchwholeword')) {
93
62
  return filter.includes(comp.fullName) || filter.includes(comp.type);
@@ -99,7 +68,7 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
99
68
  }
100
69
  });
101
70
  }
102
- const hasFlows = Aggregator.filter((component) => component.type === 'Flow');
71
+ const hasFlows = componentSet.toArray().filter((component) => component.type.name === 'Flow');
103
72
  if (hasFlows.length) {
104
73
  try {
105
74
  const flowDefinitionQuery = (await this.cacheConnection.tooling.query(`SELECT DeveloperName, ActiveVersion.VersionNumber, LatestVersion.VersionNumber FROM FlowDefinition where DeveloperName in (${hasFlows
@@ -107,8 +76,8 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
107
76
  .toString()})`));
108
77
  const flowDefinitionRecods = flowDefinitionQuery.records;
109
78
  for (const record of flowDefinitionRecods) {
110
- if (((_b = record.LatestVersion) === null || _b === void 0 ? void 0 : _b.VersionNumber) !== ((_c = record.ActiveVersion) === null || _c === void 0 ? void 0 : _c.VersionNumber)) {
111
- this.ux.log(`Developername: ${record.DeveloperName}, ActiveVersion: ${(_d = record.ActiveVersion) === null || _d === void 0 ? void 0 : _d.VersionNumber}, LatestVersion: ${(_e = record.LatestVersion) === null || _e === void 0 ? void 0 : _e.VersionNumber}`);
79
+ if (((_a = record.LatestVersion) === null || _a === void 0 ? void 0 : _a.VersionNumber) !== ((_b = record.ActiveVersion) === null || _b === void 0 ? void 0 : _b.VersionNumber)) {
80
+ this.ux.log(`DeveloperName: ${record.DeveloperName}, ActiveVersion: ${(_c = record.ActiveVersion) === null || _c === void 0 ? void 0 : _c.VersionNumber}, LatestVersion: ${(_d = record.LatestVersion) === null || _d === void 0 ? void 0 : _d.VersionNumber}`);
112
81
  }
113
82
  }
114
83
  }
@@ -116,26 +85,17 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
116
85
  this.logger.debug(error.message);
117
86
  }
118
87
  }
119
- Aggregator = Aggregator.filter((component) => component.type !== 'FlowDefinition');
120
- const MetadataComponentAggregator = Aggregator.map((component) => {
121
- return { fullName: component.fullName, type: registryAccess.getTypeByName(component.type) };
122
- }).sort((a, b) => {
123
- if (a.type.name === b.type.name) {
124
- return a.fullName.toLowerCase() > b.fullName.toLowerCase() ? 1 : -1;
125
- }
126
- return a.type.name.toLowerCase() > b.type.name.toLowerCase() ? 1 : -1;
127
- });
128
- const pkg = new source_deploy_retrieve_1.ComponentSet(MetadataComponentAggregator, registryAccess);
129
- pkg.apiVersion = this.cacheConnection.getApiVersion();
88
+ componentSet = componentSet.filter((component) => component.type.name !== 'FlowDefinition');
89
+ componentSet.apiVersion = this.cacheConnection.getApiVersion();
130
90
  if (file) {
131
91
  await fs.ensureFile(file);
132
- await fs.writeFile(file, pkg.getPackageXml());
92
+ await fs.writeFile(file, componentSet.getPackageXml());
133
93
  }
134
94
  else {
135
- this.ux.log(pkg.getPackageXml());
95
+ this.ux.log(componentSet.getPackageXml());
136
96
  }
137
97
  this.ux.stopSpinner();
138
- return pkg.getObject();
98
+ return componentSet.getObject();
139
99
  }
140
100
  async listMembers(query, apiVersion) {
141
101
  let members;
@@ -149,33 +109,6 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
149
109
  members = [];
150
110
  this.logger.debug(error.message);
151
111
  }
152
- if (query.type === source_deploy_retrieve_1.registry.types.standardvalueset.name && members.length === 0) {
153
- const standardValueSetPromises = stdValueSets.fullNames.map(async (standardValueSetFullName) => {
154
- try {
155
- const standardValueSetRecord = await this.cacheConnection.singleRecordQuery(`SELECT Id, MasterLabel, Metadata FROM StandardValueSet WHERE MasterLabel = '${standardValueSetFullName}'`, { tooling: true });
156
- return (standardValueSetRecord.Metadata.standardValue.length && {
157
- fullName: standardValueSetRecord.MasterLabel,
158
- fileName: `${source_deploy_retrieve_1.registry.types.standardvalueset.directoryName}/${standardValueSetRecord.MasterLabel}.${source_deploy_retrieve_1.registry.types.standardvalueset.suffix}`,
159
- type: source_deploy_retrieve_1.registry.types.standardvalueset.name,
160
- createdById: '',
161
- createdByName: '',
162
- createdDate: '',
163
- id: '',
164
- lastModifiedById: '',
165
- lastModifiedByName: '',
166
- lastModifiedDate: '',
167
- });
168
- }
169
- catch (error) {
170
- this.logger.debug(error.message);
171
- }
172
- });
173
- for await (const standardValueSetResult of standardValueSetPromises) {
174
- if (standardValueSetResult) {
175
- members.push(standardValueSetResult);
176
- }
177
- }
178
- }
179
112
  return members;
180
113
  }
181
114
  }
@@ -206,6 +139,12 @@ GeneratePackageXML.flagsConfig = {
206
139
  excludemanaged: command_1.flags.boolean({
207
140
  char: 'x',
208
141
  description: messages.getMessage('excludeManagedFlagDescription'),
142
+ exclusive: ['excludeall'],
143
+ }),
144
+ excludeall: command_1.flags.boolean({
145
+ char: 'a',
146
+ description: messages.getMessage('excludeAllFlagDescription'),
147
+ exclusive: ['excludemanaged'],
209
148
  }),
210
149
  };
211
150
  GeneratePackageXML.requiresUsername = true;
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/generate.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AAEzD,2CAAwD;AACxD,+EAM4C;AAC5C,4EAAyG;AACzG,+BAA+B;AAC/B,gFAAgF;AAChF,kEAA+D;AAE/D,MAAM,YAAY,GAAG,IAAA,kBAAU,EAAC,oBAAoB,CAAC,CAAC;AACtD,MAAM,cAAc,GAAG,IAAI,uCAAc,EAAE,CAAC;AAE5C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC;AA6B3F,MAAqB,kBAAmB,SAAQ,qCAAiB;IAuC/D,sCAAsC;IAC/B,KAAK,CAAC,GAAG;;QACd,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC;QACzE,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;QAE7B,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAS,MAAM,CAAC,CAAC;QAC1C,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,cAAc,IAAI,IAAI,aAAa,EAAE,CAAC,CAAC;QAC5D,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;QAChD,IAAI,UAAU,GAAyB,EAAE,CAAC;QAE1C,MAAM,iBAAiB,GAAqC,EAAE,CAAC;QAC/D,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,iCAAQ,CAAC,KAAK,CAAC,EAAE;YAChD,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,IAAI,EAA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eAAK,CAAC,OAAO,CAAC;QACxB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;QAC7D,SAAS,EAAE,CAAC,gBAAgB,CAAC;KAC9B,CAAC;CACH,CAAC;AAEe,mCAAgB,GAAG,IAAI,CAAC;AACxB,yCAAsB,GAAG,KAAK,CAAC;AAC/B,kCAAe,GAAG,KAAK,CAAC"}
@@ -62,9 +62,15 @@ const changelog = function () {
62
62
  const { name, version } = fs.readJsonSync((0, path_1.join)(pluginRootPath, 'package.json'));
63
63
  const changelogFile = fs.readFileSync((0, path_1.join)(pluginRootPath, 'CHANGELOG.md'), 'utf8');
64
64
  const cacheDir = (0, path_1.join)(this.config.cacheDir, name);
65
- fs.ensureDirSync(cacheDir);
66
65
  const versionFile = (0, path_1.join)(cacheDir, 'version');
67
- const latestVersion = fs.readJSONSync(versionFile);
66
+ fs.ensureFileSync(versionFile);
67
+ let latestVersion;
68
+ try {
69
+ latestVersion = fs.readJSONSync(versionFile);
70
+ }
71
+ catch (error) {
72
+ latestVersion = { version: '0.0.0' };
73
+ }
68
74
  debug({ latestVersion: latestVersion.version, version });
69
75
  if (latestVersion.version !== version) {
70
76
  const tokens = parseReleaseNotes(changelogFile, version);
@@ -1 +1 @@
1
- {"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../src/hooks/changelog.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,0BAA0B;AAC1B,+BAA4B;AAC5B,+BAA+B;AAE/B,iCAAuC;AACvC,oDAAqD;AACrD,mCAAgC;AAChC,iCAAiC;AACjC,mCAA6B;AAE7B,MAAM,KAAK,GAAG,IAAA,aAAK,EAAC,cAAc,CAAC,CAAC;AAEpC,uGAAuG;AACvG,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,OAAe,EAAkB,EAAE;IAC3E,IAAI,KAAK,GAAG,KAAK,CAAC;IAClB,IAAI,cAAsB,CAAC;IAC3B,IAAI,QAAkB,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MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;oBAC/B,EAAE,CAAC,aAAa,CAAC,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;iBAC5C;aACF;iBAAM;gBACL,KAAK,CAAC,GAAG,IAAI,cAAc,CAAC,CAAC;aAC9B;SACF;QAAC,OAAO,KAAK,EAAE;YACd,KAAK,CAAC,KAAK,CAAC,CAAC;SACd;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAtCW,QAAA,SAAS,aAsCpB"}
@@ -354,6 +354,9 @@ function fixComponentSetChilds(cs) {
354
354
  const childsTobeReplacedByParent = [
355
355
  ...Object.keys(source_deploy_retrieve_1.registry.types.workflow.children.types),
356
356
  ...Object.keys(source_deploy_retrieve_1.registry.types.sharingrules.children.types),
357
+ ...Object.keys(source_deploy_retrieve_1.registry.types.customobjecttranslation.children.types),
358
+ ...Object.keys(source_deploy_retrieve_1.registry.types.bot.children.types),
359
+ ...Object.keys(source_deploy_retrieve_1.registry.types.datamappingobjectdefinition.children.types),
357
360
  ];
358
361
  sourceComponents = sourceComponents.map((component) => {
359
362
  if (!component.isMarkedForDelete() && childsTobeReplacedByParent.includes(component.type.id)) {
@@ -362,12 +365,7 @@ function fixComponentSetChilds(cs) {
362
365
  }
363
366
  return component;
364
367
  });
365
- return new source_deploy_retrieve_1.ComponentSet(sourceComponents.toArray().sort((a, b) => {
366
- if (a.type.name === b.type.name) {
367
- return a.fullName.toLowerCase() > b.fullName.toLowerCase() ? 1 : -1;
368
- }
369
- return a.type.name.toLowerCase() > b.type.name.toLowerCase() ? 1 : -1;
370
- }), registryAccess);
368
+ return new source_deploy_retrieve_1.ComponentSet(sourceComponents, registryAccess);
371
369
  }
372
370
  exports.fixComponentSetChilds = fixComponentSetChilds;
373
371
  //# sourceMappingURL=gitdiff.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gitdiff.js","sourceRoot":"","sources":["../../src/utils/gitdiff.ts"],"names":[],"mappings":";AAAA;;;;;GA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GAAG,CAAC,CAAC,SAAS,EAAE,EAAE;QACpD,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,IAAI,0BAA0B,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAC5F,IAAA,aAAK,EACH,YAAY,SAAS,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,OAAO,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE,CACtH,CAAC;YACF,OAAO,SAAS,CAAC,MAAM,CAAC;SACzB;QACD,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,qCAAY,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAC5D,CAAC;AArBD,sDAqBC"}
@@ -6,6 +6,7 @@
6
6
  "matchWholeWordFlagDescription": "enable 'match whole word' for the quickfilter",
7
7
  "fileFlagDescription": "write to 'file' instead of stdout",
8
8
  "excludeManagedFlagDescription": "exclude managed packages from output",
9
+ "excludeAllFlagDescription": "exclude all packages from output",
9
10
  "includeflowversionsDescription": "include flow versions as with api version 43.0",
10
11
  "examples": [
11
12
  "$ sfdx jayree:manifest:generate --targetusername myOrg@example.com",
@@ -1 +1 @@
1
- {"version":"2.1.8","commands":{"jayree:manifest:cleanup":{"id":"jayree:manifest:cleanup","description":"removes those tags from a manifest file that are present in a second manifest file\nUse this command to remove components or metadata types from a manifes file.\nIf the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.","usage":"<%= command.id %> [-x <filepath>] [-f <filepath>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"manifest":{"name":"manifest","type":"option","char":"x","description":"path to the manifest file"},"file":{"name":"file","type":"option","char":"f","description":"path to the second 'cleanup' manifest file"}},"args":[]},"jayree:manifest:generate":{"id":"jayree:manifest:generate","description":"generate a complete manifest file form the specified org\nUse this command to generate a manifest file based on an existing org.","usage":"<%= command.id %> [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":["jayree:packagexml"],"examples":["$ sfdx jayree:manifest:generate --targetusername myOrg@example.com","<?xml version='1.0' encoding='UTF-8'?>","<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"quickfilter":{"name":"quickfilter","type":"option","char":"q","description":"csv separated list of metadata type, member or file names to filter on"},"matchcase":{"name":"matchcase","type":"boolean","char":"c","description":"enable 'match case' for the quickfilter","allowNo":false},"matchwholeword":{"name":"matchwholeword","type":"boolean","char":"w","description":"enable 'match whole word' for the quickfilter","allowNo":false},"includeflowversions":{"name":"includeflowversions","type":"boolean","description":"include flow versions as with api version 43.0","allowNo":false},"file":{"name":"file","type":"option","char":"f","description":"write to 'file' instead of stdout"},"excludemanaged":{"name":"excludemanaged","type":"boolean","char":"x","description":"exclude managed packages from output","allowNo":false}},"args":[]},"jayree:manifest:git:diff":{"id":"jayree:manifest:git:diff","description":"create a manifest and destructiveChanges manifest using 'git diff' data\nUse this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two git refs.\n\nYou can use all ways to spell <commit> which are valid for 'git diff'.\n(See https://git-scm.com/docs/git-diff)","usage":"<%= command.id %> [-o <string>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:git:diff <commit> <commit>","$ sfdx jayree:manifest:git:diff <commit>..<commit>","uses the changes between two arbitrary <commit>","","$ sfdx jayree:manifest:git:diff <commit>...<commit>","uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>."," ","$ sfdx jayree:manifest:git:diff branchA..branchB","uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)","","$ sfdx jayree:manifest:git:diff branchA...branchB","uses the diff of what is unique in branchB (REF2)"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"outputdir":{"name":"outputdir","type":"option","char":"o","description":"directory to save the created manifest files","default":""},"destructivechangesonly":{"name":"destructivechangesonly","type":"boolean","char":"d","description":"create a destructiveChanges manifest only (package.xml will be empty)","allowNo":false}},"args":[{"name":"ref1","description":"base commit or branch","required":true,"hidden":false},{"name":"ref2","description":"commit or branch to compare to the base commit","required":false,"hidden":false}]}}}
1
+ {"version":"2.2.1","commands":{"jayree:manifest:cleanup":{"id":"jayree:manifest:cleanup","description":"removes those tags from a manifest file that are present in a second manifest file\nUse this command to remove components or metadata types from a manifes file.\nIf the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.","usage":"<%= command.id %> [-x <filepath>] [-f <filepath>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"manifest":{"name":"manifest","type":"option","char":"x","description":"path to the manifest file"},"file":{"name":"file","type":"option","char":"f","description":"path to the second 'cleanup' manifest file"}},"args":[]},"jayree:manifest:generate":{"id":"jayree:manifest:generate","description":"generate a complete manifest file form the specified org\nUse this command to generate a manifest file based on an existing org.","usage":"<%= command.id %> [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":["jayree:packagexml"],"examples":["$ sfdx jayree:manifest:generate --targetusername myOrg@example.com","<?xml version='1.0' encoding='UTF-8'?>","<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"quickfilter":{"name":"quickfilter","type":"option","char":"q","description":"csv separated list of metadata type, member or file names to filter on"},"matchcase":{"name":"matchcase","type":"boolean","char":"c","description":"enable 'match case' for the quickfilter","allowNo":false},"matchwholeword":{"name":"matchwholeword","type":"boolean","char":"w","description":"enable 'match whole word' for the quickfilter","allowNo":false},"includeflowversions":{"name":"includeflowversions","type":"boolean","description":"include flow versions as with api version 43.0","allowNo":false},"file":{"name":"file","type":"option","char":"f","description":"write to 'file' instead of stdout"},"excludemanaged":{"name":"excludemanaged","type":"boolean","char":"x","description":"exclude managed packages from output","allowNo":false},"excludeall":{"name":"excludeall","type":"boolean","char":"a","description":"exclude all packages from output","allowNo":false}},"args":[]},"jayree:manifest:git:diff":{"id":"jayree:manifest:git:diff","description":"create a manifest and destructiveChanges manifest using 'git diff' data\nUse this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two git refs.\n\nYou can use all ways to spell <commit> which are valid for 'git diff'.\n(See https://git-scm.com/docs/git-diff)","usage":"<%= command.id %> [-o <string>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:git:diff <commit> <commit>","$ sfdx jayree:manifest:git:diff <commit>..<commit>","uses the changes between two arbitrary <commit>","","$ sfdx jayree:manifest:git:diff <commit>...<commit>","uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>."," ","$ sfdx jayree:manifest:git:diff branchA..branchB","uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)","","$ sfdx jayree:manifest:git:diff branchA...branchB","uses the diff of what is unique in branchB (REF2)"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"outputdir":{"name":"outputdir","type":"option","char":"o","description":"directory to save the created manifest files","default":""},"destructivechangesonly":{"name":"destructivechangesonly","type":"boolean","char":"d","description":"create a destructiveChanges manifest only (package.xml will be empty)","allowNo":false}},"args":[{"name":"ref1","description":"base commit or branch","required":true,"hidden":false},{"name":"ref2","description":"commit or branch to compare to the base commit","required":false,"hidden":false}]}}}
package/package.json CHANGED
@@ -1,72 +1,70 @@
1
1
  {
2
2
  "name": "@jayree/sfdx-plugin-manifest",
3
3
  "description": "jayree sfdx manifest commands",
4
- "version": "2.1.8",
4
+ "version": "2.2.1",
5
5
  "author": "jayree",
6
6
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
7
7
  "dependencies": {
8
- "@oclif/config": "^1.18.2",
9
- "@salesforce/command": "^4.2.1",
10
- "@salesforce/core": "^2.33.1",
11
- "@salesforce/kit": "^1.5.26",
12
- "@salesforce/source-deploy-retrieve": "^5.9.1",
8
+ "@oclif/config": "^1.18.3",
9
+ "@salesforce/command": "^4.2.2",
10
+ "@salesforce/kit": "^1.5.41",
11
+ "@salesforce/source-deploy-retrieve": "^5.12.13",
13
12
  "@salesforce/ts-types": "^1.5.20",
14
13
  "cli-ux": "^5.6.7",
15
- "debug": "^4.3.3",
14
+ "debug": "^4.3.4",
16
15
  "fast-deep-equal": "^3.1.3",
17
- "fast-xml-parser": "^4.0.0",
18
- "fs-extra": "^10.0.0",
19
- "isomorphic-git": "^1.10.3",
16
+ "fast-xml-parser": "^4.0.7",
17
+ "fs-extra": "^10.1.0",
18
+ "isomorphic-git": "^1.17.1",
20
19
  "jsforce": "^1.11.0",
21
- "listr2": "^4.0.0",
22
- "marked": "^4.0.9",
20
+ "listr2": "^4.0.5",
21
+ "marked": "^4.0.15",
23
22
  "marked-terminal": "^4.2.0",
24
- "semver": "^7.3.5",
25
- "tslib": "^2.3.1"
23
+ "semver": "^7.3.7",
24
+ "tslib": "^2.4.0"
26
25
  },
27
26
  "devDependencies": {
28
- "@commitlint/cli": "^16.0.1",
29
- "@commitlint/config-conventional": "^16.0.0",
27
+ "@commitlint/cli": "^16.2.4",
28
+ "@commitlint/config-conventional": "^16.2.4",
30
29
  "@oclif/dev-cli": "^1.26.10",
31
- "@salesforce/dev-config": "^3.0.0",
32
- "@salesforce/dev-scripts": "^2.0.0",
30
+ "@salesforce/dev-config": "^3.0.1",
31
+ "@salesforce/dev-scripts": "^2.0.2",
33
32
  "@salesforce/prettier-config": "^0.0.2",
34
33
  "@salesforce/ts-sinon": "^1.3.21",
35
- "@types/chai": "^4.3.0",
34
+ "@types/chai": "^4.3.1",
36
35
  "@types/debug": "^4.1.7",
37
36
  "@types/fs-extra": "^9.0.13",
38
- "@types/jsforce": "^1.9.38",
39
- "@types/marked": "^4.0.1",
37
+ "@types/jsforce": "^1.9.42",
38
+ "@types/marked": "^4.0.3",
40
39
  "@types/marked-terminal": "^3.1.3",
41
- "@types/mocha": "^9.0.0",
42
- "@types/node": "^17.0.8",
40
+ "@types/mocha": "^9.1.1",
41
+ "@types/node": "^17.0.31",
43
42
  "@types/semver": "^7.3.9",
44
- "@types/sinon": "10.0.6",
45
- "@typescript-eslint/eslint-plugin": "^5.9.0",
46
- "@typescript-eslint/parser": "^5.9.0",
47
- "chai": "^4.3.4",
48
- "eslint": "^8.6.0",
43
+ "@types/sinon": "10.0.11",
44
+ "@typescript-eslint/eslint-plugin": "^5.22.0",
45
+ "@typescript-eslint/parser": "^5.22.0",
46
+ "chai": "^4.3.6",
47
+ "eslint": "^8.14.0",
49
48
  "eslint-config-oclif": "^4.0",
50
- "eslint-config-prettier": "^8.3.0",
49
+ "eslint-config-prettier": "^8.5.0",
51
50
  "eslint-config-salesforce": "^0.1.6",
52
- "eslint-config-salesforce-license": "^0.1.6",
53
51
  "eslint-config-salesforce-typescript": "^0.2.8",
54
52
  "eslint-plugin-header": "^3.1.1",
55
- "eslint-plugin-import": "2.25.4",
56
- "eslint-plugin-jsdoc": "^37.5.1",
53
+ "eslint-plugin-import": "2.26.0",
54
+ "eslint-plugin-jsdoc": "^39.2.9",
57
55
  "eslint-plugin-prettier": "^4.0.0",
58
56
  "husky": "^7.0.4",
59
57
  "is-ci": "^3.0.1",
60
- "mocha": "^9.1.3",
58
+ "mocha": "^10.0.0",
61
59
  "nyc": "^15.1.0",
62
60
  "patch-package": "^6.4.7",
63
- "pinst": "^2.1.6",
64
- "prettier": "^2.5.1",
61
+ "pinst": "^3.0.0",
62
+ "prettier": "^2.6.2",
65
63
  "pretty-quick": "^3.1.3",
66
- "sinon": "12.0.1",
64
+ "sinon": "13.0.2",
67
65
  "source-map-support": "~0.5.21",
68
- "ts-node": "^10.4.0",
69
- "typescript": "^4.5.4"
66
+ "ts-node": "^10.7.0",
67
+ "typescript": "^4.6.4"
70
68
  },
71
69
  "engines": {
72
70
  "node": ">=14.17.1"
@@ -1,84 +0,0 @@
1
- {
2
- "fullNames": [
3
- "AccountContactMultiRoles",
4
- "AccountContactRole",
5
- "AccountOwnership",
6
- "AccountRating",
7
- "AccountType",
8
- "AssetStatus",
9
- "CampaignMemberStatus",
10
- "CampaignStatus",
11
- "CampaignType",
12
- "CareItemStatus",
13
- "CaseContactRole",
14
- "CaseOrigin",
15
- "CasePriority",
16
- "CaseReason",
17
- "CaseStatus",
18
- "CaseType",
19
- "ContactRole",
20
- "ContractContactRole",
21
- "ContractStatus",
22
- "EntitlementType",
23
- "EventSubject",
24
- "EventType",
25
- "FiscalYearPeriodName",
26
- "FiscalYearPeriodPrefix",
27
- "FiscalYearQuarterName",
28
- "FiscalYearQuarterPrefix",
29
- "FulfillmentStatus",
30
- "FulfillmentType",
31
- "IdeaCategory",
32
- "IdeaMultiCategory",
33
- "IdeaStatus",
34
- "IdeaThemeStatus",
35
- "Industry",
36
- "LeadSource",
37
- "LeadStatus",
38
- "OpportunityCompetitor",
39
- "OpportunityStage",
40
- "OpportunityType",
41
- "OrderItemSummaryChgRsn",
42
- "OrderStatus",
43
- "OrderSummaryRoutingSchdRsn",
44
- "OrderSummaryStatus",
45
- "OrderType",
46
- "PartnerRole",
47
- "Product2Family",
48
- "QuantityUnitOfMeasure",
49
- "ProcessExceptionCategory",
50
- "ProcessExceptionPriority",
51
- "ProcessExceptionSeverity",
52
- "ProcessExceptionStatus",
53
- "QuestionOrigin",
54
- "QuickTextCategory",
55
- "QuickTextChannel",
56
- "QuoteStatus",
57
- "RoleInTerritory2",
58
- "ResourceAbsenceType",
59
- "ReturnOrderLineItemProcessPlan",
60
- "ReturnOrderLineItemReasonForRejection",
61
- "ReturnOrderLineItemReasonForReturn",
62
- "ReturnOrderLineItemRepaymentMethod",
63
- "ReturnOrderShipmentType",
64
- "ReturnOrderStatus",
65
- "SalesTeamRole",
66
- "Salutation",
67
- "ServiceAppointmentStatus",
68
- "ServiceContractApprovalStatus",
69
- "ServTerrMemRoleType",
70
- "SocialPostClassification",
71
- "SocialPostEngagementLevel",
72
- "SocialPostReviewedStatus",
73
- "SolutionStatus",
74
- "TaskPriority",
75
- "TaskStatus",
76
- "TaskSubject",
77
- "TaskType",
78
- "WorkOrderLineItemStatus",
79
- "WorkOrderPriority",
80
- "WorkOrderStatus",
81
- "WorkTypeDefApptType",
82
- "WorkTypeGroupAddInfo"
83
- ]
84
- }