sb-mig 5.0.7-beta.2 → 5.0.7-beta.3

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.
@@ -188,8 +188,9 @@ export const doTheMigration = async ({ itemType = "story", from, itemsToMigrate,
188
188
  const notNullMigratedItems = migratedItems.filter((item) => item);
189
189
  // Saving result with migrated version of stories into file
190
190
  await createAndSaveToFile({
191
- ext: "cjs",
192
- filename: `${from}---migrated`,
191
+ datestamp: true,
192
+ ext: "json",
193
+ filename: `${from}---to-migrate`,
193
194
  folder: "migrations",
194
195
  res: notNullMigratedItems,
195
196
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sb-mig",
3
- "version": "5.0.7-beta.2",
3
+ "version": "5.0.7-beta.3",
4
4
  "description": "CLI to rule the world. (and handle stuff related to Storyblok CMS)",
5
5
  "author": "Marcin Krawczyk <marckraw@icloud.com>",
6
6
  "license": "MIT",