chore(deps): update storybook to v7
This commit is contained in:
parent
f2524c8849
commit
349a23c690
@ -1,16 +1,15 @@
|
||||
module.exports = {
|
||||
core: {
|
||||
builder: 'webpack5',
|
||||
},
|
||||
features: {
|
||||
previewMdx2: true,
|
||||
},
|
||||
|
||||
stories: [
|
||||
'../.storybook/stories-category-doc-pages/**/*.stories.mdx',
|
||||
'../stories/**/*.stories.@(js|jsx|ts|tsx)',
|
||||
'../components/**/*.stories.@(js|jsx|ts|tsx)',
|
||||
'../pages/**/*.stories.@(js|jsx|ts|tsx)',
|
||||
],
|
||||
|
||||
addons: [
|
||||
'@storybook/addon-links',
|
||||
'@storybook/addon-essentials',
|
||||
@ -19,7 +18,10 @@ module.exports = {
|
||||
'@storybook/addon-a11y',
|
||||
'storybook-addon-designs',
|
||||
'storybook-addon-fetch-mock',
|
||||
'@storybook/addon-mdx-gfm',
|
||||
'@storybook/addon-styling-webpack'
|
||||
],
|
||||
|
||||
webpackFinal: async (config, { configType }) => {
|
||||
// @see https://github.com/storybookjs/storybook/issues/9070
|
||||
const fileLoaderRule = config.module.rules.find(rule => rule.test && rule.test.test('.svg'));
|
||||
@ -47,6 +49,15 @@ module.exports = {
|
||||
|
||||
return config;
|
||||
},
|
||||
framework: '@storybook/react',
|
||||
|
||||
framework: {
|
||||
name: '@storybook/nextjs',
|
||||
options: {}
|
||||
},
|
||||
|
||||
staticDirs: ['../public', '../../static', './story-assets'],
|
||||
|
||||
docs: {
|
||||
autodocs: true
|
||||
}
|
||||
};
|
||||
|
91678
web/package-lock.json
generated
91678
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
263
web/package.json
263
web/package.json
@ -1,132 +1,133 @@
|
||||
{
|
||||
"name": "owncast-web",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build && next export",
|
||||
"start": "next start",
|
||||
"lint": "eslint --fix --ext .js,.ts,.tsx types/ pages/ components/ stories/",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"build-storybook": "build-storybook",
|
||||
"build-styles": "cd ./style-definitions && style-dictionary build && ./build.sh && cd -",
|
||||
"test": "jest",
|
||||
"format": "prettier --write **/*.{js,ts,jsx,tsx,css,md}"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "4.8.1",
|
||||
"@codemirror/lang-css": "6.2.1",
|
||||
"@codemirror/lang-html": "^6.4.2",
|
||||
"@codemirror/lang-javascript": "^6.1.2",
|
||||
"@codemirror/lang-markdown": "6.2.2",
|
||||
"@codemirror/language-data": "6.3.1",
|
||||
"@fontsource/inter": "^5.0.0",
|
||||
"@fontsource/poppins": "5.0.8",
|
||||
"@next/bundle-analyzer": "^13.1.1",
|
||||
"@uiw/codemirror-theme-bbedit": "4.21.20",
|
||||
"@uiw/react-codemirror": "4.21.20",
|
||||
"@xstate/react": "3.2.2",
|
||||
"antd": "4.24.14",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"chart.js": "^4.2.0",
|
||||
"classnames": "2.3.2",
|
||||
"date-fns": "^2.29.3",
|
||||
"graphemer": "^1.4.0",
|
||||
"interweave": "^13.0.0",
|
||||
"interweave-autolink": "^5.1.0",
|
||||
"lodash": "4.17.21",
|
||||
"next": "13.5.6",
|
||||
"next-pwa": "^5.6.0",
|
||||
"next-with-less": "3.0.1",
|
||||
"picmo": "5.8.5",
|
||||
"postcss-flexbugs-fixes": "5.0.2",
|
||||
"react": "18.2.0",
|
||||
"react-chartjs-2": "^5.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-error-boundary": "^4.0.0",
|
||||
"react-hotkeys-hook": "4.4.1",
|
||||
"react-linkify": "1.0.0-alpha",
|
||||
"react-markdown": "9.0.0",
|
||||
"react-virtuoso": "4.6.2",
|
||||
"recoil": "0.7.7",
|
||||
"regexpu-core": "^5.3.2",
|
||||
"sanitize-html": "^2.11.0",
|
||||
"sharp": "0.32.6",
|
||||
"ua-parser-js": "1.0.36",
|
||||
"video.js": "^8.3.0",
|
||||
"workbox-precaching": "^7.0.0",
|
||||
"workbox-window": "^7.0.0",
|
||||
"xstate": "4.38.2",
|
||||
"yaml": "2.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.23.2",
|
||||
"@mdx-js/react": "2.3.0",
|
||||
"@storybook/addon-a11y": "6.5.16",
|
||||
"@storybook/addon-actions": "6.5.16",
|
||||
"@storybook/addon-docs": "6.5.16",
|
||||
"@storybook/addon-essentials": "6.5.16",
|
||||
"@storybook/addon-links": "6.5.16",
|
||||
"@storybook/addon-postcss": "2.0.0",
|
||||
"@storybook/addon-viewport": "6.5.16",
|
||||
"@storybook/builder-webpack5": "6.5.16",
|
||||
"@storybook/cli": "6.5.16",
|
||||
"@storybook/manager-webpack5": "6.5.16",
|
||||
"@storybook/mdx2-csf": "0.0.3",
|
||||
"@storybook/preset-scss": "1.0.3",
|
||||
"@storybook/react": "6.5.16",
|
||||
"@storybook/testing-library": "0.2.2",
|
||||
"@svgr/webpack": "8.1.0",
|
||||
"@types/chart.js": "2.9.39",
|
||||
"@types/classnames": "2.3.1",
|
||||
"@types/jest": "^29.5.0",
|
||||
"@types/markdown-it": "13.0.4",
|
||||
"@types/node": "18.18.6",
|
||||
"@types/prop-types": "15.7.9",
|
||||
"@types/react": "18.2.31",
|
||||
"@types/react-linkify": "1.0.3",
|
||||
"@types/sanitize-html": "^2.9.0",
|
||||
"@types/ua-parser-js": "0.7.38",
|
||||
"@types/video.js": "^7.3.50",
|
||||
"@typescript-eslint/eslint-plugin": "6.8.0",
|
||||
"@typescript-eslint/parser": "6.8.0",
|
||||
"babel-loader": "9.1.3",
|
||||
"chromatic": "7.4.0",
|
||||
"css-loader": "6.8.1",
|
||||
"cypress": "^13.2.0",
|
||||
"eslint": "8.52.0",
|
||||
"eslint-config-airbnb": "19.0.4",
|
||||
"eslint-config-next": "13.5.6",
|
||||
"eslint-config-prettier": "9.0.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-jsx-a11y": "6.7.1",
|
||||
"eslint-plugin-prettier": "^5.0.0",
|
||||
"eslint-plugin-react": "7.33.2",
|
||||
"eslint-plugin-react-hooks": "4.6.0",
|
||||
"eslint-plugin-storybook": "0.6.15",
|
||||
"handlebars": "^4.7.7",
|
||||
"html-webpack-plugin": "5.5.3",
|
||||
"install": "^0.13.0",
|
||||
"knip": "^2.11.0",
|
||||
"less": "4.2.0",
|
||||
"less-loader": "11.1.3",
|
||||
"mdx-mermaid": "^2.0.0",
|
||||
"mermaid": "^10.0.0",
|
||||
"npm": "^10.0.0",
|
||||
"postcss": "^8.4.31",
|
||||
"prettier": "3.0.3",
|
||||
"sass": "1.69.4",
|
||||
"sass-loader": "13.3.2",
|
||||
"sb": "6.5.16",
|
||||
"storybook-addon-designs": "6.3.1",
|
||||
"storybook-addon-fetch-mock": "1.0.1",
|
||||
"storybook-preset-less": "1.1.3",
|
||||
"style-dictionary": "3.8.0",
|
||||
"style-loader": "3.3.3",
|
||||
"stylelint": "^15.10.1",
|
||||
"stylelint-config-standard": "^34.0.0",
|
||||
"stylelint-config-standard-scss": "^11.0.0",
|
||||
"ts-jest": "^29.1.0",
|
||||
"typescript": "4.9.5"
|
||||
}
|
||||
}
|
||||
"name": "owncast-web",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build && next export",
|
||||
"start": "next start",
|
||||
"lint": "eslint --fix --ext .js,.ts,.tsx types/ pages/ components/ stories/",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"build-storybook": "storybook build",
|
||||
"build-styles": "cd ./style-definitions && style-dictionary build && ./build.sh && cd -",
|
||||
"test": "jest",
|
||||
"format": "prettier --write **/*.{js,ts,jsx,tsx,css,md}"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "4.8.1",
|
||||
"@codemirror/lang-css": "6.2.1",
|
||||
"@codemirror/lang-html": "^6.4.2",
|
||||
"@codemirror/lang-javascript": "^6.1.2",
|
||||
"@codemirror/lang-markdown": "6.2.2",
|
||||
"@codemirror/language-data": "6.3.1",
|
||||
"@fontsource/inter": "^5.0.0",
|
||||
"@fontsource/poppins": "5.0.8",
|
||||
"@next/bundle-analyzer": "^13.1.1",
|
||||
"@uiw/codemirror-theme-bbedit": "4.21.20",
|
||||
"@uiw/react-codemirror": "4.21.20",
|
||||
"@xstate/react": "3.2.2",
|
||||
"antd": "4.24.14",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"chart.js": "^4.2.0",
|
||||
"classnames": "2.3.2",
|
||||
"date-fns": "^2.29.3",
|
||||
"graphemer": "^1.4.0",
|
||||
"interweave": "^13.0.0",
|
||||
"interweave-autolink": "^5.1.0",
|
||||
"lodash": "4.17.21",
|
||||
"next": "13.5.6",
|
||||
"next-pwa": "^5.6.0",
|
||||
"next-with-less": "3.0.1",
|
||||
"picmo": "5.8.5",
|
||||
"postcss-flexbugs-fixes": "5.0.2",
|
||||
"react": "18.2.0",
|
||||
"react-chartjs-2": "^5.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-error-boundary": "^4.0.0",
|
||||
"react-hotkeys-hook": "4.4.1",
|
||||
"react-linkify": "1.0.0-alpha",
|
||||
"react-markdown": "9.0.0",
|
||||
"react-virtuoso": "4.6.2",
|
||||
"recoil": "0.7.7",
|
||||
"regexpu-core": "^5.3.2",
|
||||
"sanitize-html": "^2.11.0",
|
||||
"sharp": "0.32.6",
|
||||
"ua-parser-js": "1.0.36",
|
||||
"video.js": "^8.3.0",
|
||||
"workbox-precaching": "^7.0.0",
|
||||
"workbox-window": "^7.0.0",
|
||||
"xstate": "4.38.2",
|
||||
"yaml": "2.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.23.2",
|
||||
"@mdx-js/react": "2.3.0",
|
||||
"@storybook/addon-a11y": "7.5.1",
|
||||
"@storybook/addon-actions": "7.5.1",
|
||||
"@storybook/addon-docs": "7.5.1",
|
||||
"@storybook/addon-essentials": "7.5.1",
|
||||
"@storybook/addon-links": "7.5.1",
|
||||
"@storybook/addon-mdx-gfm": "^7.5.1",
|
||||
"@storybook/addon-postcss": "2.0.0",
|
||||
"@storybook/addon-styling-webpack": "^0.0.5",
|
||||
"@storybook/addon-viewport": "7.5.1",
|
||||
"@storybook/cli": "7.5.1",
|
||||
"@storybook/mdx2-csf": "1.1.0",
|
||||
"@storybook/nextjs": "^7.5.1",
|
||||
"@storybook/preset-scss": "1.0.3",
|
||||
"@storybook/react": "7.5.1",
|
||||
"@storybook/testing-library": "0.2.2",
|
||||
"@svgr/webpack": "8.1.0",
|
||||
"@types/chart.js": "2.9.39",
|
||||
"@types/classnames": "2.3.1",
|
||||
"@types/jest": "^29.5.0",
|
||||
"@types/markdown-it": "13.0.4",
|
||||
"@types/node": "18.18.6",
|
||||
"@types/prop-types": "15.7.9",
|
||||
"@types/react": "18.2.31",
|
||||
"@types/react-linkify": "1.0.3",
|
||||
"@types/sanitize-html": "^2.9.0",
|
||||
"@types/ua-parser-js": "0.7.38",
|
||||
"@types/video.js": "^7.3.50",
|
||||
"@typescript-eslint/eslint-plugin": "6.8.0",
|
||||
"@typescript-eslint/parser": "6.8.0",
|
||||
"babel-loader": "9.1.3",
|
||||
"chromatic": "7.4.0",
|
||||
"css-loader": "6.8.1",
|
||||
"cypress": "^13.2.0",
|
||||
"eslint": "8.52.0",
|
||||
"eslint-config-airbnb": "19.0.4",
|
||||
"eslint-config-next": "13.5.6",
|
||||
"eslint-config-prettier": "9.0.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-jsx-a11y": "6.7.1",
|
||||
"eslint-plugin-prettier": "^5.0.0",
|
||||
"eslint-plugin-react": "7.33.2",
|
||||
"eslint-plugin-react-hooks": "4.6.0",
|
||||
"eslint-plugin-storybook": "0.6.15",
|
||||
"handlebars": "^4.7.7",
|
||||
"html-webpack-plugin": "5.5.3",
|
||||
"install": "^0.13.0",
|
||||
"knip": "^2.11.0",
|
||||
"less": "4.2.0",
|
||||
"less-loader": "11.1.3",
|
||||
"mdx-mermaid": "^2.0.0",
|
||||
"mermaid": "^10.0.0",
|
||||
"npm": "^10.0.0",
|
||||
"postcss": "^8.4.31",
|
||||
"prettier": "3.0.3",
|
||||
"sass": "1.69.4",
|
||||
"sass-loader": "13.3.2",
|
||||
"storybook": "^7.5.1",
|
||||
"storybook-addon-designs": "6.3.1",
|
||||
"storybook-addon-fetch-mock": "1.0.1",
|
||||
"storybook-preset-less": "1.1.3",
|
||||
"style-dictionary": "3.8.0",
|
||||
"style-loader": "3.3.3",
|
||||
"stylelint": "^15.10.1",
|
||||
"stylelint-config-standard": "^34.0.0",
|
||||
"stylelint-config-standard-scss": "^11.0.0",
|
||||
"ts-jest": "^29.1.0",
|
||||
"typescript": "4.9.5"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user