Skip to content

Commit

Permalink
feat: Update storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne committed May 15, 2024
1 parent c2f8f27 commit af463c5
Show file tree
Hide file tree
Showing 3 changed files with 1,289 additions and 311 deletions.
6 changes: 1 addition & 5 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import type { StorybookConfig } from "@storybook/nextjs";
import { dirname, join, resolve } from "path";

// @ts-ignore

/**
* This function is used to resolve the absolute path of a package.
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
Expand All @@ -22,9 +20,7 @@ const config: StorybookConfig = {
name: getAbsolutePath("@storybook/nextjs"),
options: {},
},
docs: {
autodocs: "tag",
},
docs: {},
webpackFinal: async (config) => {
if (!config.resolve) {
config.resolve = {};
Expand Down
5 changes: 3 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"@rdfjs/namespace": "^2.0.1",
"@reach/auto-id": "^0.15.3",
"@sentry/nextjs": "^7.112.2",
"@storybook/nextjs": "^8.0.9",
"@storybook/nextjs": "^8.1.0",
"@storybook/react-vite": "^8.1.0",
"@testing-library/react-hooks": "^8.0.1",
"@tpluscode/rdf-ns-builders": "2.0.1",
"@tpluscode/sparql-builder": "^0.3.31",
Expand Down Expand Up @@ -101,7 +102,7 @@
"react-window": "^1.8.10",
"simple-statistics": "^7.6.0",
"sparql-http-client": "^2.4.1",
"storybook": "^8.0.9",
"storybook": "^8.1.0",
"superjson": "^1.11.0",
"topojson-client": "^3.1.0",
"topojson-server": "^3.0.1",
Expand Down
Loading

0 comments on commit af463c5

Please sign in to comment.