Fix yarn warnings from ticket#39
Conversation
Co-authored-by: jeff.smale <jeff.smale@consensys.net>
|
Caution Review the following alerts detected in dependencies. According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. It is recommended to resolve "Warn" alerts too. Learn more about Socket for GitHub.
|
| "keccak": "^3.0.4", | ||
| "nodemon": "^3.1.0", | ||
| "prettier": "^3.3.3", | ||
| "prettier": "^2.7.1", |
There was a problem hiding this comment.
One question: why do we need to specify the "prettier" version here if we also specify the same version on every package? Shouldn't they get the "prettier" version from this parent package.json?
📝 Description
This PR addresses various Yarn warnings by updating dependency versions and adding missing development dependencies across the project packages.
🔄 What Changed?
@types/nodeto^20.19.0to satisfyvitestrequirements.eslint-plugin-importto~2.26.0as required by@metamask/eslint-config.eslint-plugin-prettierto^4.2.1as required by@metamask/eslint-config.prettierto^2.7.1as required by@metamask/eslint-config.typescriptto^5.4.0to resolve version conflicts.eslint-config-prettier,eslint-plugin-import,eslint-plugin-jsdoc,eslint-plugin-n,eslint-plugin-prettier,eslint-plugin-promise) andprettierasdevDependenciestopackages/delegation-toolkit/package.json.prettierand updatedtypescriptinpackages/delegation-abis/package.json,packages/delegation-core/package.json, andpackages/delegation-deployments/package.json.🚀 Why?
🧪 How to Test?
yarnin the root directory.eslint-plugin-import,eslint-plugin-prettier,@types/node, andtypescript.📋 Checklist
🔗 Related Issues
Closes #1
📚 Additional Notes
Two warnings remain due to external package requirements not present in the original issue:
prettier: 2.8.8, but@metamask/create-release-branchrequires>=3.0.0typescript: 5.8.3, but@metamask/eslint-config-typescriptrequests~4.8.4 || ~5.0.0 || ~5.1.0(this is a resolution issue where Yarn resolves^5.4.0to5.8.3).These remaining warnings represent a trade-off to maintain compatibility with the current
@metamask/eslint-configversions while addressing the core issues.Open in Web • Open in Cursor