sf-decomposer 6.0.4 → 6.1.0
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 +15 -0
- package/README.md +16 -14
- package/lib/commands/decomposer/decompose.js +0 -1
- package/lib/commands/decomposer/decompose.js.map +1 -1
- package/lib/commands/decomposer/recompose.js +0 -1
- package/lib/commands/decomposer/recompose.js.map +1 -1
- package/lib/core/decomposeMetadataTypes.js +1 -1
- package/lib/core/decomposeMetadataTypes.js.map +1 -1
- package/lib/core/recomposeMetadataTypes.js +1 -1
- package/lib/core/recomposeMetadataTypes.js.map +1 -1
- package/lib/metadata/uniqueIdElements.d.ts +3 -0
- package/lib/metadata/uniqueIdElements.js +13 -0
- package/lib/metadata/uniqueIdElements.js.map +1 -1
- package/lib/service/decompose/customLabels.d.ts +2 -0
- package/lib/service/decompose/customLabels.js +36 -0
- package/lib/service/decompose/customLabels.js.map +1 -0
- package/lib/service/decompose/decomposeFileHandler.js +7 -49
- package/lib/service/decompose/decomposeFileHandler.js.map +1 -1
- package/lib/service/decompose/renameWorkflows.d.ts +1 -0
- package/lib/service/decompose/renameWorkflows.js +23 -0
- package/lib/service/decompose/renameWorkflows.js.map +1 -0
- package/lib/service/recompose/deleteFilesinDirectory.js +1 -1
- package/lib/service/recompose/deleteFilesinDirectory.js.map +1 -1
- package/lib/service/recompose/reassembleLabels.js +0 -1
- package/lib/service/recompose/reassembleLabels.js.map +1 -1
- package/lib/service/recompose/recomposeFileHandler.js +0 -1
- package/lib/service/recompose/recomposeFileHandler.js.map +1 -1
- package/lib/service/recompose/renameBotVersionFiles.js +1 -1
- package/lib/service/recompose/renameBotVersionFiles.js.map +1 -1
- package/oclif.lock +25 -35
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,21 @@
|
|
|
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
|
+
## [6.1.0](https://github.com/mcarvin8/sf-decomposer/compare/v6.0.4...v6.1.0) (2026-03-03)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* support decompose-nested-permissions for muting permission sets ([bec79b0](https://github.com/mcarvin8/sf-decomposer/commit/bec79b062ef65b82400c83cff392616f22cd6f65))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **deps:** bump @oclif/core from 4.8.1 to 4.8.2 ([#379](https://github.com/mcarvin8/sf-decomposer/issues/379)) ([582b2c6](https://github.com/mcarvin8/sf-decomposer/commit/582b2c6e4934aebf92c67e8bb1efd244796cdba0))
|
|
19
|
+
* **deps:** bump @salesforce/core from 8.26.2 to 8.26.3 ([#375](https://github.com/mcarvin8/sf-decomposer/issues/375)) ([843c0a2](https://github.com/mcarvin8/sf-decomposer/commit/843c0a21d0729583d06c67a5e9f0c4319a9634dd))
|
|
20
|
+
* **deps:** bump p-limit from 7.2.0 to 7.3.0 ([#377](https://github.com/mcarvin8/sf-decomposer/issues/377)) ([3913958](https://github.com/mcarvin8/sf-decomposer/commit/39139582b5f489748230bd922928016e585636db))
|
|
21
|
+
* **metadata:** add unique id elements for muting permission sets ([54dbd7d](https://github.com/mcarvin8/sf-decomposer/commit/54dbd7d45706365d353a3b0a9dd04fe903ac6292))
|
|
22
|
+
|
|
8
23
|
## [6.0.4](https://github.com/mcarvin8/sf-decomposer/compare/v6.0.3...v6.0.4) (2026-02-24)
|
|
9
24
|
|
|
10
25
|
|
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ Salesforce’s built-in decomposition is limited. sf-decomposer gives admins and
|
|
|
93
93
|
- **Selective decomposition** – Decompose only what you need; use [.sfdecomposerignore](#sfdecomposerignore) to skip specific files.
|
|
94
94
|
- **Two [strategies](#decompose-strategies)**:
|
|
95
95
|
- **unique-id** (default): one file per nested element, named by content or hash.
|
|
96
|
-
- **grouped-by-tag**: one file per tag (e.g. all `fieldPermissions` in a permission set in `fieldPermissions.xml`). Use `--decompose-nested-permissions` for deeper permission
|
|
96
|
+
- **grouped-by-tag**: one file per tag (e.g. all `fieldPermissions` in a permission set in `fieldPermissions.xml`). Use `--decompose-nested-permissions` for deeper permission set and muting permission set decomposition.
|
|
97
97
|
- **Full decomposition** – Fully decompose types that Salesforce only partially supports (e.g. permission sets).
|
|
98
98
|
- **Stable ordering** – Elements are sorted consistently to reduce noisy diffs.
|
|
99
99
|
- **Multiple formats** – Output as XML, JSON, JSON5, or YAML.
|
|
@@ -124,7 +124,7 @@ FLAGS
|
|
|
124
124
|
-s, --strategy=<value> unique-id | grouped-by-tag [default: unique-id]
|
|
125
125
|
--prepurge Remove existing decomposed files before decomposing [default: false]
|
|
126
126
|
--postpurge Remove original metadata files after decomposing [default: false]
|
|
127
|
-
-p, --decompose-nested-permissions With grouped-by-tag, further decompose permission set object/field permissions
|
|
127
|
+
-p, --decompose-nested-permissions With grouped-by-tag, further decompose permission set and muting permission set object/field permissions
|
|
128
128
|
|
|
129
129
|
GLOBAL FLAGS
|
|
130
130
|
--json Output as JSON.
|
|
@@ -202,15 +202,16 @@ Custom labels use only the **unique-id** strategy. If you pass `grouped-by-tag`,
|
|
|
202
202
|
|
|
203
203
|
### Additional Permission Set Decomposition
|
|
204
204
|
|
|
205
|
-
With **grouped-by-tag**, use `--decompose-nested-permissions` (`-p`) to:
|
|
205
|
+
With **grouped-by-tag**, use `--decompose-nested-permissions` (`-p`) to further decompose permission sets and muting permission sets:
|
|
206
206
|
|
|
207
207
|
- Write each `<objectPermissions>` to its own file under `objectPermissions/`.
|
|
208
208
|
- Group `<fieldPermissions>` by object under `fieldPermissions/`.
|
|
209
209
|
|
|
210
|
-
Similar to Salesforce’s `decomposePermissionSetBeta2`, with more control and format options.
|
|
210
|
+
Similar to Salesforce’s `decomposePermissionSetBeta2`, with more control and format options. Muting permission sets extend the permission set metadata type and support the same decomposition.
|
|
211
211
|
|
|
212
212
|
```bash
|
|
213
213
|
sf decomposer decompose -m "permissionset" -s "grouped-by-tag" -p
|
|
214
|
+
sf decomposer decompose -m "mutingpermissionset" -s "grouped-by-tag" -p
|
|
214
215
|
```
|
|
215
216
|
|
|
216
217
|

|
|
@@ -239,7 +240,8 @@ Use the metadata **suffix** for `-m` / `--metadata-type`, as in [SDR’s metadat
|
|
|
239
240
|
| Custom Labels | `labels` | Strategy overridden to `unique-id` if `grouped-by-tag` is provided (grouping labels by tag would be no different from the original file). |
|
|
240
241
|
| Workflows | `workflow` | |
|
|
241
242
|
| Profiles | `profile` | |
|
|
242
|
-
| Permission Sets | `permissionset` |
|
|
243
|
+
| Permission Sets | `permissionset` | Supports `--decompose-nested-permissions` with grouped-by-tag. |
|
|
244
|
+
| Muting Permission Sets | `mutingpermissionset` | Extends permission set metadata type. Supports `--decompose-nested-permissions` with grouped-by-tag. |
|
|
243
245
|
| AI Scoring Model Definition | `aiScoringModelDefinition` | |
|
|
244
246
|
| Decision Matrix Definition | `decisionMatrixDefinition` | |
|
|
245
247
|
| Bot | `bot` | |
|
|
@@ -296,15 +298,15 @@ Put **.sfdecomposer.config.json** in the project root to run:
|
|
|
296
298
|
|
|
297
299
|
Copy and customize the [sample config](https://raw.githubusercontent.com/mcarvin8/sf-decomposer/main/examples/.sfdecomposer.config.json).
|
|
298
300
|
|
|
299
|
-
| Option | Required | Description
|
|
300
|
-
| ---------------------------- | -------- |
|
|
301
|
-
| `metadataSuffixes` | Yes | Comma-separated metadata suffixes to decompose/recompose.
|
|
302
|
-
| `ignorePackageDirectories` | No | Comma-separated package directories to skip.
|
|
303
|
-
| `prePurge` | No | Remove existing decomposed files before decomposing (default: false).
|
|
304
|
-
| `postPurge` | No | After decompose: remove originals; after recompose: remove decomposed files (default: false).
|
|
305
|
-
| `decomposedFormat` | No | xml, json, json5, or yaml (default: xml).
|
|
306
|
-
| `strategy` | No | `unique-id` \| `grouped-by-tag` (default: unique-id).
|
|
307
|
-
| `decomposeNestedPermissions` | No | With grouped-by-tag, set true to further decompose permission set object/field permissions.
|
|
301
|
+
| Option | Required | Description |
|
|
302
|
+
| ---------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------- |
|
|
303
|
+
| `metadataSuffixes` | Yes | Comma-separated metadata suffixes to decompose/recompose. |
|
|
304
|
+
| `ignorePackageDirectories` | No | Comma-separated package directories to skip. |
|
|
305
|
+
| `prePurge` | No | Remove existing decomposed files before decomposing (default: false). |
|
|
306
|
+
| `postPurge` | No | After decompose: remove originals; after recompose: remove decomposed files (default: false). |
|
|
307
|
+
| `decomposedFormat` | No | xml, json, json5, or yaml (default: xml). |
|
|
308
|
+
| `strategy` | No | `unique-id` \| `grouped-by-tag` (default: unique-id). |
|
|
309
|
+
| `decomposeNestedPermissions` | No | With grouped-by-tag, set true to further decompose permission set and muting permission set object/field permissions. |
|
|
308
310
|
|
|
309
311
|
---
|
|
310
312
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decompose.js","sourceRoot":"","sources":["../../../src/commands/decomposer/decompose.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"decompose.js","sourceRoot":"","sources":["../../../src/commands/decomposer/decompose.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAG9E,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAC;AAEhF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AQ,EAAE,KAAK,CAAC,MAAM,CAAC;YACrB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;YACtD,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,WAAW;YACpB,OAAO,EAAE,qBAAqB;SAC/B,CAAC;QACF,8BAA8B,EAAE,KAAK,CAAC,OAAO,CAAC;YAC5C,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,4CAA4C,CAAC;YAC1E,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,KAAK;SACf,CAAC;KACH,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAExD,OAAO,sBAAsB,CAAC;YAC5B,aAAa,EAAE,KAAK,CAAC,eAAe,CAAC;YACrC,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;YAC3B,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;YAC7B,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC;YACvB,UAAU,EAAE,KAAK,CAAC,0BAA0B,CAAC;YAC7C,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;YAC3B,oBAAoB,EAAE,KAAK,CAAC,8BAA8B,CAAC;YAC3D,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;SACzB,CAAC,CAAC;IACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recompose.js","sourceRoot":"","sources":["../../../src/commands/decomposer/recompose.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"recompose.js","sourceRoot":"","sources":["../../../src/commands/decomposer/recompose.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,SAAS,EAAE,KA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CAAC,mBAAmB,CAAC,CAAC;QAExD,OAAO,sBAAsB,CAAC;YAC5B,aAAa,EAAE,KAAK,CAAC,eAAe,CAAC;YACrC,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;YAC7B,UAAU,EAAE,KAAK,CAAC,0BAA0B,CAAC;YAC7C,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;SACzB,CAAC,CAAC;IACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decomposeMetadataTypes.js","sourceRoot":"","sources":["../../src/core/decomposeMetadataTypes.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"decomposeMetadataTypes.js","sourceRoot":"","sources":["../../src/core/decomposeMetadataTypes.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG7D,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,OAAyB;IACpE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,oBAAoB,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC;IAEhH,4EAA4E;IAC5E,MAAM,KAAK,GAAG,MAAM,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAC/C,KAAK,CAAC,KAAK,IAAI,EAAE;QACf,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,MAAM,yBAAyB,CAAC,YAAY,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;QAC9G,IAAI,iBAAiB,GAAG,QAAQ,CAAC;QAEjC,IAAI,YAAY,KAAK,QAAQ,IAAI,QAAQ,KAAK,gBAAgB,EAAE,CAAC;YAC/D,iBAAiB,GAAG,WAAW,CAAC;QAClC,CAAC;QAED,IAAI,YAAY,KAAK,qBAAqB,IAAI,QAAQ,KAAK,gBAAgB,EAAE,CAAC;YAC5E,iBAAiB,GAAG,WAAW,CAAC;QAClC,CAAC;QAED,MAAM,oBAAoB,CACxB,cAAc,EACd,QAAQ,EACR,SAAS,EACT,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,oBAAoB,CACrB,CAAC;QAEF,GAAG,CAAC,kEAAkE,YAAY,EAAE,CAAC,CAAC;IACxF,CAAC,CAAC,CACH,CAAC;IAEF,MAAM,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAEzB,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC;AACrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recomposeMetadataTypes.js","sourceRoot":"","sources":["../../src/core/recomposeMetadataTypes.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"recomposeMetadataTypes.js","sourceRoot":"","sources":["../../src/core/recomposeMetadataTypes.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG7D,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,OAAyB;IACpE,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC;IAE9D,4EAA4E;IAC5E,MAAM,KAAK,GAAG,MAAM,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAC/C,KAAK,CAAC,KAAK,IAAI,EAAE;QACf,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,yBAAyB,CAAC,YAAY,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;QAClG,MAAM,oBAAoB,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;QACtD,GAAG,CAAC,kEAAkE,YAAY,EAAE,CAAC,CAAC;IACxF,CAAC,CAAC,CACH,CAAC;IAEF,MAAM,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAEzB,OAAO;QACL,QAAQ,EAAE,aAAa;KACxB,CAAC;AACJ,CAAC"}
|
|
@@ -67,6 +67,19 @@ export default [
|
|
|
67
67
|
loyaltyProgramSetup: {
|
|
68
68
|
uniqueIdElements: ['processName'],
|
|
69
69
|
},
|
|
70
|
+
mutingpermissionset: {
|
|
71
|
+
uniqueIdElements: [
|
|
72
|
+
'application',
|
|
73
|
+
'apexClass',
|
|
74
|
+
'externalDataSource',
|
|
75
|
+
'flow',
|
|
76
|
+
'object',
|
|
77
|
+
'apexPage',
|
|
78
|
+
'recordType',
|
|
79
|
+
'tab',
|
|
80
|
+
'field',
|
|
81
|
+
],
|
|
82
|
+
},
|
|
70
83
|
},
|
|
71
84
|
];
|
|
72
85
|
//# sourceMappingURL=uniqueIdElements.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uniqueIdElements.js","sourceRoot":"","sources":["../../src/metadata/uniqueIdElements.ts"],"names":[],"mappings":"AAAA,eAAe;IACb;QACE,OAAO,EAAE;YACP,gBAAgB,EAAE;gBAChB,aAAa;gBACb,WAAW;gBACX,oBAAoB;gBACpB,MAAM;gBACN,QAAQ;gBACR,UAAU;gBACV,YAAY;gBACZ,KAAK;gBACL,OAAO;gBACP,cAAc;gBACd,mBAAmB;gBACnB,QAAQ;gBACR,cAAc;gBACd,cAAc;aACf;SACF;QACD,aAAa,EAAE;YACb,gBAAgB,EAAE;gBAChB,aAAa;gBACb,WAAW;gBACX,oBAAoB;gBACpB,MAAM;gBACN,QAAQ;gBACR,UAAU;gBACV,YAAY;gBACZ,KAAK;gBACL,OAAO;aACR;SACF;QACD,IAAI,EAAE;YACJ,gBAAgB,EAAE;gBAChB,WAAW;gBACX,QAAQ;gBACR,OAAO;gBACP,QAAQ;gBACR,YAAY;gBACZ,iBAAiB;gBACjB,mBAAmB;gBACnB,YAAY;gBACZ,YAAY;aACb;SACF;QACD,yBAAyB,EAAE;YACzB,gBAAgB,EAAE,CAAC,aAAa,CAAC;SAClC;QACD,2BAA2B,EAAE;YAC3B,gBAAgB,EAAE,CAAC,aAAa,CAAC;SAClC;QACD,GAAG,EAAE;YACH,gBAAgB,EAAE;gBAChB,eAAe;gBACf,gBAAgB;gBAChB,sBAAsB;gBACtB,eAAe;gBACf,iBAAiB;gBACjB,QAAQ;gBACR,gBAAgB;aACjB;SACF;QACD,qBAAqB,EAAE;YACrB,gBAAgB,EAAE,CAAC,SAAS,CAAC;SAC9B;QACD,mBAAmB,EAAE;YACnB,gBAAgB,EAAE,CAAC,aAAa,CAAC;SAClC;KACF;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"uniqueIdElements.js","sourceRoot":"","sources":["../../src/metadata/uniqueIdElements.ts"],"names":[],"mappings":"AAAA,eAAe;IACb;QACE,OAAO,EAAE;YACP,gBAAgB,EAAE;gBAChB,aAAa;gBACb,WAAW;gBACX,oBAAoB;gBACpB,MAAM;gBACN,QAAQ;gBACR,UAAU;gBACV,YAAY;gBACZ,KAAK;gBACL,OAAO;gBACP,cAAc;gBACd,mBAAmB;gBACnB,QAAQ;gBACR,cAAc;gBACd,cAAc;aACf;SACF;QACD,aAAa,EAAE;YACb,gBAAgB,EAAE;gBAChB,aAAa;gBACb,WAAW;gBACX,oBAAoB;gBACpB,MAAM;gBACN,QAAQ;gBACR,UAAU;gBACV,YAAY;gBACZ,KAAK;gBACL,OAAO;aACR;SACF;QACD,IAAI,EAAE;YACJ,gBAAgB,EAAE;gBAChB,WAAW;gBACX,QAAQ;gBACR,OAAO;gBACP,QAAQ;gBACR,YAAY;gBACZ,iBAAiB;gBACjB,mBAAmB;gBACnB,YAAY;gBACZ,YAAY;aACb;SACF;QACD,yBAAyB,EAAE;YACzB,gBAAgB,EAAE,CAAC,aAAa,CAAC;SAClC;QACD,2BAA2B,EAAE;YAC3B,gBAAgB,EAAE,CAAC,aAAa,CAAC;SAClC;QACD,GAAG,EAAE;YACH,gBAAgB,EAAE;gBAChB,eAAe;gBACf,gBAAgB;gBAChB,sBAAsB;gBACtB,eAAe;gBACf,iBAAiB;gBACjB,QAAQ;gBACR,gBAAgB;aACjB;SACF;QACD,qBAAqB,EAAE;YACrB,gBAAgB,EAAE,CAAC,SAAS,CAAC;SAC9B;QACD,mBAAmB,EAAE;YACnB,gBAAgB,EAAE,CAAC,aAAa,CAAC;SAClC;QACD,mBAAmB,EAAE;YACnB,gBAAgB,EAAE;gBAChB,aAAa;gBACb,WAAW;gBACX,oBAAoB;gBACpB,MAAM;gBACN,QAAQ;gBACR,UAAU;gBACV,YAAY;gBACZ,KAAK;gBACL,OAAO;aACR;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* eslint-disable no-await-in-loop */
|
|
2
|
+
'use strict';
|
|
3
|
+
import { join } from 'node:path';
|
|
4
|
+
import { readdir, stat, rm, rename } from 'node:fs/promises';
|
|
5
|
+
import pLimit from 'p-limit';
|
|
6
|
+
import { CUSTOM_LABELS_FILE, CONCURRENCY_LIMITS } from '../../helpers/constants.js';
|
|
7
|
+
import { moveFiles } from '../core/moveFiles.js';
|
|
8
|
+
export async function prePurgeLabels(metadataPath) {
|
|
9
|
+
const subFiles = await readdir(metadataPath);
|
|
10
|
+
for (const subFile of subFiles) {
|
|
11
|
+
const subfilePath = join(metadataPath, subFile);
|
|
12
|
+
if ((await stat(subfilePath)).isFile() && subFile !== CUSTOM_LABELS_FILE) {
|
|
13
|
+
await rm(subfilePath, { recursive: true });
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export async function moveAndRenameLabels(metadataPath) {
|
|
18
|
+
const sourceDirectory = join(metadataPath, 'CustomLabels', 'labels');
|
|
19
|
+
const destinationDirectory = metadataPath;
|
|
20
|
+
const labelFiles = await readdir(sourceDirectory);
|
|
21
|
+
// Limit concurrent file operations to prevent file system overload
|
|
22
|
+
const limit = pLimit(CONCURRENCY_LIMITS.FILE_OPERATIONS);
|
|
23
|
+
const tasks = labelFiles
|
|
24
|
+
.filter((file) => file.includes('.labels-meta'))
|
|
25
|
+
.map((file) => limit(async () => {
|
|
26
|
+
const oldFilePath = join(sourceDirectory, file);
|
|
27
|
+
const newFileName = file.replace('.labels-meta', '.label-meta');
|
|
28
|
+
const newFilePath = join(destinationDirectory, newFileName);
|
|
29
|
+
await rename(oldFilePath, newFilePath);
|
|
30
|
+
}));
|
|
31
|
+
await Promise.all(tasks);
|
|
32
|
+
// istanbul ignore next -- callback only invoked if non-label files exist after rename
|
|
33
|
+
await moveFiles(sourceDirectory, destinationDirectory, () => true);
|
|
34
|
+
await rm(join(metadataPath, 'CustomLabels'), { recursive: true });
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=customLabels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customLabels.js","sourceRoot":"","sources":["../../../src/service/decompose/customLabels.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,YAAY,CAAC;AAEb,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,MAAM,MAAM,SAAS,CAAC;AAE7B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,EAA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AM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IACzC,CAAC,CAAC,CACH,CAAC;IAEJ,MAAM,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAEzB,sFAAsF;IACtF,MAAM,SAAS,CAAC,eAAe,EAAE,oBAAoB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;IACnE,MAAM,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
/* eslint-disable no-await-in-loop */
|
|
3
2
|
import { resolve, relative, join } from 'node:path';
|
|
4
|
-
import { readdir, stat
|
|
3
|
+
import { readdir, stat } from 'node:fs/promises';
|
|
5
4
|
import { DisassembleXMLFileHandler } from 'xml-disassembler';
|
|
6
5
|
import pLimit from 'p-limit';
|
|
7
|
-
import { CUSTOM_LABELS_FILE,
|
|
8
|
-
import {
|
|
6
|
+
import { CUSTOM_LABELS_FILE, CONCURRENCY_LIMITS } from '../../helpers/constants.js';
|
|
7
|
+
import { prePurgeLabels, moveAndRenameLabels } from './customLabels.js';
|
|
8
|
+
import { renameWorkflows } from './renameWorkflows.js';
|
|
9
9
|
export async function decomposeFileHandler(metaAttributes, prepurge, postpurge, format, ignorePath, strategy, decomposeNestedPerms) {
|
|
10
10
|
const { metadataPaths, metaSuffix, strictDirectoryName, folderType, uniqueIdElements } = metaAttributes;
|
|
11
11
|
// Limit concurrent package directory processing to prevent file system overload
|
|
@@ -37,7 +37,9 @@ function disassembleHandler(filePath, uniqueIdElements, prePurge, postPurge, for
|
|
|
37
37
|
const handler = new DisassembleXMLFileHandler();
|
|
38
38
|
let multiLevel;
|
|
39
39
|
let splitTags;
|
|
40
|
-
const decomposePermSets = decomposeNestedPerms &&
|
|
40
|
+
const decomposePermSets = decomposeNestedPerms &&
|
|
41
|
+
(metaSuffix === 'permissionset' || metaSuffix === 'mutingpermissionset') &&
|
|
42
|
+
strategy === 'grouped-by-tag';
|
|
41
43
|
const decomposeLoyalyProgram = metaSuffix === 'loyaltyProgramSetup' && strategy === 'unique-id';
|
|
42
44
|
if (decomposeLoyalyProgram) {
|
|
43
45
|
multiLevel = 'programProcesses:programProcesses:parameterName,ruleName';
|
|
@@ -57,34 +59,6 @@ function disassembleHandler(filePath, uniqueIdElements, prePurge, postPurge, for
|
|
|
57
59
|
splitTags,
|
|
58
60
|
});
|
|
59
61
|
}
|
|
60
|
-
async function prePurgeLabels(metadataPath) {
|
|
61
|
-
const subFiles = await readdir(metadataPath);
|
|
62
|
-
for (const subFile of subFiles) {
|
|
63
|
-
const subfilePath = join(metadataPath, subFile);
|
|
64
|
-
if ((await stat(subfilePath)).isFile() && subFile !== CUSTOM_LABELS_FILE) {
|
|
65
|
-
await rm(subfilePath, { recursive: true });
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
async function moveAndRenameLabels(metadataPath) {
|
|
70
|
-
const sourceDirectory = join(metadataPath, 'CustomLabels', 'labels');
|
|
71
|
-
const destinationDirectory = metadataPath;
|
|
72
|
-
const labelFiles = await readdir(sourceDirectory);
|
|
73
|
-
// Limit concurrent file operations to prevent file system overload
|
|
74
|
-
const limit = pLimit(CONCURRENCY_LIMITS.FILE_OPERATIONS);
|
|
75
|
-
const tasks = labelFiles
|
|
76
|
-
.filter((file) => file.includes('.labels-meta'))
|
|
77
|
-
.map((file) => limit(async () => {
|
|
78
|
-
const oldFilePath = join(sourceDirectory, file);
|
|
79
|
-
const newFileName = file.replace('.labels-meta', '.label-meta');
|
|
80
|
-
const newFilePath = join(destinationDirectory, newFileName);
|
|
81
|
-
await rename(oldFilePath, newFilePath);
|
|
82
|
-
}));
|
|
83
|
-
await Promise.all(tasks);
|
|
84
|
-
// istanbul ignore next -- callback only invoked if non-label files exist after rename
|
|
85
|
-
await moveFiles(sourceDirectory, destinationDirectory, () => true);
|
|
86
|
-
await rm(join(metadataPath, 'CustomLabels'), { recursive: true });
|
|
87
|
-
}
|
|
88
62
|
async function subDirectoryHandler(metadataPath, uniqueIdElements, prepurge, postpurge, format, ignorePath, strategy, metaSuffix, decomposeNestedPerms) {
|
|
89
63
|
const subFiles = await readdir(metadataPath);
|
|
90
64
|
// Limit concurrent subdirectory stat operations
|
|
@@ -102,20 +76,4 @@ async function subDirectoryHandler(metadataPath, uniqueIdElements, prepurge, pos
|
|
|
102
76
|
.map(({ subFilePath }) => processLimit(() => disassembleHandler(subFilePath, uniqueIdElements, prepurge, postpurge, format, ignorePath, strategy, metaSuffix, decomposeNestedPerms)));
|
|
103
77
|
await Promise.all(processTasks);
|
|
104
78
|
}
|
|
105
|
-
async function renameWorkflows(directory) {
|
|
106
|
-
const files = await readdir(directory, { recursive: true });
|
|
107
|
-
// Limit concurrent file rename operations
|
|
108
|
-
const limit = pLimit(CONCURRENCY_LIMITS.FILE_OPERATIONS);
|
|
109
|
-
const tasks = files.map((file) => limit(async () => {
|
|
110
|
-
for (const [suffix, newSuffix] of Object.entries(WORKFLOW_SUFFIX_MAPPING)) {
|
|
111
|
-
if (file.includes(suffix)) {
|
|
112
|
-
const oldFilePath = join(directory, file);
|
|
113
|
-
const newFilePath = join(directory, file.replace(suffix, newSuffix));
|
|
114
|
-
await rename(oldFilePath, newFilePath);
|
|
115
|
-
break;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}));
|
|
119
|
-
await Promise.all(tasks);
|
|
120
|
-
}
|
|
121
79
|
//# sourceMappingURL=decomposeFileHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decomposeFileHandler.js","sourceRoot":"","sources":["../../../src/service/decompose/decomposeFileHandler.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"decomposeFileHandler.js","sourceRoot":"","sources":["../../../src/service/decompose/decomposeFileHandler.ts"],"names":[],"mappings":"AAA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S,EACT,MAAM,EACN,UAAU,EACV,QAAQ,EACR,UAAU,EACV,oBAAoB,CACrB,CACF,CACF,CAAC;IAEJ,MAAM,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function renameWorkflows(directory: string): Promise<void>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* eslint-disable no-await-in-loop */
|
|
2
|
+
'use strict';
|
|
3
|
+
import { join } from 'node:path';
|
|
4
|
+
import { readdir, rename } from 'node:fs/promises';
|
|
5
|
+
import pLimit from 'p-limit';
|
|
6
|
+
import { WORKFLOW_SUFFIX_MAPPING, CONCURRENCY_LIMITS } from '../../helpers/constants.js';
|
|
7
|
+
export async function renameWorkflows(directory) {
|
|
8
|
+
const files = await readdir(directory, { recursive: true });
|
|
9
|
+
// Limit concurrent file rename operations
|
|
10
|
+
const limit = pLimit(CONCURRENCY_LIMITS.FILE_OPERATIONS);
|
|
11
|
+
const tasks = files.map((file) => limit(async () => {
|
|
12
|
+
for (const [suffix, newSuffix] of Object.entries(WORKFLOW_SUFFIX_MAPPING)) {
|
|
13
|
+
if (file.includes(suffix)) {
|
|
14
|
+
const oldFilePath = join(directory, file);
|
|
15
|
+
const newFilePath = join(directory, file.replace(suffix, newSuffix));
|
|
16
|
+
await rename(oldFilePath, newFilePath);
|
|
17
|
+
break;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}));
|
|
21
|
+
await Promise.all(tasks);
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=renameWorkflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renameWorkflows.js","sourceRoot":"","sources":["../../../src/service/decompose/renameWorkflows.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,YAAY,CAAC;AAEb,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,MAAM,MAAM,SAAS,CAAC;AAE7B,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEzF,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,SAAiB;IACrD,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAE5D,0CAA0C;IAC1C,MAAM,KAAK,GAAG,MAAM,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC;IAEzD,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAC/B,KAAK,CAAC,KAAK,IAAI,EAAE;QACf,KAAK,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,EAAE,CAAC;YAC1E,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC1B,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;gBAC1C,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;gBACrE,MAAM,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;gBACvC,MAAM;YACR,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CACH,CAAC;IAEF,MAAM,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteFilesinDirectory.js","sourceRoot":"","sources":["../../../src/service/recompose/deleteFilesinDirectory.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"deleteFilesinDirectory.js","sourceRoot":"","sources":["../../../src/service/recompose/deleteFilesinDirectory.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,YAAY,CAAC;AAEb,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,SAAiB;IAC5D,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,SAAS,CAAC,CAAC;IACvC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QACvC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtC,IAAI,QAAQ,CAAC,MAAM,EAAE,IAAI,IAAI,KAAK,kBAAkB,EAAE,CAAC;YACrD,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reassembleLabels.js","sourceRoot":"","sources":["../../../src/service/recompose/reassembleLabels.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"reassembleLabels.js","sourceRoot":"","sources":["../../../src/service/recompose/reassembleLabels.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,YAAoB,EAAE,UAAkB,EAAE,SAAkB;IACjG,IAAI,eAAe,GAAG,YAAY,CAAC;IACnC,IAAI,oBAAoB,GAAG,IAAI,CAAC,YAAY,EAAE,cAAc,EAAE,QAAQ,CAAC,CAAC;IAExE,MAAM,SAAS,CAAC,eAAe,EAAE,oBAAoB,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,kBAAkB,CAAC,CAAC;IAEtG,+CAA+C;IAC/C,iBAAiB,CAAC,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,EAAE,GAAG,UAAU,WAAW,EAAE,KAAK,CAAC,CAAC;IAEvF,eAAe,GAAG,IAAI,CAAC,YAAY,EAAE,cAAc,EAAE,QAAQ,CAAC,CAAC;IAC/D,oBAAoB,GAAG,YAAY,CAAC;IAEpC,MAAM,SAAS,CAAC,eAAe,EAAE,oBAAoB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;IAEnE,MAAM,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAClE,IAAI,SAAS;QAAE,MAAM,sBAAsB,CAAC,oBAAoB,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recomposeFileHandler.js","sourceRoot":"","sources":["../../../src/service/recompose/recomposeFileHandler.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"recomposeFileHandler.js","sourceRoot":"","sources":["../../../src/service/recompose/recomposeFileHandler.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CA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,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renameBotVersionFiles.js","sourceRoot":"","sources":["../../../src/service/recompose/renameBotVersionFiles.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"renameBotVersionFiles.js","sourceRoot":"","sources":["../../../src/service/recompose/renameBotVersionFiles.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,YAAY,CAAC;AAEb,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,YAAoB;IAC7D,MAAM,cAAc,GAAG,MAAM,OAAO,CAAC,YAAY,CAAC,CAAC;IACnD,KAAK,MAAM,YAAY,IAAI,cAAc,EAAE,CAAC;QAC1C,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAE1D,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAC5C,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,CAAC;YACxB,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,gBAAgB,CAAC,CAAC;YAC9C,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;gBACzB,oEAAoE;gBACpE,IAAI,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;oBACxC,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;oBAChD,MAAM,eAAe,GAAG,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;oBAC5F,MAAM,MAAM,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;gBAC5C,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"}
|
package/oclif.lock
CHANGED
|
@@ -959,10 +959,10 @@
|
|
|
959
959
|
dependencies:
|
|
960
960
|
conventional-changelog-conventionalcommits "^6.1.0"
|
|
961
961
|
|
|
962
|
-
"@commitlint/config-conventional@^20.4.
|
|
963
|
-
version "20.4.
|
|
964
|
-
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-20.4.
|
|
965
|
-
integrity sha512-
|
|
962
|
+
"@commitlint/config-conventional@^20.4.2":
|
|
963
|
+
version "20.4.2"
|
|
964
|
+
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-20.4.2.tgz#58c114116bcf2b8e91467307f5d3bf9167ce6579"
|
|
965
|
+
integrity sha512-rwkTF55q7Q+6dpSKUmJoScV0f3EpDlWKw2UPzklkLS4o5krMN1tPWAVOgHRtyUTMneIapLeQwaCjn44Td6OzBQ==
|
|
966
966
|
dependencies:
|
|
967
967
|
"@commitlint/types" "^20.4.0"
|
|
968
968
|
conventional-changelog-conventionalcommits "^9.1.0"
|
|
@@ -1927,9 +1927,9 @@
|
|
|
1927
1927
|
fastq "^1.6.0"
|
|
1928
1928
|
|
|
1929
1929
|
"@oclif/core@^4", "@oclif/core@^4.5.2", "@oclif/core@^4.8.0":
|
|
1930
|
-
version "4.8.
|
|
1931
|
-
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.8.
|
|
1932
|
-
integrity sha512-
|
|
1930
|
+
version "4.8.2"
|
|
1931
|
+
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.8.2.tgz#b4bb065b44da9eb2719086854b009a6747455d09"
|
|
1932
|
+
integrity sha512-P+XAOtuWM/Fewau64c31bYUiLFJTzhth229xVbBrG1siLc7+2uezUYhP5eWn/++nZPZ/wChSqYgQNN4HPw/ZHQ==
|
|
1933
1933
|
dependencies:
|
|
1934
1934
|
ansi-escapes "^4.3.2"
|
|
1935
1935
|
ansis "^3.17.0"
|
|
@@ -1941,7 +1941,7 @@
|
|
|
1941
1941
|
indent-string "^4.0.0"
|
|
1942
1942
|
is-wsl "^2.2.0"
|
|
1943
1943
|
lilconfig "^3.1.3"
|
|
1944
|
-
minimatch "^10.2.
|
|
1944
|
+
minimatch "^10.2.4"
|
|
1945
1945
|
semver "^7.7.3"
|
|
1946
1946
|
string-width "^4.2.3"
|
|
1947
1947
|
supports-color "^8"
|
|
@@ -1950,10 +1950,10 @@
|
|
|
1950
1950
|
wordwrap "^1.0.0"
|
|
1951
1951
|
wrap-ansi "^7.0.0"
|
|
1952
1952
|
|
|
1953
|
-
"@oclif/plugin-command-snapshot@^5.3.
|
|
1954
|
-
version "5.3.
|
|
1955
|
-
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.3.
|
|
1956
|
-
integrity sha512-
|
|
1953
|
+
"@oclif/plugin-command-snapshot@^5.3.10":
|
|
1954
|
+
version "5.3.10"
|
|
1955
|
+
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.3.10.tgz#7146eccb3ec4f66fb27bf5a362add7d0697ba2b1"
|
|
1956
|
+
integrity sha512-pGKxLQzE3NYsl63WmwiCndrskKFsQXZ8P5trvycqGHJ1YmffL4xPpfiDcMtiKuK0MX2vSnTkQ0k7n5kchmx+vA==
|
|
1957
1957
|
dependencies:
|
|
1958
1958
|
"@oclif/core" "^4"
|
|
1959
1959
|
ansis "^3.17.0"
|
|
@@ -2066,10 +2066,10 @@
|
|
|
2066
2066
|
strip-ansi "6.0.1"
|
|
2067
2067
|
ts-retry-promise "^0.8.1"
|
|
2068
2068
|
|
|
2069
|
-
"@salesforce/core@^8.18.7", "@salesforce/core@^8.23.1", "@salesforce/core@^8.
|
|
2070
|
-
version "8.26.
|
|
2071
|
-
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.26.
|
|
2072
|
-
integrity sha512-
|
|
2069
|
+
"@salesforce/core@^8.18.7", "@salesforce/core@^8.23.1", "@salesforce/core@^8.26.2", "@salesforce/core@^8.26.3", "@salesforce/core@^8.8.0":
|
|
2070
|
+
version "8.26.3"
|
|
2071
|
+
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.26.3.tgz#0b2502cacca8977f2ae95283d944771040eb7869"
|
|
2072
|
+
integrity sha512-lPNFHjHFeC4V3KuH88xuVLGhAqmtM8meUcvyejNh8bQ5w642APKRTGDZ0pOnWHJAe5SQy7cSQ1WqvO3V73ouQw==
|
|
2073
2073
|
dependencies:
|
|
2074
2074
|
"@jsforce/jsforce-node" "^3.10.13"
|
|
2075
2075
|
"@salesforce/kit" "^3.2.4"
|
|
@@ -3413,17 +3413,7 @@ ajv@^6.12.4:
|
|
|
3413
3413
|
json-schema-traverse "^0.4.1"
|
|
3414
3414
|
uri-js "^4.2.2"
|
|
3415
3415
|
|
|
3416
|
-
ajv@^8.11.0:
|
|
3417
|
-
version "8.17.1"
|
|
3418
|
-
resolved "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz"
|
|
3419
|
-
integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==
|
|
3420
|
-
dependencies:
|
|
3421
|
-
fast-deep-equal "^3.1.3"
|
|
3422
|
-
fast-uri "^3.0.1"
|
|
3423
|
-
json-schema-traverse "^1.0.0"
|
|
3424
|
-
require-from-string "^2.0.2"
|
|
3425
|
-
|
|
3426
|
-
ajv@^8.18.0:
|
|
3416
|
+
ajv@^8.11.0, ajv@^8.18.0:
|
|
3427
3417
|
version "8.18.0"
|
|
3428
3418
|
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.18.0.tgz#8864186b6738d003eb3a933172bb3833e10cefbc"
|
|
3429
3419
|
integrity sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==
|
|
@@ -7609,10 +7599,10 @@ minimatch@9.0.3:
|
|
|
7609
7599
|
dependencies:
|
|
7610
7600
|
brace-expansion "^2.0.1"
|
|
7611
7601
|
|
|
7612
|
-
minimatch@^10.0.3, minimatch@^10.2.
|
|
7613
|
-
version "10.2.
|
|
7614
|
-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.2.
|
|
7615
|
-
integrity sha512
|
|
7602
|
+
minimatch@^10.0.3, minimatch@^10.2.4:
|
|
7603
|
+
version "10.2.4"
|
|
7604
|
+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.2.4.tgz#465b3accbd0218b8281f5301e27cedc697f96fde"
|
|
7605
|
+
integrity sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==
|
|
7616
7606
|
dependencies:
|
|
7617
7607
|
brace-expansion "^5.0.2"
|
|
7618
7608
|
|
|
@@ -8076,10 +8066,10 @@ p-limit@^3.0.2, p-limit@^3.1.0:
|
|
|
8076
8066
|
dependencies:
|
|
8077
8067
|
yocto-queue "^0.1.0"
|
|
8078
8068
|
|
|
8079
|
-
p-limit@^7.
|
|
8080
|
-
version "7.
|
|
8081
|
-
resolved "https://registry.
|
|
8082
|
-
integrity sha512-
|
|
8069
|
+
p-limit@^7.3.0:
|
|
8070
|
+
version "7.3.0"
|
|
8071
|
+
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-7.3.0.tgz#821398d91491c6b6a1340ecd09cdc402a9c8d0ee"
|
|
8072
|
+
integrity sha512-7cIXg/Z0M5WZRblrsOla88S4wAK+zOQQWeBYfV3qJuJXMr+LnbYjaadrFaS0JILfEDPVqHyKnZ1Z/1d6J9VVUw==
|
|
8083
8073
|
dependencies:
|
|
8084
8074
|
yocto-queue "^1.2.1"
|
|
8085
8075
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sf-decomposer",
|
|
3
3
|
"description": "Split large Salesforce metadata files into version-control-friendly pieces and rebuild deployment-ready files.",
|
|
4
|
-
"version": "6.0
|
|
4
|
+
"version": "6.1.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@oclif/core": "^4",
|
|
7
|
-
"@salesforce/core": "^8.
|
|
7
|
+
"@salesforce/core": "^8.26.3",
|
|
8
8
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
|
9
9
|
"@salesforce/source-deploy-retrieve": "^12.31.14",
|
|
10
10
|
"fs-extra": "^11.3.3",
|
|
11
|
-
"p-limit": "^7.
|
|
11
|
+
"p-limit": "^7.3.0",
|
|
12
12
|
"xml-disassembler": "^2.2.2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@commitlint/cli": "^20.4.2",
|
|
16
|
-
"@commitlint/config-conventional": "^20.4.
|
|
17
|
-
"@oclif/plugin-command-snapshot": "^5.3.
|
|
16
|
+
"@commitlint/config-conventional": "^20.4.2",
|
|
17
|
+
"@oclif/plugin-command-snapshot": "^5.3.10",
|
|
18
18
|
"@salesforce/cli-plugins-testkit": "^5.3.39",
|
|
19
19
|
"@salesforce/dev-scripts": "^11",
|
|
20
20
|
"@types/fs-extra": "^11.0.4",
|