contentful-import 10.1.0 → 10.1.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/dist/index.js CHANGED
@@ -1000,7 +1000,8 @@ async function importExoFolders({
1000
1000
  }
1001
1001
  const parentGroups = await ensureParentFolderGroupsExist(plainClient, organizationId);
1002
1002
  if (parentGroups.size === 0) {
1003
- return Promise.reject(new Error("One or more ExO folder group concept schemes are missing in the destination org. Please create them before importing."));
1003
+ import_logging8.logEmitter.emit("warn", "One or more Experience Orchestration folder group concept schemes are missing in the destination organization. Please create them before importing.");
1004
+ return;
1004
1005
  }
1005
1006
  const childConceptMap = deriveChildConceptMap(sourceEntities, destinationSpaceId);
1006
1007
  if (childConceptMap.size === 0) return;
package/dist/index.mjs CHANGED
@@ -973,7 +973,8 @@ async function importExoFolders({
973
973
  }
974
974
  const parentGroups = await ensureParentFolderGroupsExist(plainClient, organizationId);
975
975
  if (parentGroups.size === 0) {
976
- return Promise.reject(new Error("One or more ExO folder group concept schemes are missing in the destination org. Please create them before importing."));
976
+ logEmitter8.emit("warn", "One or more Experience Orchestration folder group concept schemes are missing in the destination organization. Please create them before importing.");
977
+ return;
977
978
  }
978
979
  const childConceptMap = deriveChildConceptMap(sourceEntities, destinationSpaceId);
979
980
  if (childConceptMap.size === 0) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentful-import",
3
- "version": "10.1.0",
3
+ "version": "10.1.1",
4
4
  "description": "this tool allows you to import JSON dump exported by contentful-export",
5
5
  "main": "dist/index.mjs",
6
6
  "typings": "dist/index.d.ts",