@rockcarver/frodo-cli 3.0.6 → 3.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/dist/app.cjs CHANGED
@@ -174694,10 +174694,9 @@ async function exportJourneyToFile(journeyId, file, includeMeta = true, options
174694
174694
  journeyId,
174695
174695
  options
174696
174696
  );
174697
- delete fileData.meta;
174698
174697
  if (verbose)
174699
174698
  spinnerId = createProgressIndicator2("indeterminate", 0, `${journeyId}`);
174700
- saveJsonToFile23({ trees: { [fileData.tree._id]: fileData } }, filePath, includeMeta);
174699
+ saveJsonToFile23(fileData, filePath, includeMeta);
174701
174700
  stopProgressIndicator2(
174702
174701
  spinnerId,
174703
174702
  `Exported ${journeyId["brightCyan"]} to ${filePath["brightCyan"]}.`,
@@ -174751,9 +174750,10 @@ async function exportJourneysToFiles(includeMeta = true, options = {
174751
174750
  `Saving ${treeId}...`
174752
174751
  );
174753
174752
  const file = getFilePath23(getTypedFilename22(`${treeId}`, "journey"), true);
174753
+ treeValue["meta"] = journeysExport.meta;
174754
174754
  try {
174755
174755
  updateProgressIndicator2(indicatorId, `Saving ${treeId} to ${file}`);
174756
- saveJsonToFile23({ trees: { [treeValue.tree._id]: treeValue } }, file, includeMeta);
174756
+ saveJsonToFile23(treeValue, file, includeMeta);
174757
174757
  stopProgressIndicator2(indicatorId, `${treeId} saved to ${file}`);
174758
174758
  } catch (error2) {
174759
174759
  stopProgressIndicator2(indicatorId, `Error saving ${treeId} to ${file}`);
@@ -181438,7 +181438,7 @@ var compareVersions = (v12, v2) => {
181438
181438
  // package.json
181439
181439
  var package_default2 = {
181440
181440
  name: "@rockcarver/frodo-cli",
181441
- version: "3.0.6",
181441
+ version: "3.1.0",
181442
181442
  type: "module",
181443
181443
  description: "A command line interface to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.",
181444
181444
  keywords: [