Skip to content

Commit

Permalink
feat(libs): update patch and minor version of deprecated packages#663)
Browse files Browse the repository at this point in the history
* Upgrade storybook v7 -> v8

* feat(libs): update patch and minor version of deprecated packages
  • Loading branch information
ehsan-github authored Aug 27, 2024
1 parent c70402d commit 1bb237c
Show file tree
Hide file tree
Showing 8 changed files with 2,823 additions and 5,361 deletions.
15 changes: 13 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,30 @@ const config: StorybookConfig = {
: [],
});
},

stories: [
'../src/**/*/stories.@(ts|tsx)',
'../src/**/*.stories.@(js|jsx|ts|tsx)',
],

addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'storybook-dark-mode',
'@chromatic-com/storybook',
],

core: {
builder: '@storybook/builder-vite',
},

framework: '@storybook/react-vite',
docs: {
autodocs: true,

docs: {},

typescript: {
reactDocgen: 'react-docgen-typescript',
},
};
export default config;
9 changes: 2 additions & 7 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@ import { ChakraThemeProvider } from '../src/chakra';
import ThemeProvider from '../src/theme/ThemeProvider';

export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
layout: 'centered',
controls: { expanded: true },
docs: {
container: (props) => (
<DocsContainer
{...props}
theme={useDarkMode() ? themes.dark : themes.light}
/>
),
container: DocsContainer,
},
darkMode: {
dark: themes.dark,
Expand All @@ -38,3 +32,4 @@ export const decorators = [
</>
),
];
export const tags = ['autodocs'];
79 changes: 40 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@
"@chakra-ui/anatomy": "^2.2.2",
"@chakra-ui/react": "^2.8.2",
"@chakra-ui/styled-system": "^2.9.2",
"@codemirror/autocomplete": "^6.16.3",
"@codemirror/view": "^6.28.2",
"@codemirror/autocomplete": "^6.18.0",
"@codemirror/view": "^6.33.0",
"@emotion/core": "^10.3.1",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@rebass/forms": "^4.0.6",
"@styled-system/css": "^5.1.5",
"@tanem/react-nprogress": "^5.0.51",
"@tanstack/react-table": "^8.17.3",
"@uiw/codemirror-extensions-langs": "^4.22.2",
"@uiw/codemirror-theme-darcula": "^4.22.2",
"@uiw/react-codemirror": "^4.22.2",
"chakra-react-select": "^4.8.0",
"@tanstack/react-table": "^8.20.5",
"@uiw/codemirror-extensions-langs": "^4.23.0",
"@uiw/codemirror-theme-darcula": "^4.23.0",
"@uiw/react-codemirror": "^4.23.0",
"chakra-react-select": "^4.9.1",
"date-fns": "^3.6.0",
"emotion-theming": "^10.3.0",
"ramda": "^0.28.0",
Expand All @@ -79,40 +79,41 @@
},
"devDependencies": {
"@chakra-ui/cli": "^2.4.1",
"@playwright/experimental-ct-react": "^1.44.1",
"@chromatic-com/storybook": "^1.7.0",
"@playwright/experimental-ct-react": "^1.46.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.6",
"@semantic-release/npm": "^11.0.3",
"@semantic-release/release-notes-generator": "^12.1.0",
"@storybook/addon-actions": "^7.6.20",
"@storybook/addon-docs": "^7.6.20",
"@storybook/addon-essentials": "^7.6.20",
"@storybook/addon-interactions": "^7.6.20",
"@storybook/addon-links": "^7.6.20",
"@storybook/core-common": "^7.6.20",
"@storybook/csf-tools": "^7.6.20",
"@storybook/instrumenter": "^7.6.20",
"@storybook/jest": "^0.2.3",
"@storybook/node-logger": "^7.6.20",
"@storybook/react": "^7.6.20",
"@storybook/react-vite": "^7.6.20",
"@storybook/test-runner": "^0.17.0",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^7.6.20",
"@storybook/types": "^7.6.20",
"@types/node": "^20.14.8",
"@storybook/addon-actions": "^8.2.9",
"@storybook/addon-docs": "^8.2.9",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/builder-vite": "^8.2.9",
"@storybook/core-common": "^8.2.9",
"@storybook/csf-tools": "^8.2.9",
"@storybook/instrumenter": "^8.2.9",
"@storybook/node-logger": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@storybook/test": "^8.2.9",
"@storybook/test-runner": "^0.19.1",
"@storybook/theming": "^8.2.9",
"@storybook/types": "^8.2.9",
"@types/node": "^20.16.1",
"@types/ramda": "^0.28.25",
"@types/react": "^18.3.3",
"@types/react": "^18.3.4",
"@types/react-datepicker": "^6.2.0",
"@types/react-dom": "^18.3.0",
"@types/rebass": "^4.0.14",
"@types/rebass__forms": "^4.0.10",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^4.3.1",
"chromatic": "^11.5.4",
"chromatic": "^11.7.1",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
Expand All @@ -122,20 +123,20 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.23.1",
"react-router-dom": "^6.26.1",
"semantic-release": "23.1.1",
"storybook": "^7.6.20",
"storybook-dark-mode": "^3.0.3",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"storybook": "^8.2.9",
"storybook-dark-mode": "^4.0.2",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"vite-plugin-css-injected-by-js": "^3.5.1",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-svgr": "^4.2.0",
Expand Down
Loading

0 comments on commit 1bb237c

Please sign in to comment.