Skip to content

Commit

Permalink
Merge pull request #326 from hidden4003/cleanup
Browse files Browse the repository at this point in the history
remove storybook and other legacy
  • Loading branch information
hidden4003 authored Jul 16, 2022
2 parents c62755c + 88af0f8 commit 53a270d
Show file tree
Hide file tree
Showing 24 changed files with 1,268 additions and 14,878 deletions.
38 changes: 0 additions & 38 deletions .storybook/main.js

This file was deleted.

11 changes: 0 additions & 11 deletions .storybook/preview.js

This file was deleted.

40 changes: 4 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,22 @@
"@sentry/react": "^7.7.0",
"@sentry/tracing": "^7.7.0",
"@tailwindcss/line-clamp": "^0.4.0",
"ajv": "^8.9.0",
"browser-sync": "^2.27.7",
"classnames": "^2.3.1",
"connect-history-api-fallback": "^1.6.0",
"connected-react-router": "^6.9.2",
"core-js": "3.20.3",
"del": "^6.0.0",
"del": "^6.1.1",
"ejs": "^3.1.8",
"es6-promise": "^4.2.8",
"fast-json-patch": "^3.1.0",
"fastclick": "^1.0.6",
"history": "^4.10.1",
"http-proxy-middleware": "^2.0.2",
"isomorphic-fetch": "^3.0.0",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"object-path": "^0.11.8",
"path-to-regexp": "^6.2.0",
"pixrem": "^5.0.0",
"pleeease-filters": "^4.0.0",
"pretty-bytes": "^5.6.0",
"prettysize": "^2.0.0",
"prop-types": "^15.8.1",
"proxyquire": "^2.1.3",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.0",
"react-copy-to-clipboard": "^5.0.4",
Expand All @@ -62,7 +54,6 @@
"react-virtualized": "^9.22.3",
"redux": "^4.1.2",
"redux-actions": "^2.6.5",
"redux-ava": "^2.2.0",
"redux-devtools-extension": "^2.13.9",
"redux-saga": "^1.1.3",
"redux-thunk": "^2.4.1",
Expand All @@ -76,12 +67,7 @@
"@babel/preset-react": "^7.18.6",
"@babel/register": "^7.18.6",
"@mdx-js/react": "^1.6.22",
"@redux-saga/testing-utils": "^1.1.3",
"@sentry/webpack-plugin": "^1.18.9",
"@storybook/addon-essentials": "^6.4.18",
"@storybook/builder-webpack5": "^6.4.16",
"@storybook/manager-webpack5": "^6.4.16",
"@storybook/react": "^6.4.18",
"@types/assets-webpack-plugin": "^7.1.0",
"@types/classnames": "^2.3.1",
"@types/ejs": "^3.1.0",
Expand All @@ -101,24 +87,11 @@
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"assets-webpack-plugin": "^7.1.1",
"autoprefixer": "^10.4.2",
"ava": "^4.0.1",
"babel-cli": "^6.26.0",
"babel-loader": "^8.2.3",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-transform-imports": "^2.0.0",
"babel-polyfill": "^6.26.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"babel-register": "^6.26.0",
"browserslist": "latest",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"css-modules-require-hook": "^4.2.3",
"cssnano": "^5.0.16",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^8.8.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
Expand All @@ -127,22 +100,17 @@
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"jsdom": "^19.0.0",
"json-loader": "^0.5.7",
"less": "^4.1.2",
"mini-css-extract-plugin": "^2.5.3",
"node-sass": "^7.0.1",
"nyc": "^15.1.0",
"postcss": "^8.4.5",
"postcss-import": "^14.0.2",
"postcss-load-config": "^3.1.1",
"postcss-loader": "^6.2.1",
"postcss-preset-env": "^7.2.3",
"postcss-scss": "^4.0.3",
"react-hot-loader": "^4.13.0",
"redux-mock-store": "^1.5.4",
"redux-saga-testing": "^2.0.1",
"rimraf": "^3.0.2",
"sass-loader": "^13.0.2",
"source-map-loader": "^3.0.1",
"style-loader": "^3.3.1",
Expand All @@ -159,6 +127,9 @@
"webpack-hot-middleware": "^2.25.1",
"zip-a-folder": "^1.1.3"
},
"resolutions": {
"url-parse": ">=1.5.8"
},
"stylelint": {
"extends": "stylelint-config-standard",
"customSyntax": "postcss-scss",
Expand Down Expand Up @@ -225,9 +196,6 @@
"build:debug": "cross-env NODE_ENV=development node run build --debug",
"build:version": "cross-env NODE_ENV=production node run version",
"start": "cross-env NODE_ENV=development node run",
"test": "cross-env NODE_ENV=test ava",
"test:coverage": "",
"test:debug": "cross-env NODE_ENV=test ava --verbose test/pages/settings/AnidbImageSettings.test.js",
"report": "nyc report --reporter=html",
"coveralls": "",
"storybook": "start-storybook -p 6006",
Expand Down
5 changes: 0 additions & 5 deletions src/pages/error/ErrorPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as Sentry from '@sentry/react';
import React from 'react';
import PropTypes from 'prop-types';
import history from '../../core/history';
import Link from '../../components/Link/Link';

Expand All @@ -18,10 +17,6 @@ type State = {
};

class ErrorBoundary extends React.Component<Props, State> {
static propTypes = {
children: PropTypes.node,
};

fallback = ({ error, componentStack }) => (
<div className="error-page flex h-screen">
<div className="m-auto">
Expand Down
29 changes: 0 additions & 29 deletions stories/Button.stories.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions stories/MenuItem.stories.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions stories/Panel.stories.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions stories/Panel.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions stories/SideMenu.stories.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions test/ava-jsdom.js

This file was deleted.

39 changes: 0 additions & 39 deletions test/components/Buttons/AutoRefreshSwitch.test.js

This file was deleted.

Loading

0 comments on commit 53a270d

Please sign in to comment.