sb-mig 4.1.0-beta.13 → 4.1.0-beta.14

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.
@@ -15,8 +15,14 @@ export const discover = async (props) => {
15
15
  Logger.log(`Syncing ALL components with ${storyblokConfig.schemaFileExt} extension...`);
16
16
  const allComponents = discoverAllComponents();
17
17
  const content = [
18
- ...allComponents.local.map((component) => component.name.replaceAll(".sb.js", "")),
19
- ...allComponents.external.map((component) => component.name.replaceAll(".sb.js", "")),
18
+ ...allComponents.local.map((component) => component.name
19
+ .replaceAll(".sb.js", "")
20
+ .replaceAll(".sb.cjs", "")
21
+ .replaceAll(".sb.mjs", "")),
22
+ ...allComponents.external.map((component) => component.name
23
+ .replaceAll(".sb.js", "")
24
+ .replaceAll(".sb.cjs", "")
25
+ .replaceAll(".sb.mjs", "")),
20
26
  ];
21
27
  Logger.success("#### Discovered components ####");
22
28
  console.log(content);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sb-mig",
3
- "version": "4.1.0-beta.13",
3
+ "version": "4.1.0-beta.14",
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",