@theholocron/cli 3.22.1 → 3.23.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/cli.mjs CHANGED
@@ -3302,7 +3302,10 @@ async function runSetup(input) {
3302
3302
  }
3303
3303
  const storybookProjects = raw["storybook"];
3304
3304
  if (Array.isArray(storybookProjects)) {
3305
- for (const s of storybookProjects) if (typeof s.path === "string" && s.path !== "." && s.path !== "") paths.push(`${s.path}/**`);
3305
+ for (const s of storybookProjects) if (typeof s.path === "string" && s.path !== "") if (s.path === ".") {
3306
+ paths.push("src/**");
3307
+ paths.push(".storybook/**");
3308
+ } else paths.push(`${s.path}/**`);
3306
3309
  }
3307
3310
  return paths;
3308
3311
  }