-
Notifications
You must be signed in to change notification settings - Fork 0
Clean up dependencies #369
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
Conversation
- Move `@metamask/gas-fee-controller` and `@metamask/network-controller` from `peerDependencies` to `dependencies`, as neither of them are being used for communication - Remove unused dev dependencies `@metamask/composable-controller`, `@types/readable-stream`, `jest-environment-jsdoc`, and `ts-node` as they were not being used - Replace `rimraf` with a shell command
1bfc2d6
to
e94c749
Compare
"lint:changelog": "auto-changelog validate --prettier", | ||
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", | ||
"build:clean": "rimraf dist && yarn build", | ||
"build:clean": "rm -rf dist && yarn build", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved just a question why are we replacing rimraf with rm -rf which wouldn't work with windows machines unless or course git bash or other tooling is used ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, I can submit another to revert this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change reverted: #376
Hmm, unfortunately I don't think this is true, they are both used for communication. The former is used not via the messenger, but the |
@Gudahtt Ah... you're right, thanks. I will add those packages back to dev + peerDependencies. |
@metamask/gas-fee-controller
and@metamask/network-controller
frompeerDependencies
todependencies
, as neither of them are being used for communication@metamask/composable-controller
,@types/readable-stream
,jest-environment-jsdoc
, andts-node
as they were not being usedrimraf
with a shell commandThis is a cleanup task that I'd like to get in before releasing the next major version.