Skip to content

Commit

Permalink
try to fix storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Tilsch committed May 31, 2024
1 parent f51ec14 commit 6ea73f9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
10 changes: 10 additions & 0 deletions apps/exhibition-live/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const config: StorybookConfig = {
"../components/**/*.mdx",
"../components/**/*.stories.@(js|jsx|ts|tsx)",
"../../../packages/**/*.stories.@(js|jsx|ts|tsx)",
"../../../packages/**/*.mdx",
],

addons: [
Expand Down Expand Up @@ -35,6 +36,15 @@ const config: StorybookConfig = {
},
],
});
config.resolve = {
...config.resolve,
fallback: {
...(config.resolve || {}).fallback,
fs: false,
stream: false,
os: false,
},
};
return config;
},
/*
Expand Down
14 changes: 7 additions & 7 deletions apps/exhibition-live/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@
"@graphql-codegen/typescript-resolvers": "^3.0.0",
"@jest/globals": "^29.3.1",
"@next/bundle-analyzer": "^14.2.3",
"@storybook/addon-docs": "^8.0.10",
"@storybook/addon-essentials": "^8.0.10",
"@storybook/addon-links": "^8.0.10",
"@storybook/addon-docs": "^8.1.5",
"@storybook/addon-essentials": "^8.1.5",
"@storybook/addon-links": "^8.1.5",
"storybook-addon-next-router": "^4.0.2",
"@storybook/blocks": "^8.0.10",
"@storybook/nextjs": "^8.0.10",
"@storybook/react": "^8.0.10",
"@storybook/blocks": "^8.1.5",
"@storybook/nextjs": "^8.1.5",
"@storybook/react": "^8.1.5",
"@storybook/storybook-deployer": "^2.8.16",
"@storybook/testing-react": "^2.0.1",
"@types/dot": "^1.1.6",
Expand Down Expand Up @@ -192,7 +192,7 @@
"process": "^0.11.10",
"safe-identifier": "^0.4.2",
"sass": "^1.68.0",
"storybook": "^8.0.10",
"storybook": "^8.1.5",
"stream-browserify": "^3.0.0",
"tbbt-ld": "^1.1.0",
"ts-jest": "^29.0.5",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, Canvas } from "@storybook/blocks";
import SemanticJSONFormNoOpsStories from "./SemanticJSONFormNoOps.stories";

import * as SemanticJSONFormNoOpsStories from "./SemanticJSONFormNoOps.stories";

<Meta of={SemanticJSONFormNoOpsStories} />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { JSONSchema7 } from "json-schema";
import { useMemo, useState } from "react";
import { useState } from "react";
import type { Meta } from "@storybook/react";

import { useExtendedSchema } from "@slub/edb-state-hooks";
Expand Down

0 comments on commit 6ea73f9

Please sign in to comment.