mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
React 18 (#2198)
* Update npm dependencies. * Move @storybook/react to devDependencies. Minor update to recoil. * Exempt stories.tsx files from the extraneous dependency check so that we can use npm audit --omit=dev to get a clearer idea of vulnerabilities present in a production build. * Prettified Code! Co-authored-by: heller <heller@users.noreply.github.com>
This commit is contained in:
parent
71152decdd
commit
a831b9805c
3 changed files with 4793 additions and 1618 deletions
|
@ -66,6 +66,13 @@ module.exports = {
|
|||
tsx: 'never',
|
||||
},
|
||||
],
|
||||
'import/no-extraneous-dependencies': [
|
||||
'error',
|
||||
{
|
||||
devDependencies: ['**/*.stories.*', '**/.storybook/**/*.*'],
|
||||
peerDependencies: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
|
|
6370
web/package-lock.json
generated
6370
web/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -18,11 +18,10 @@
|
|||
"@codemirror/language-data": "^6.1.0",
|
||||
"@fontsource/open-sans": "4.5.12",
|
||||
"@fontsource/poppins": "4.5.10",
|
||||
"@storybook/react": "6.5.12",
|
||||
"@uiw/codemirror-theme-bbedit": "^4.12.4",
|
||||
"@uiw/react-codemirror": "^4.12.4",
|
||||
"@xstate/react": "3.0.1",
|
||||
"antd": "4.23.4",
|
||||
"antd": "4.23.5",
|
||||
"autoprefixer": "10.4.12",
|
||||
"chart.js": "3.9.1",
|
||||
"chartkick": "4.2.0",
|
||||
|
@ -37,26 +36,26 @@
|
|||
"prop-types": "15.8.1",
|
||||
"rc-overflow": "1.2.8",
|
||||
"rc-util": "5.24.4",
|
||||
"react": "17.0.2",
|
||||
"react": "18.2.0",
|
||||
"react-chartkick": "0.5.3",
|
||||
"react-crossfade-img": "1.0.0",
|
||||
"react-dom": "17.0.2",
|
||||
"react-dom": "18.2.0",
|
||||
"react-highlighter-ts": "2.2.0",
|
||||
"react-hotkeys-hook": "3.4.7",
|
||||
"react-linkify": "1.0.0-alpha",
|
||||
"react-markdown": "8.0.3",
|
||||
"react-virtuoso": "2.19.1",
|
||||
"recoil": "0.7.5",
|
||||
"sharp": "0.31.0",
|
||||
"recoil": "0.7.6",
|
||||
"sharp": "0.31.1",
|
||||
"slate": "0.82.1",
|
||||
"slate-react": "0.83.1",
|
||||
"storybook-addon-designs": "6.3.1",
|
||||
"storybook-addon-fetch-mock": "1.0.1",
|
||||
"style-dictionary": "3.7.1",
|
||||
"ua-parser-js": "1.0.2",
|
||||
"video.js": "7.20.2",
|
||||
"video.js": "7.20.3",
|
||||
"xstate": "4.33.6",
|
||||
"yaml": "2.0.0"
|
||||
"yaml": "2.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.19.3",
|
||||
|
@ -72,38 +71,39 @@
|
|||
"@storybook/cli": "6.5.12",
|
||||
"@storybook/manager-webpack5": "6.5.12",
|
||||
"@storybook/preset-scss": "1.0.3",
|
||||
"@storybook/react": "^6.5.12",
|
||||
"@storybook/testing-library": "0.0.13",
|
||||
"@svgr/webpack": "6.4.0",
|
||||
"@types/chart.js": "2.9.37",
|
||||
"@types/classnames": "2.3.1",
|
||||
"@types/markdown-it": "12.2.3",
|
||||
"@types/node": "17.0.0",
|
||||
"@types/node": "18.8.4",
|
||||
"@types/prop-types": "15.7.5",
|
||||
"@types/react": "18.0.21",
|
||||
"@types/react-linkify": "1.0.1",
|
||||
"@types/ua-parser-js": "0.7.36",
|
||||
"@typescript-eslint/eslint-plugin": "5.39.0",
|
||||
"@typescript-eslint/parser": "5.39.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.40.0",
|
||||
"@typescript-eslint/parser": "5.40.0",
|
||||
"addon-screen-reader": "1.8.6",
|
||||
"babel-loader": "8.2.5",
|
||||
"chromatic": "6.10.1",
|
||||
"chromatic": "6.10.2",
|
||||
"css-loader": "6.7.1",
|
||||
"eslint": "8.24.0",
|
||||
"eslint": "8.25.0",
|
||||
"eslint-config-airbnb": "19.0.4",
|
||||
"eslint-config-next": "12.3.1",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"eslint-plugin-jsx-a11y": "6.6.1",
|
||||
"eslint-plugin-prettier": "4.2.1",
|
||||
"eslint-plugin-react": "7.31.8",
|
||||
"eslint-plugin-react": "7.31.10",
|
||||
"eslint-plugin-react-hooks": "4.6.0",
|
||||
"eslint-plugin-storybook": "0.6.4",
|
||||
"eslint-plugin-storybook": "0.6.6",
|
||||
"html-webpack-plugin": "5.5.0",
|
||||
"less": "4.1.3",
|
||||
"less-loader": "11.0.0",
|
||||
"less-loader": "11.1.0",
|
||||
"prettier": "2.7.1",
|
||||
"sass": "1.55.0",
|
||||
"sass-loader": "13.0.2",
|
||||
"sass-loader": "13.1.0",
|
||||
"sb": "6.5.12",
|
||||
"storybook-dark-mode": "1.1.2",
|
||||
"storybook-preset-less": "1.1.3",
|
||||
|
|
Loading…
Reference in a new issue