Skip to content

Commit

Permalink
Update storybook and pin nuxt module version
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Oct 9, 2024
1 parent 424702c commit 91443f4
Show file tree
Hide file tree
Showing 4 changed files with 856 additions and 3,051 deletions.
2 changes: 1 addition & 1 deletion frontend/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { StorybookConfig } from "@storybook-vue/nuxt"

const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
stories: ["../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
Expand Down
9 changes: 9 additions & 0 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,13 @@ export default defineNuxtConfig({
trailingSlash: false,
vueI18n: "./src/vue-i18n",
},
/**
* Workaround for https://github.com/nuxt-modules/storybook/issues/776
* TODO: remove after Storybook v8.4 is released.
*/
vite: {
optimizeDeps: {
include: ["jsdoc-type-pratt-parser"],
},
},
})
20 changes: 10 additions & 10 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@
"@babel/parser": "^7.24.8",
"@nuxt/test-utils": "^3.14.1",
"@nuxtjs/i18n": "8.5.5",
"@nuxtjs/storybook": "npm:@nuxtjs/storybook@nightly",
"@nuxtjs/storybook": "8.3.1",
"@playwright/test": "1.46.1",
"@storybook-vue/nuxt": "npm:@storybook-vue/nuxt@nightly",
"@storybook-vue/nuxt": "8.3.1",
"@testing-library/user-event": "^14.5.2",
"@testing-library/vue": "^8.1.0",
"@vitest/coverage-v8": "^2.0.5",
Expand All @@ -112,14 +112,14 @@
"vue": "3.5.0",
"vue-router": "^4.4.0",
"vue-tsc": "2.1.4",
"storybook": "8.2.9",
"@storybook/vue3": "8.2.9",
"@storybook/addon-links": "8.2.9",
"@storybook/builder-vite": "8.2.9",
"@storybook/addon-essentials": "8.2.9",
"@storybook/addon-interactions": "8.2.9",
"@storybook/test": "8.2.9",
"@storybook/blocks": "8.2.9"
"storybook": "8.3.5",
"@storybook/vue3": "8.3.5",
"@storybook/addon-links": "8.3.5",
"@storybook/builder-vite": "8.3.5",
"@storybook/addon-essentials": "8.3.5",
"@storybook/addon-interactions": "8.3.5",
"@storybook/test": "8.3.5",
"@storybook/blocks": "8.3.5"
},
"browserslist": [
"> 1%",
Expand Down
Loading

0 comments on commit 91443f4

Please sign in to comment.