Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Remove unused dependencies (#339)
Browse files Browse the repository at this point in the history
* Move preset-airbnb-base dependencies out of middleware-eslint

The `eslint-config-airbnb-base` and `eslint-plugin-import` packages
are not used by `neutrino-middleware-eslint` itself, but instead by
`neutrino-preset-airbnb-base`.

* Remove unused dependencies

Of note:
* `webpack-dev-middleware` can be removed from the karma preset,
  since it's only used by `karma-webpack` which already has it as a
  dependency.
* `webpack-dev-server` can be removed from the web preset since it's
  a leftover from when `neutrino-middleware-dev-server` was created.
* the web preset's `core-js` and `babel-polyfill` dependencies are
  leftover from #315.

Everything else was manually determined to be unused via correlating
the package list against greps of the source, plus checking that the
package wasn't a peer dependency of another listed package.

* Regenerate yarn lockfiles
  • Loading branch information
edmorley authored and eliperelman committed Oct 3, 2017
1 parent 703da77 commit af4c8ab
Show file tree
Hide file tree
Showing 34 changed files with 3,588 additions and 11,852 deletions.
259 changes: 135 additions & 124 deletions packages/neutrino-middleware-banner/yarn.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/neutrino-middleware-chunk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"homepage": "https://neutrino.js.org",
"bugs": "https://github.com/mozilla-neutrino/neutrino-dev/issues",
"dependencies": {
"deepmerge": "^1.5.2",
"name-all-modules-plugin": "^1.0.1",
"webpack": "^3.6.0"
},
Expand Down
Loading

0 comments on commit af4c8ab

Please sign in to comment.