Skip to content

Commit

Permalink
Chore(deps): Update Storybook to version 8.2.5 (#1198)
Browse files Browse the repository at this point in the history
* chore: Format some files

* chore(deps): Upgrade storybook to 8.2.5
  • Loading branch information
drikusroor authored Jul 24, 2024
1 parent fe63a2a commit 584201f
Show file tree
Hide file tree
Showing 6 changed files with 2,619 additions and 6,393 deletions.
2 changes: 1 addition & 1 deletion backend/DockerfileDevelop
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ RUN apt-get -y update && apt-get install -y ffmpeg gettext

WORKDIR /server
COPY requirements/dev.txt /server/
RUN pip install -r dev.txt
RUN pip install -r dev.txt
6,422 changes: 1,985 additions & 4,437 deletions frontend/.pnp.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function getAbsolutePath(value) {

/** @type { import('@storybook/react-vite').StorybookConfig } */
const config = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
stories: ["../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],

addons: [
getAbsolutePath("@storybook/addon-onboarding"),
Expand Down
22 changes: 11 additions & 11 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"test": "vitest",
"test:ci": "vitest --watch=false --coverage",
"generate-badge": "coverage-badges -s coverage/coverage-summary.json -o coverage-frontend-badge-new.svg --label 'Frontend Code Coverage'",
"storybook": "storybook dev -p 6006",
"storybook": "storybook dev -p 6006 --no-open",
"storybook:build": "storybook build",
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
"lint:fix": "eslint --fix src/**/*.js",
Expand Down Expand Up @@ -70,15 +70,15 @@
]
},
"devDependencies": {
"@chromatic-com/storybook": "^1.6.0",
"@storybook/addon-essentials": "^8.1.11",
"@storybook/addon-interactions": "^8.1.11",
"@storybook/addon-links": "^8.1.11",
"@storybook/addon-onboarding": "^8.1.11",
"@storybook/blocks": "^8.1.11",
"@storybook/react": "^8.1.11",
"@storybook/react-vite": "^8.1.11",
"@storybook/test": "^8.1.11",
"@chromatic-com/storybook": "^1.6.1",
"@storybook/addon-essentials": "^8.2.5",
"@storybook/addon-interactions": "^8.2.5",
"@storybook/addon-links": "^8.2.5",
"@storybook/addon-onboarding": "^8.2.5",
"@storybook/blocks": "^8.2.5",
"@storybook/react": "^8.2.5",
"@storybook/react-vite": "^8.2.5",
"@storybook/test": "^8.2.5",
"@testing-library/dom": "^10.2.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.1",
Expand All @@ -98,7 +98,7 @@
"happy-dom": "^12.10.3",
"history": "^5.3.0",
"prop-types": "15.8.1",
"storybook": "^8.1.11",
"storybook": "^8.2.5",
"vitest": "^1.4.0"
}
}
28 changes: 14 additions & 14 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ import react from '@vitejs/plugin-react'
import tsconfigPaths from 'vite-tsconfig-paths'

export default defineConfig({
plugins: [react(), tsconfigPaths()],
server: {
host: '0.0.0.0',
port: 3000,
strictPort: true,
},
build: {
outDir: 'build',
sourcemap: true,
},
resolve: {
alias: {
'@/': '/src/',
plugins: [react(), tsconfigPaths()],
server: {
host: '0.0.0.0',
port: 3000,
strictPort: true,
},
build: {
outDir: 'build',
sourcemap: true,
},
resolve: {
alias: {
'@/': '/src/',
},
},
},
})
Loading

0 comments on commit 584201f

Please sign in to comment.