Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): remove unused dependencies #3933

Merged
merged 6 commits into from
Jan 6, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module.exports = {
sourceType: 'module',
babelOptions: {
presets: ['@babel/preset-react'],
plugins: ['@babel/plugin-proposal-class-properties'],
},
},
rules: {
Expand Down
57 changes: 9 additions & 48 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"execa": "^5.0.0",
"express": "^4.17.1",
"express-logging": "^1.1.1",
"filter-obj": "^2.0.1",
"find-up": "^5.0.0",
"flush-write-stream": "^2.0.0",
"folder-walker": "^3.2.0",
Expand Down Expand Up @@ -145,7 +144,6 @@
"make-dir": "^3.0.0",
"memoize-one": "^6.0.0",
"minimist": "^1.2.5",
"mock-require": "^3.0.3",
"multiparty": "^4.2.1",
"netlify": "^10.1.1",
"netlify-headers-parser": "^6.0.0",
Expand All @@ -154,7 +152,6 @@
"node-fetch": "^2.6.0",
"node-version-alias": "^1.0.1",
"omit.js": "^2.0.2",
"open": "^7.0.0",
"ora": "^5.0.0",
"p-event": "^4.2.0",
"p-filter": "^2.1.0",
Expand All @@ -163,14 +160,11 @@
"parallel-transform": "^1.2.0",
"parse-github-url": "^1.0.2",
"parse-gitignore": "^1.0.1",
"path-exists": "^4.0.0",
"path-key": "^3.1.1",
"path-type": "^4.0.0",
"prettyjson": "^1.2.1",
"pump": "^3.0.0",
"raw-body": "^2.4.1",
"read-pkg-up": "^7.0.1",
"resolve": "^1.12.0",
"semver": "^7.3.5",
"source-map-support": "^0.5.19",
"static-server": "^2.2.1",
Expand All @@ -190,7 +184,6 @@
"write-file-atomic": "^3.0.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.13.0",
erezrokah marked this conversation as resolved.
Show resolved Hide resolved
"@babel/preset-react": "^7.12.13",
"@commitlint/cli": "^16.0.0",
"@commitlint/config-conventional": "^16.0.0",
Expand All @@ -199,16 +192,14 @@
"eslint-plugin-sort-destructure-keys": "^1.3.5",
"fast-glob": "^3.2.7",
"form-data": "^4.0.0",
"from2-string": "^1.1.0",
"got": "^11.8.1",
"graphviz": "^0.0.9",
"ini": "^2.0.0",
"jsonwebtoken": "^8.5.1",
"mkdirp": "^1.0.4",
"mock-fs": "^5.1.2",
"mock-require": "^3.0.3",
"nyc": "^15.0.0",
"p-timeout": "^4.0.0",
"pidtree": "^0.5.0",
"seedrandom": "^3.0.5",
"serialize-javascript": "^6.0.0",
"sinon": "^12.0.0",
Expand Down
26 changes: 12 additions & 14 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,25 @@
dependencyDashboard: true,
packageRules: [
{
// Those cannot be upgraded to a major version until we drop support for Node 10
// Those cannot be upgraded to a major version until we switch to ESM
packageNames: [
'path-type',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I sorted these by mistake πŸ‘Ό

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'open',
'inquirer',
'p-timeout',
'configstore',
'p-wait-for',
'path-key',
'strip-ansi',
'@sindresorhus/slugify',
'ansi-styles',
'is-plain-obj',
'log-symbols',
'random-item',
'better-opn',
'to-readable-stream',
'chalk',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added chalk to the list since v5.0.0 is ESM only.

'configstore',
'http-proxy-middleware',
Copy link
Contributor Author

@XhmikosR XhmikosR Jan 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I discovered that this package can be updated since Node.js 10 is no longer supported and doesn't have any other breaking changes.

'p-map',
'inquirer',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inquirer update should also be possible

'is-plain-obj',
'log-symbols',
'node-version-alias',
'path-key',
'p-map',
'p-timeout',
'p-wait-for',
'read-pkg-up',
'strip-ansi',
'to-readable-stream',
],
major: {
enabled: false,
Expand Down
Loading