Skip to content

Commit

Permalink
chore(deps): remove unused deps & resolutions (#534)
Browse files Browse the repository at this point in the history
* chore(deps): remove unused deps

- these are all completely unused in the current codebase (search codebase, no references)
  - installs, builds, tests, etc still work without all these
  - maybe some of these were used at some point in the past, but none of them are currently used

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>

* chore(deps): remove unnecessary Yarn resolutions

- `lodash` resolution is no longer needed as all deps are compatible with `lodash` `^4`
  - 640ede9 added it and it _may_ have been necessary for some of the `lodash` v3 deps there, but this codebase no longer has any `lodash` v3 deps

- `@types/history` is already using `^4.7.8` without the resolution
  - 546911a added it while also upgrading the devDep; only upgrading the devDep was necessary

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>

---------

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
  • Loading branch information
Anton Gilgur authored May 12, 2024
1 parent 741f07c commit d1bd03e
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 1,734 deletions.
25 changes: 2 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"foundation-sites": "^6.4.3",
"history": "^4.10.1",
"moment": "^2.29.4",
"moment-timezone": "^0.5.34",
"prop-types": "^15.8.1",
"react-autocomplete": "1.8.1",
"react-form": "^2.16.0",
Expand Down Expand Up @@ -58,7 +57,6 @@
"@storybook/react": "^6.2.9",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/chai": "^4.3.4",
"@types/classnames": "^2.3.1",
"@types/deep-equal": "^1.0.1",
"@types/enzyme": "^3.10.12",
Expand All @@ -73,64 +71,45 @@
"@types/react-form": "^2.16.1",
"@types/react-helmet": "^6.1.6",
"@types/react-router-dom": "^4.2.2",
"@types/react-test-renderer": "^16.9.3",
"@types/storybook__addon-actions": "^5.2.1",
"@types/storybook__addon-links": "^3.3.0",
"@types/storybook__react": "^3.0.7",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@types/uuid": "^9.0.3",
"@types/yamljs": "^0.2.31",
"babel-loader": "^8.2.5",
"chai": "^4.3.7",
"copy-webpack-plugin": "^4.3.1",
"copyfiles": "^2.4.1",
"css-loader": "^3.6.0",
"dtslint": "^4.2.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.7",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.23.0",
"eslint-plugin-react": "^7.31.1",
"foreman": "^3.0.1",
"glob": "^8.0.3",
"gulp": "^4.0.2",
"gulp-less": "^5.0.0",
"gulp-minify-css": "^1.2.4",
"gulp-rename": "^2.0.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jscs": "^3.0.7",
"less": "^4.1.2",
"less-loader": "^7.3.0",
"less-plugin-autoprefix": "^2.0.0",
"mini-css-extract-plugin": "^2.6.1",
"raw-loader": "^4.0.2",
"react": "^16.9.3",
"react-dom": "^16.9.3",
"react-hot-loader": "^4.13.0",
"react-keyhooks": "^0.2.2",
"react-test-renderer": "^16.9.3",
"sass": "^1.55.0",
"sass-loader": "^v10.1.0",
"source-map-loader": "^1.1.3",
"storybook": "^6.5.14",
"style-loader": "^2.0.0",
"ts-jest": "^26.5.6",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"webfonts-generator": "^0.4.0",
"webpack": "^5.76.2",
"webpack-bundle-analyzer": "^4.9.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.9.0"
"webpack": "^5.76.2"
},
"resolutions": {
"lodash": "4.17.21",
"@types/react": "^16.8.5",
"@types/node": "14.11.2",
"@types/history": "4.7.8"
"@types/node": "14.11.2"
}
}
Loading

0 comments on commit d1bd03e

Please sign in to comment.