mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-06-29 17:33:08 +03:00
chore(deps): update storybook monorepo to v9 (major) (#1876)
* chore(deps): update storybook monorepo to v9 * Updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
This commit is contained in:
parent
4b35476610
commit
832f4dc195
|
@ -11,26 +11,11 @@ function getAbsolutePath(value: string): any {
|
||||||
}
|
}
|
||||||
const config: StorybookConfig = {
|
const config: StorybookConfig = {
|
||||||
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
||||||
addons: [
|
addons: [getAbsolutePath('@storybook/addon-onboarding')],
|
||||||
getAbsolutePath('@storybook/addon-webpack5-compiler-swc'),
|
|
||||||
getAbsolutePath('@storybook/addon-onboarding'),
|
|
||||||
getAbsolutePath('@storybook/addon-links'),
|
|
||||||
{
|
|
||||||
name: getAbsolutePath('@storybook/addon-essentials'),
|
|
||||||
options: {
|
|
||||||
backgrounds: false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
getAbsolutePath('@chromatic-com/storybook'),
|
|
||||||
getAbsolutePath('@storybook/addon-interactions'),
|
|
||||||
],
|
|
||||||
framework: {
|
framework: {
|
||||||
name: getAbsolutePath('@storybook/react-webpack5'),
|
name: getAbsolutePath('@storybook/react-vite'),
|
||||||
options: {},
|
options: {},
|
||||||
},
|
},
|
||||||
docs: {
|
|
||||||
autodocs: 'tag',
|
|
||||||
},
|
|
||||||
staticDirs: ['../fonts'],
|
staticDirs: ['../fonts'],
|
||||||
};
|
};
|
||||||
export default config;
|
export default config;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import type { Preview } from '@storybook/react';
|
import type { Preview } from '@storybook/react-vite';
|
||||||
|
|
||||||
import { Container } from '../src';
|
import { Container } from '../src';
|
||||||
import { listSchemes, listThemes } from '../src/utils/theme';
|
import { listSchemes, listThemes } from '../src/utils/theme';
|
||||||
|
|
|
@ -64,16 +64,8 @@
|
||||||
"@babel/preset-env": "^7.27.2",
|
"@babel/preset-env": "^7.27.2",
|
||||||
"@babel/preset-react": "^7.27.1",
|
"@babel/preset-react": "^7.27.1",
|
||||||
"@babel/preset-typescript": "^7.27.1",
|
"@babel/preset-typescript": "^7.27.1",
|
||||||
"@chromatic-com/storybook": "^3.2.6",
|
"@storybook/addon-onboarding": "^9.0.2",
|
||||||
"@storybook/addon-essentials": "^8.6.14",
|
"@storybook/react-vite": "^9.0.2",
|
||||||
"@storybook/addon-interactions": "^8.6.14",
|
|
||||||
"@storybook/addon-links": "^8.6.14",
|
|
||||||
"@storybook/addon-onboarding": "^8.6.14",
|
|
||||||
"@storybook/addon-webpack5-compiler-swc": "3.0.0",
|
|
||||||
"@storybook/blocks": "^8.6.14",
|
|
||||||
"@storybook/react": "^8.6.14",
|
|
||||||
"@storybook/react-webpack5": "^8.6.14",
|
|
||||||
"@storybook/test": "^8.6.14",
|
|
||||||
"@testing-library/dom": "^10.4.0",
|
"@testing-library/dom": "^10.4.0",
|
||||||
"@testing-library/react": "^16.3.0",
|
"@testing-library/react": "^16.3.0",
|
||||||
"@testing-library/user-event": "^14.6.1",
|
"@testing-library/user-event": "^14.6.1",
|
||||||
|
@ -91,7 +83,7 @@
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
"react-is": "^18.3.1",
|
"react-is": "^18.3.1",
|
||||||
"rimraf": "^6.0.1",
|
"rimraf": "^6.0.1",
|
||||||
"storybook": "^8.6.14",
|
"storybook": "^9.0.2",
|
||||||
"styled-components": "^5.3.11",
|
"styled-components": "^5.3.11",
|
||||||
"stylelint": "^16.19.1",
|
"stylelint": "^16.19.1",
|
||||||
"stylelint-config-standard": "^38.0.0",
|
"stylelint-config-standard": "^38.0.0",
|
||||||
|
@ -99,7 +91,7 @@
|
||||||
"stylelint-processor-styled-components": "^1.10.0",
|
"stylelint-processor-styled-components": "^1.10.0",
|
||||||
"ts-jest": "^29.3.4",
|
"ts-jest": "^29.3.4",
|
||||||
"typescript": "~5.8.3",
|
"typescript": "~5.8.3",
|
||||||
"webpack": "^5.99.9"
|
"vite": "^6.3.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@types/react": "^16.3.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
"@types/react": "^16.3.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { MdFiberManualRecord } from 'react-icons/md';
|
import { MdFiberManualRecord } from 'react-icons/md';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import Button from './';
|
import Button from './';
|
||||||
|
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import ContextMenu from './';
|
import ContextMenu from './';
|
||||||
import { items } from './data';
|
import { items } from './data';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import Dialog from './';
|
import Dialog from './';
|
||||||
import { schema, uiSchema, formData } from '../Form/schema';
|
import { schema, uiSchema, formData } from '../Form/schema';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import Editor from './';
|
import Editor from './';
|
||||||
import { default as WithTabsComponent, WithTabsProps } from './WithTabs';
|
import { default as WithTabsComponent, WithTabsProps } from './WithTabs';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import Form from './';
|
import Form from './';
|
||||||
import { schema, uiSchema, formData } from './schema';
|
import { schema, uiSchema, formData } from './schema';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import Notification from './';
|
import Notification from './';
|
||||||
|
|
||||||
const Container = styled.div`
|
const Container = styled.div`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import SegmentedControl from './';
|
import SegmentedControl from './';
|
||||||
|
|
||||||
const Container = styled.div`
|
const Container = styled.div`
|
||||||
|
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import Select from './';
|
import Select from './';
|
||||||
import { options } from './options';
|
import { options } from './options';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
|
|
||||||
const Container = styled.div`
|
const Container = styled.div`
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import Slider from './';
|
import Slider from './';
|
||||||
|
|
||||||
const Container = styled.div`
|
const Container = styled.div`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import Tabs from './';
|
import Tabs from './';
|
||||||
import { tabs, simple10Tabs } from './data';
|
import { tabs, simple10Tabs } from './data';
|
||||||
import { TabsProps } from './Tabs';
|
import { TabsProps } from './Tabs';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { ReactNode } from 'react';
|
import React, { ReactNode } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Meta, StoryObj } from '@storybook/react';
|
import { Meta, StoryObj } from '@storybook/react-vite';
|
||||||
import { MdPlayArrow } from 'react-icons/md';
|
import { MdPlayArrow } from 'react-icons/md';
|
||||||
import { MdFiberManualRecord } from 'react-icons/md';
|
import { MdFiberManualRecord } from 'react-icons/md';
|
||||||
import { MdKeyboardArrowLeft } from 'react-icons/md';
|
import { MdKeyboardArrowLeft } from 'react-icons/md';
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
"extends": "../../tsconfig.react.base.json",
|
"extends": "../../tsconfig.react.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib/types",
|
"outDir": "lib/types",
|
||||||
"types": ["node"]
|
"types": ["node"],
|
||||||
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src"]
|
||||||
}
|
}
|
||||||
|
|
1324
pnpm-lock.yaml
1324
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user