vibe-design-system 1.9.8 → 1.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-design-system",
3
- "version": "1.9.8",
3
+ "version": "1.9.9",
4
4
  "description": "Auto-generate design systems for vibe coding projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,6 +28,7 @@ const CLI_LOCALE = (process.env.VDS_LOCALE === "tr" ? "tr" : "en");
28
28
  const cliT = (key, n) => CLI_LOCALES[CLI_LOCALE][key].replace("{n}", String(n));
29
29
  const SRC_DIR = path.join(PROJECT_ROOT, "src");
30
30
  const COMPONENTS_DIR = path.join(PROJECT_ROOT, "src", "components");
31
+ const PAGES_DIR = path.join(PROJECT_ROOT, "src", "pages");
31
32
  const OUTPUT_FILE = path.join(PROJECT_ROOT, "vds-output.json");
32
33
  const PUBLIC_MANIFEST = path.join(PROJECT_ROOT, "public", "vds-output.json");
33
34
  const HISTORY_FILE = path.join(PROJECT_ROOT, "vds-history.json");
@@ -646,6 +647,23 @@ function scan() {
646
647
  const tokens = extractTailwindTokens(content);
647
648
  results.push({ file: rel, name, group, category, description, tokens });
648
649
  }
650
+ if (fs.existsSync(PAGES_DIR)) {
651
+ const pageFiles = getAllComponentFiles(PAGES_DIR);
652
+ for (const rel of pageFiles) {
653
+ const fullPath = path.join(PAGES_DIR, rel);
654
+ const content = fs.readFileSync(fullPath, "utf-8");
655
+ const name = humanizeName(rel);
656
+ const tokens = extractTailwindTokens(content);
657
+ results.push({
658
+ file: "pages/" + rel,
659
+ name,
660
+ group: "Sections",
661
+ category: "Pages",
662
+ description: "",
663
+ tokens,
664
+ });
665
+ }
666
+ }
649
667
  const foundations = extractFoundations();
650
668
  foundations.icons = extractLucideIconsUsed(SRC_DIR);
651
669
  foundations.brand = { assets: extractBrandAssets() };