Skip to content

Commit

Permalink
chore: disabled components that are not working
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Apr 8, 2024
1 parent a90c3df commit 26cac39
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/ui/tools/generator_storybook.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ import { fileURLToPath } from "url";

import * as core from "./core.mjs";

const IGNORE_COMPONENT_TYPES = [
"root",
"page",
"tab",
"tabs",
"column",
"columns",
"step",
"steps",
"html",
"repeater",
];

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

Expand Down Expand Up @@ -209,6 +222,9 @@ export async function generate() {
const components = await loadComponents();

for (const component of components) {
if (IGNORE_COMPONENT_TYPES.includes(component.type)) {
continue;
}
component.nameTrim = component.name.replaceAll(/\s/g, "");
const name = path.basename(component.fileRef, ".vue");
const mod = component.fileRef.split("/").slice(-2, -1)[0];
Expand Down

0 comments on commit 26cac39

Please sign in to comment.