Skip to content

Commit

Permalink
chore: move storybook related files from src folder to .storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-risen committed Jan 5, 2024
1 parent f735a64 commit 1fe62da
Show file tree
Hide file tree
Showing 28 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const CopyPlugin = require("copy-webpack-plugin");
const path = require("path");

const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
stories: ["./stories/**/*.mdx", "./stories/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions"],
staticDirs: ["./public"],
framework: {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { ChartUsageWithTypescript as ChartUsageWithTypescriptRenderer } from "./
import { ChartWith3dSurface as ChartWith3dSurfaceRenderer } from "./DocExamples/ChartWith3dSurface";
import { ChartWithPieSurface as ChartWithPieSurfaceRenderer } from "./DocExamples/ChartWithPieSurface";
import { SciChart3DSurface, SciChartSurface } from "scichart";
import { SciChartReact } from "../SciChart";
import { SciChartReact } from "../../src/SciChart";
import { Title, Subtitle, Description, Primary, Controls, Stories, ArgTypes } from "@storybook/blocks";

SciChartSurface.useWasmFromCDN();
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@
// "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
"baseUrl": "./" /* Specify the base directory to resolve non-relative module names. */,
"paths": {
"scichart-react": ["../"]
"scichart-react": ["../../src"]
} /* Specify a set of entries that re-map imports to additional lookup locations. */,
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
"typeRoots": [
"./src/types",
"./node_modules/@types",
".src/stories/raw-loader.d.ts"
"../../node_modules/@types",
"./raw-loader.d.ts"
] /* Specify multiple folders that act like './node_modules/@types'. */,
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
Expand Down

0 comments on commit 1fe62da

Please sign in to comment.