Skip to content

Commit

Permalink
upgrade to storybook 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Sep 19, 2023
1 parent b7a06e5 commit d9c0b88
Show file tree
Hide file tree
Showing 8 changed files with 5,115 additions and 5,956 deletions.
5 changes: 4 additions & 1 deletion examples/babel/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
console.log(globalThis.__coverage__)
export const decorators = [(StoryFn) => {
console.log(globalThis.__coverage__)
return StoryFn()
}]

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
Expand Down
14 changes: 7 additions & 7 deletions examples/babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"webpack-dev-server": "latest"
},
"devDependencies": {
"@storybook/addon-essentials": "^7.0.0-rc.5",
"@storybook/addon-interactions": "^7.0.0-rc.5",
"@storybook/addon-essentials": "^7.4.2",
"@storybook/addon-interactions": "^7.4.2",
"@storybook/addon-coverage": "link:../..",
"@storybook/test-runner": "^0.10.0-next.11",
"@storybook/react": "^7.0.0-rc.5",
"@storybook/react-webpack5": "^7.0.0-rc.5",
"@storybook/testing-library": "^0.0.14-next.1",
"storybook": "^7.0.0-rc.5"
"@storybook/test-runner": "^0.13.0",
"@storybook/react": "^7.4.2",
"@storybook/react-webpack5": "^7.4.2",
"@storybook/testing-library": "^0.2.1",
"storybook": "^7.4.2"
}
}
4,033 changes: 2,637 additions & 1,396 deletions examples/babel/yarn.lock

Large diffs are not rendered by default.

15 changes: 0 additions & 15 deletions examples/vite/.storybook/main.cjs

This file was deleted.

3 changes: 0 additions & 3 deletions examples/vite/.storybook/preview-head.html

This file was deleted.

5 changes: 4 additions & 1 deletion examples/vite/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
console.log(globalThis.__coverage__)
export const decorators = [(StoryFn) => {
console.log(globalThis.__coverage__)
return StoryFn()
}]

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
Expand Down
14 changes: 7 additions & 7 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@storybook/addon-essentials": "7.0.0-rc.5",
"@storybook/addon-interactions": "7.0.0-rc.5",
"@storybook/addon-essentials": "7.4.2",
"@storybook/addon-interactions": "7.4.2",
"@storybook/addon-coverage": "link:../..",
"@storybook/react": "7.0.0-rc.5",
"@storybook/react-vite": "7.0.0-rc.5",
"@storybook/test-runner": "^0.10.0-next.11",
"@storybook/testing-library": "^0.0.14-next.1",
"@storybook/react": "7.4.2",
"@storybook/react-vite": "7.4.2",
"@storybook/test-runner": "^0.13.0",
"@storybook/testing-library": "^0.2.1",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^2.1.0",
"storybook": "7.0.0-rc.5",
"storybook": "7.4.2",
"typescript": "^4.6.4",
"vite": "^4.2.1"
}
Expand Down
6,982 changes: 2,456 additions & 4,526 deletions examples/vite/yarn.lock

Large diffs are not rendered by default.

0 comments on commit d9c0b88

Please sign in to comment.