vibe-design-system 2.4.8 → 2.4.9

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/bin/init.js CHANGED
@@ -36,12 +36,17 @@ export default config;
36
36
  `;
37
37
 
38
38
  const STORYBOOK_PREVIEW_TS = `import type { Preview } from "@storybook/react";
39
+ import React from "react";
40
+ import { MemoryRouter } from "react-router-dom";
39
41
  import "../src/index.css";
40
42
 
41
43
  const preview: Preview = {
42
44
  parameters: {
43
- layout: "centered",
45
+ layout: "fullscreen",
44
46
  },
47
+ decorators: [
48
+ (Story) => React.createElement(MemoryRouter, null, React.createElement(Story, null)),
49
+ ],
45
50
  };
46
51
 
47
52
  export default preview;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-design-system",
3
- "version": "2.4.8",
3
+ "version": "2.4.9",
4
4
  "description": "Auto-generate design systems for vibe coding projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -908,7 +908,6 @@ function main() {
908
908
  }
909
909
 
910
910
  for (const comp of components) {
911
- if (comp.file && comp.file.startsWith("pages/")) continue;
912
911
  const componentName = toSafeComponentName(comp.name, comp.file);
913
912
  if (onlyName && componentName !== onlyName) continue;
914
913
  if (SKIP_LIST.includes(componentName)) continue;