Skip to content

Commit

Permalink
Remove unused addons and upgrade TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Aug 29, 2024
1 parent 0a791dc commit 2ae3e82
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 904 deletions.
17 changes: 3 additions & 14 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
module.exports = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@chromatic-com/storybook",
],
addons: ["@chromatic-com/storybook"],
framework: "@storybook/react-vite",
managerEntries: [__dirname + "/../src/manager.ts"],
previewAnnotations: [__dirname + "/../src/preview.ts"],
framework: {
name: "@storybook/react-vite",
options: {},
},
docs: {
docsPage: true,
},
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
},
"devDependencies": {
"@chromatic-com/storybook": "^1.7.0",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@types/node": "^18.19.0",
"@vitejs/plugin-react": "^4.3.1",
Expand All @@ -69,7 +66,7 @@
"react-dom": "^18.2.0",
"storybook": "^8.2.9",
"tsup": "^8.0.1",
"typescript": "^4.9.4",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"vitest": "^2.0.5"
},
Expand Down
Loading

0 comments on commit 2ae3e82

Please sign in to comment.