sf-decomposer 5.3.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@
5
5
 
6
6
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
7
7
 
8
+ ## [5.3.1](https://github.com/mcarvin8/sf-decomposer/compare/v5.3.0...v5.3.1) (2025-01-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * allow hooks to ignore package directories ([36de48c](https://github.com/mcarvin8/sf-decomposer/commit/36de48ca1eead66b02f001fd3e267aa1759c5025))
14
+
8
15
  ## [5.3.0](https://github.com/mcarvin8/sf-decomposer/compare/v5.2.3...v5.3.0) (2025-01-14)
9
16
 
10
17
 
package/README.md CHANGED
@@ -153,9 +153,7 @@ EXAMPLES
153
153
 
154
154
  All metadata types imported from this plugin's version of `@salesforce/source-deploy-retrieve` (SDR) toolkit are supported except for certain types.
155
155
 
156
- The `--metadata-type`/`-m` flag should be the metadata's `"suffix"` value as listed in the [metadataRegistry.json](https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json).
157
-
158
- The suffix is this part of the original meta file name - `labels` is the suffix in `*.labels-meta.xml`.
156
+ The `--metadata-type`/`-m` flag should be the metadata's `suffix` value as listed in the [metadataRegistry.json](https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json).
159
157
 
160
158
  Here are some examples:
161
159
 
@@ -166,8 +164,7 @@ Here are some examples:
166
164
  - AI Scoring Model Definition (`--metadata-type "aiScoringModelDefinition"`)
167
165
  - Decision Matrix Definition (`--metadata-type "decisionMatrixDefinition"`)
168
166
  - Bot (`--metadata-type "bot"`)
169
- - **NOTE**: Running "bot" will also decompose and recompose Bot Version meta files
170
- - The `botVersion` meta suffix will be blocked from running directly
167
+ - **NOTE**: Running "bot" will also decompose and recompose Bot Version meta files. The `botVersion` meta suffix will be blocked from running directly.
171
168
  - Marketing App Extension (`--metadata-type "marketingappextension"`)
172
169
 
173
170
  ### Metadata Exceptions
@@ -231,17 +228,14 @@ The ignore file is not read by the recompose command.
231
228
 
232
229
  ## Hooks
233
230
 
234
- **NOTE:** In order to avoid errors during the retrieval, you must configure your `.forceignore` file to have the Salesforce CLI ignore the decomposed files. See section below.
235
-
236
- A post-retrieve hook (for the decompose command) and a pre-run hook (for the recompose command) have been configured if you elect to use them.
237
-
238
- The post-retrieve hook will automatically decompose the desired metadata types after every Salesforce CLI retrieval (`sf project retrieve start` command).
231
+ **NOTE:** In order to avoid errors during the retrieval, you must configure your `.forceignore` file to have the Salesforce CLI ignore the decomposed files. See "Ignore Files" section below.
239
232
 
240
- The pre-run hook will automatically recompose the desired metadata types before every Salesforce CLI deployment/validation (`sf project deploy start` and `sf project deploy validate` commands).
233
+ A post-retrieve hook (for the decompose command) and a pre-run hook (for the recompose command) have been configured if you elect to use them. The post-retrieve hook will automatically decompose the desired metadata types after every Salesforce CLI retrieval (`sf project retrieve start` command). The pre-run hook will automatically recompose the desired metadata types before every Salesforce CLI deployment/validation (`sf project deploy start` and `sf project deploy validate` commands).
241
234
 
242
235
  Both hooks require you to create this file in the root of your repo: `.sfdecomposer.config.json`. You can use the sample [.sfdecomposer.config.json](https://raw.githubusercontent.com/mcarvin8/sf-decomposer/main/samples/.sfdecomposer.config.json) provided. Update the file as such:
243
236
 
244
237
  - `metadataSuffixes` is required and should be a comma-separated string of metadata suffixes to decompose automatically after retrievals.
238
+ - `ignorePackageDirectories` is optional and should be a comma-separated string of package directories to ignore.
245
239
  - `prePurge` is optional and should be a boolean. If true, this will delete any existing decomposed files before decomposing the files. If you do not provide this, the default will be `false`. This flag is not used by the recompose command/pre-run hook.
246
240
  - `postPurge` is optional and should be a boolean. If true, this will delete the retrieval file after decomposing it or delete the decomposed files after recomposing them. If you do not provide this, the default will be `false`.
247
241
  - `decomposedFormat` is optional and should be either `xml`, `json`, or `yaml`, depending on what file format you want the decomposed files created as. If you do not provide this, the default will be `xml`.
@@ -7,3 +7,4 @@ export declare const IGNORE_FILE = ".sfdecomposerignore";
7
7
  export declare const WORKFLOW_SUFFIX_MAPPING: {
8
8
  [key: string]: string;
9
9
  };
10
+ export declare const HOOK_CONFIG_JSON = ".sfdecomposer.config.json";
@@ -15,4 +15,5 @@ export const WORKFLOW_SUFFIX_MAPPING = {
15
15
  'tasks-meta.xml': 'workflowTask-meta.xml',
16
16
  'send-meta.xml': 'workflowSend-meta.xml',
17
17
  };
18
+ export const HOOK_CONFIG_JSON = '.sfdecomposer.config.json';
18
19
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/helpers/constants.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CAAC;AAC1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,8BAA8B,CAAC;AACjE,MAAM,CAAC,MAAM,0BAA0B,GAAW,eAAe,CAAC;AAClE,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAC;AAC1C,MAAM,CAAC,MAAM,qBAAqB,GAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,WAAW,GAAG,qBAAqB,CAAC;AACjD,MAAM,CAAC,MAAM,uBAAuB,GAA8B;IAChE,iBAAiB,EAAE,wBAAwB;IAC3C,uBAAuB,EAAE,8BAA8B;IACvD,sBAAsB,EAAE,6BAA6B;IACrD,6BAA6B,EAAE,mCAAmC;IAClE,2BAA2B,EAAE,kCAAkC;IAC/D,gBAAgB,EAAE,uBAAuB;IACzC,gBAAgB,EAAE,uBAAuB;IACzC,eAAe,EAAE,uBAAuB;CACzC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/helpers/constants.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CAAC;AAC1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,8BAA8B,CAAC;AACjE,MAAM,CAAC,MAAM,0BAA0B,GAAW,eAAe,CAAC;AAClE,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAC;AAC1C,MAAM,CAAC,MAAM,qBAAqB,GAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,WAAW,GAAG,qBAAqB,CAAC;AACjD,MAAM,CAAC,MAAM,uBAAuB,GAA8B;IAChE,iBAAiB,EAAE,wBAAwB;IAC3C,uBAAuB,EAAE,8BAA8B;IACvD,sBAAsB,EAAE,6BAA6B;IACrD,6BAA6B,EAAE,mCAAmC;IAClE,2BAA2B,EAAE,kCAAkC;IAC/D,gBAAgB,EAAE,uBAAuB;IACzC,gBAAgB,EAAE,uBAAuB;IACzC,eAAe,EAAE,uBAAuB;CACzC,CAAC;AACF,MAAM,CAAC,MAAM,gBAAgB,GAAG,2BAA2B,CAAC"}
@@ -8,6 +8,7 @@ export type ConfigFile = {
8
8
  prePurge: boolean;
9
9
  postPurge: boolean;
10
10
  decomposedFormat: string;
11
+ ignorePackageDirectories: string;
11
12
  };
12
13
  export type SfdxProject = {
13
14
  packageDirectories: Array<{
@@ -3,40 +3,51 @@ import { readFile } from 'node:fs/promises';
3
3
  import { resolve } from 'node:path';
4
4
  import DecomposerRecompose from '../commands/decomposer/recompose.js';
5
5
  import { getRepoRoot } from '../service/getRepoRoot.js';
6
+ import { HOOK_CONFIG_JSON } from '../helpers/constants.js';
6
7
  export const prerun = async function (options) {
7
- if (['project:deploy:validate', 'project:deploy:start'].includes(options.Command.id)) {
8
- let configFile;
9
- const { repoRoot } = await getRepoRoot();
10
- if (!repoRoot) {
11
- return;
12
- }
13
- const configPath = resolve(repoRoot, '.sfdecomposer.config.json');
14
- try {
15
- const jsonString = await readFile(configPath, 'utf-8');
16
- configFile = JSON.parse(jsonString);
17
- }
18
- catch (error) {
19
- return;
20
- }
21
- const metadataTypes = configFile.metadataSuffixes || '.';
22
- const format = configFile.decomposedFormat || 'xml';
23
- const postpurge = configFile.postPurge || false;
24
- if (metadataTypes.trim() === '.') {
25
- return;
26
- }
27
- const metadataTypesArray = metadataTypes.split(',');
28
- const commandArgs = [];
29
- for (const metadataType of metadataTypesArray) {
30
- const sanitizedMetadataType = metadataType.replace(/,/g, '');
31
- commandArgs.push('--metadata-type');
32
- commandArgs.push(sanitizedMetadataType);
33
- }
34
- commandArgs.push('--format');
35
- commandArgs.push(format);
36
- if (postpurge) {
37
- commandArgs.push('--postpurge');
8
+ if (!['project:deploy:validate', 'project:deploy:start'].includes(options.Command.id)) {
9
+ return;
10
+ }
11
+ let configFile;
12
+ const { repoRoot } = await getRepoRoot();
13
+ if (!repoRoot) {
14
+ return;
15
+ }
16
+ const configPath = resolve(repoRoot, HOOK_CONFIG_JSON);
17
+ try {
18
+ const jsonString = await readFile(configPath, 'utf-8');
19
+ configFile = JSON.parse(jsonString);
20
+ }
21
+ catch (error) {
22
+ return;
23
+ }
24
+ const metadataTypes = configFile.metadataSuffixes || '.';
25
+ const format = configFile.decomposedFormat || 'xml';
26
+ const postpurge = configFile.postPurge || false;
27
+ const ignorePackageDirs = configFile.ignorePackageDirectories || '';
28
+ if (metadataTypes.trim() === '.') {
29
+ return;
30
+ }
31
+ const metadataTypesArray = metadataTypes.split(',');
32
+ const commandArgs = [];
33
+ for (const metadataType of metadataTypesArray) {
34
+ const sanitizedMetadataType = metadataType.replace(/,/g, '');
35
+ commandArgs.push('--metadata-type');
36
+ commandArgs.push(sanitizedMetadataType);
37
+ }
38
+ if (ignorePackageDirs.trim() !== '') {
39
+ const ignorePackageDirArray = ignorePackageDirs.split(',');
40
+ for (const dirs of ignorePackageDirArray) {
41
+ const sanitizedDir = dirs.replace(/,/g, '');
42
+ commandArgs.push('--ignore-package-directory');
43
+ commandArgs.push(sanitizedDir);
38
44
  }
39
- await DecomposerRecompose.run(commandArgs);
40
45
  }
46
+ commandArgs.push('--format');
47
+ commandArgs.push(format);
48
+ if (postpurge) {
49
+ commandArgs.push('--postpurge');
50
+ }
51
+ await DecomposerRecompose.run(commandArgs);
41
52
  };
42
53
  //# sourceMappingURL=prerun.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prerun.js","sourceRoot":"","sources":["../../src/hooks/prerun.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,mBAAmB,MAAM,qCAAqC,CAAC;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,MAAM,CAAC,MAAM,MAAM,GAAmB,KAAK,WAAW,OAAO;IAC3D,IAAI,CAAC,yBAAyB,EAAE,sBAAsB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;QACrF,IAAI,UAAsB,CAAC;QAC3B,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,WAAW,EAAE,CAAC;QACzC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO;QACT,CAAC;QACD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;QAElE,IAAI,CAAC;YACH,MAAM,UAAU,GAAW,MAAM,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;YAC/D,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAe,CAAC;QACpD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;QACT,CAAC;QAED,MAAM,aAAa,GAAW,UAAU,CAAC,gBAAgB,IAAI,GAAG,CAAC;QACjE,MAAM,MAAM,GAAW,UAAU,CAAC,gBAAgB,IAAI,KAAK,CAAC;QAC5D,MAAM,S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AAE,CAAC;QACpC,MAAM,qBAAqB,GAAa,iBAAiB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrE,KAAK,MAAM,IAAI,IAAI,qBAAqB,EAAE,CAAC;YACzC,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC5C,WAAW,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC;YAC/C,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACjC,CAAC;IACH,CAAC;IACD,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC7B,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACzB,IAAI,SAAS,EAAE,CAAC;QACd,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAClC,CAAC;IACD,MAAM,mBAAmB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AAC7C,CAAC,CAAC"}
@@ -3,6 +3,7 @@ import { readFile } from 'node:fs/promises';
3
3
  import { resolve } from 'node:path';
4
4
  import DecomposerDecompose from '../commands/decomposer/decompose.js';
5
5
  import { getRepoRoot } from '../service/getRepoRoot.js';
6
+ import { HOOK_CONFIG_JSON } from '../helpers/constants.js';
6
7
  export const scopedPostRetrieve = async function (options) {
7
8
  if (!options.result?.retrieveResult.response.status) {
8
9
  return;
@@ -12,7 +13,7 @@ export const scopedPostRetrieve = async function (options) {
12
13
  if (!repoRoot) {
13
14
  return;
14
15
  }
15
- const configPath = resolve(repoRoot, '.sfdecomposer.config.json');
16
+ const configPath = resolve(repoRoot, HOOK_CONFIG_JSON);
16
17
  try {
17
18
  const jsonString = await readFile(configPath, 'utf-8');
18
19
  configFile = JSON.parse(jsonString);
@@ -24,6 +25,7 @@ export const scopedPostRetrieve = async function (options) {
24
25
  const format = configFile.decomposedFormat || 'xml';
25
26
  const prepurge = configFile.prePurge || false;
26
27
  const postpurge = configFile.postPurge || false;
28
+ const ignorePackageDirs = configFile.ignorePackageDirectories || '';
27
29
  if (metadataTypes.trim() === '.') {
28
30
  return;
29
31
  }
@@ -34,6 +36,14 @@ export const scopedPostRetrieve = async function (options) {
34
36
  commandArgs.push('--metadata-type');
35
37
  commandArgs.push(sanitizedMetadataType);
36
38
  }
39
+ if (ignorePackageDirs.trim() !== '') {
40
+ const ignorePackageDirArray = ignorePackageDirs.split(',');
41
+ for (const dirs of ignorePackageDirArray) {
42
+ const sanitizedDir = dirs.replace(/,/g, '');
43
+ commandArgs.push('--ignore-package-directory');
44
+ commandArgs.push(sanitizedDir);
45
+ }
46
+ }
37
47
  commandArgs.push('--format');
38
48
  commandArgs.push(format);
39
49
  if (prepurge) {
@@ -1 +1 @@
1
- {"version":3,"file":"scopedPostRetrieve.js","sourceRoot":"","sources":["../../src/hooks/scopedPostRetrieve.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,mBAAmB,MAAM,qCAAqC,CAAC;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAKxD,MAAM,CAAC,MAAM,kBAAkB,GAAiB,KAAK,WAAW,OAAO;IACrE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,cAAc,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QACpD,OAAO;IACT,CAAC;IACD,IAAI,UAAsB,CAAC;IAC3B,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,WAAW,EAAE,CAAC;IACzC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO;IACT,CAAC;IACD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;IAElE,IAAI,CAAC;QACH,MAAM,UAAU,GAAW,MAAM,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAC/D,UAAU,GAAG,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7 @@
1
1
  {
2
2
  "name": "sf-decomposer",
3
3
  "description": "Decomposes Salesforce metadata into more manageable files.",
4
- "version": "5.3.0",
4
+ "version": "5.3.1",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4",
7
7
  "@salesforce/core": "^8.2.1",