Skip to content

Commit

Permalink
fix: remove unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Loori-R committed Dec 12, 2022
1 parent 12d512f commit 3941e6c
Show file tree
Hide file tree
Showing 4 changed files with 1,729 additions and 12,390 deletions.
1 change: 0 additions & 1 deletion babel.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-syntax-dynamic-import",
"angularjs-annotate",
"macros"
],
"env": {
Expand Down
213 changes: 18 additions & 195 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,165 +23,42 @@
"@babel/plugin-proposal-optional-chaining": "7.18.9",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-react-constant-elements": "7.18.9",
"@babel/plugin-transform-runtime": "7.18.9",
"@babel/plugin-transform-typescript": "7.19.0",
"@babel/preset-env": "7.19.0",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@babel/runtime": "7.19.0",
"@betterer/betterer": "5.4.0",
"@betterer/cli": "5.4.0",
"@betterer/eslint": "5.4.0",
"@betterer/regexp": "5.4.0",
"@emotion/eslint-plugin": "11.10.0",
"@grafana/e2e-selectors": "9.1.2",
"@grafana/eslint-config": "5.0.0",
"@grafana/tsconfig": "^1.2.0-rc1",
"@lingui/cli": "3.14.0",
"@lingui/macro": "3.14.0",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.7",
"@react-types/button": "3.6.1",
"@react-types/menu": "3.7.1",
"@react-types/overlays": "3.6.1",
"@react-types/shared": "3.14.1",
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
"@swc/core": "1.2.219",
"@swc/helpers": "0.4.3",
"@swc/jest": "^0.2.20",
"@testing-library/dom": "8.13.0",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "12.1.4",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.4.3",
"@types/angular": "1.8.4",
"@types/classnames": "2.3.0",
"@types/common-tags": "^1.8.0",
"@types/d3": "7.4.0",
"@types/d3-force": "^2.1.0",
"@types/d3-scale-chromatic": "1.3.1",
"@types/debounce-promise": "3.1.4",
"@types/enzyme": "3.10.12",
"@types/enzyme-adapter-react-16": "1.0.6",
"@types/eslint": "8.4.5",
"@types/file-saver": "2.0.5",
"@types/google.analytics": "^0.0.42",
"@types/history": "4.7.11",
"@types/hoist-non-react-statics": "3.3.1",
"@types/jest": "28.1.6",
"@types/jquery": "3.5.14",
"@types/js-yaml": "^4.0.5",
"@types/lingui__macro": "^3",
"@types/lodash": "4.14.182",
"@types/mousetrap": "1.6.9",
"@types/lodash": "4.14.191",
"@types/node": "16.11.45",
"@types/pluralize": "^0.0.29",
"@types/prismjs": "1.26.0",
"@types/react": "17.0.42",
"@types/react-beautiful-dnd": "13.1.2",
"@types/react-dom": "17.0.14",
"@types/react-grid-layout": "1.3.2",
"@types/react-highlight-words": "0.16.4",
"@types/react-loadable": "5.5.6",
"@types/react-redux": "7.1.24",
"@types/react-router-dom": "5.3.3",
"@types/react-test-renderer": "17.0.1",
"@types/react-transition-group": "4.4.5",
"@types/react-virtualized-auto-sizer": "1.0.1",
"@types/react-window": "1.8.5",
"@types/react-window-infinite-loader": "^1",
"@types/redux-mock-store": "1.0.3",
"@types/reselect": "2.2.0",
"@types/slate": "0.47.9",
"@types/slate-react": "0.22.9",
"@types/testing-library__jest-dom": "5.14.5",
"@types/testing-library__react-hooks": "^3.2.0",
"@types/tinycolor2": "1.4.3",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "5.36.2",
"@typescript-eslint/parser": "5.36.2",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.7",
"autoprefixer": "10.4.7",
"axios": "0.27.2",
"babel-jest": "28.1.3",
"babel-loader": "8.2.5",
"babel-plugin-angularjs-annotate": "0.10.0",
"babel-plugin-macros": "3.1.0",
"babel-plugin-root-import": "^6.6.0",
"copy-webpack-plugin": "9.0.1",
"css-loader": "6.7.1",
"css-minimizer-webpack-plugin": "4.0.0",
"cypress": "9.5.1",
"enzyme": "3.11.0",
"enzyme-to-json": "3.6.2",
"eslint": "8.22.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "27.0.4",
"eslint-plugin-jsdoc": "39.3.3",
"eslint-plugin-jest": "27.1.6",
"eslint-plugin-lodash": "7.4.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "7.31.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-webpack-plugin": "3.2.0",
"expose-loader": "4.0.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "7.2.13",
"fs-extra": "10.1.0",
"glob": "8.0.3",
"html-loader": "4.1.0",
"html-webpack-plugin": "5.5.0",
"http-server": "14.1.1",
"husky": "8.0.1",
"jest": "28.1.3",
"jest-canvas-mock": "2.4.0",
"jest-date-mock": "1.0.8",
"jest-environment-jsdom": "28.1.3",
"jest-fail-on-console": "2.4.2",
"jest-junit": "14.0.0",
"jest-matcher-utils": "28.1.3",
"lerna": "5.2.0",
"lint-staged": "13.0.3",
"mini-css-extract-plugin": "^2.6.1",
"mutationobserver-shim": "0.3.7",
"ngtemplate-loader": "2.1.0",
"node-notifier": "10.0.1",
"postcss": "8.4.14",
"postcss-loader": "7.0.1",
"postcss-reporter": "7.0.5",
"postcss-scss": "4.0.4",
"prettier": "2.7.1",
"raw-loader": "4.0.2",
"react-app-rewired": "^2.2.1",
"react-refresh": "0.14.0",
"react-select-event": "5.5.0",
"react-simple-compat": "1.2.3",
"react-test-renderer": "17.0.2",
"redux-mock-store": "1.5.4",
"replace-in-file-webpack-plugin": "^1.0.6",
"rimraf": "3.0.2",
"sass": "1.54.0",
"sass-loader": "13.0.2",
"sinon": "14.0.0",
"style-loader": "3.3.1",
"stylelint": "14.9.1",
"stylelint-config-prettier": "9.0.3",
"stylelint-config-sass-guidelines": "9.0.1",
"swc-loader": "^0.1.15",
"terser-webpack-plugin": "5.3.3",
"testing-library-selector": "0.2.1",
"ts-jest": "28.0.7",
"ts-loader": "9.3.1",
"ts-node": "10.9.1",
"tsconfig-paths": "^3.12.0",
"ttf-loader": "^1.0.2",
"typescript": "4.8.2",
"wait-on": "6.0.1",
"webpack": "5.74.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.10.0",
"webpack-dev-server": "4.9.3",
"webpack-cli": "^5.0.1",
"webpack-livereload-plugin": "^3.0.2",
"webpack-manifest-plugin": "5.0.0",
"webpack-merge": "5.8.0"
},
"resolutions": {
Expand All @@ -193,103 +70,49 @@
"dependencies": {
"@emotion/css": "^11.1.3",
"@emotion/eslint-plugin": "^11.10.0",
"@emotion/react": "11.9.3",
"@grafana/agent-core": "0.4.0",
"@grafana/agent-web": "0.4.0",
"@grafana/aws-sdk": "^0.0.37",
"@grafana/data": "9.1.2",
"@grafana/lezer-logql": "0.1.0",
"@grafana/runtime": "^9.1.5",
"@grafana/schema": "^9.2.0",
"@grafana/toolkit": "^9.2.0",
"@grafana/ui": "^9.1.5",
"@kusto/monaco-kusto": "5.1.8",
"@grafana/runtime": "9.1.5",
"@grafana/ui": "9.1.5",
"@lezer/common": "1.0.0",
"@lezer/highlight": "^1.0.0",
"@lezer/lr": "1.0.0",
"@lingui/core": "3.14.0",
"@lingui/react": "3.14.0",
"@monaco-editor/react": "^4.4.5",
"@popperjs/core": "2.11.5",
"@lezer/highlight": "^1.1.3",
"@lezer/lr": "^1.2.5",
"@prometheus-io/lezer-promql": "^0.37.1",
"@react-aria/button": "3.6.1",
"@react-aria/dialog": "3.3.1",
"@react-aria/focus": "3.8.0",
"@react-aria/interactions": "3.11.0",
"@react-aria/menu": "3.6.1",
"@react-aria/overlays": "3.10.1",
"@react-aria/utils": "3.13.1",
"@react-stately/collections": "3.4.1",
"@react-stately/menu": "3.4.1",
"@react-stately/tree": "3.3.1",
"@reduxjs/toolkit": "^1.8.5",
"@sentry/browser": "6.19.7",
"@sentry/types": "6.19.7",
"@sentry/utils": "6.19.7",
"@swc/core": "^1.3.22",
"@types/copy-webpack-plugin": "^10.1.0",
"@types/lodash": "latest",
"@types/lodash": "^4.14.191",
"@types/webpack-livereload-plugin": "^2.3.3",
"angular": "1.8.3",
"babel-plugin-angularjs-annotate": "^0.10.0",
"babel-plugin-macros": "^3.1.0",
"classnames": "2.3.1",
"common-tags": "1.8.2",
"core-js": "3.25.1",
"d3": "5.15.0",
"d3-force": "^2.1.1",
"d3-scale-chromatic": "1.5.0",
"debounce-promise": "3.1.2",
"css-loader": "^6.7.2",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-lodash": "^7.4.0",
"fast-json-patch": "3.1.1",
"file-saver": "2.0.5",
"history": "4.10.1",
"hoist-non-react-statics": "3.3.2",
"immer": "9.0.15",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"immutable": "4.1.0",
"jquery": "3.6.0",
"js-yaml": "^4.1.0",
"json-source-map": "0.6.1",
"lodash": "4.17.21",
"lru-cache": "7.14.0",
"memoize-one": "6.0.0",
"moment": "2.29.4",
"monaco-editor": "0.34.0",
"monaco-promql": "^1.7.4",
"mousetrap": "1.6.5",
"mousetrap-global-bind": "1.1.0",
"pluralize": "^8.0.0",
"prismjs": "1.29.0",
"rc-slider": "9.7.5",
"react": "17.0.2",
"react": "^17.0.2",
"react-beautiful-dnd": "13.1.0",
"react-diff-viewer": "^3.1.1",
"react-dom": "17.0.2",
"react-draggable": "4.4.5",
"react-grid-layout": "1.3.4",
"react-dom": "^18.2.0",
"react-highlight-words": "0.18.0",
"react-hook-form": "7.5.3",
"react-loadable": "5.5.0",
"react-popper-tooltip": "4.4.2",
"react-redux": "7.2.6",
"react-router-dom": "^5.2.0",
"react-select": "5.4.0",
"react-split-pane": "0.1.92",
"react-transition-group": "4.4.2",
"react-use": "^17.3.2",
"react-virtualized-auto-sizer": "1.0.6",
"react-window": "1.8.7",
"react-window-infinite-loader": "1.0.8",
"redux": "4.2.0",
"redux-thunk": "2.4.1",
"reselect": "4.1.6",
"rxjs": "7.5.6",
"slate": "0.47.9",
"slate-react": "0.22.10",
"tinycolor2": "1.4.2",
"uuid": "8.3.2",
"visjs-network": "4.25.0",
"whatwg-fetch": "3.6.2"
"style-loader": "^3.3.1",
"swc-loader": "^0.2.3",
"ts-node": "^10.9.1"
}
}
26 changes: 0 additions & 26 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,6 @@ const config = (env) => {
},
module: {
rules: [
{
test: require.resolve('jquery'),
loader: 'expose-loader',
options: {
exposes: ['$', 'jQuery'],
},
},
{
test: /\.html$/,
exclude: /(index|error)\-template\.html/,
use: [
{
loader: 'ngtemplate-loader?relativeTo=' + path.resolve(__dirname, '../../') + '&prefix=',
},
{
loader: 'html-loader',
options: {
sources: false,
minimize: {
removeComments: false,
collapseWhitespace: false,
},
},
},
],
},
{
test: /\.css$/,
use: ['style-loader', 'css-loader'],
Expand Down
Loading

0 comments on commit 3941e6c

Please sign in to comment.