-
Notifications
You must be signed in to change notification settings - Fork 242
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
Update dependencies #2011
Update dependencies #2011
Conversation
Changelog ReminderReminder to update the CHANGELOG.md for any of the modified packages in this PR.
|
This reverts commit 3bfc61b.
- prettier-eslint, @typescript-eslint/eslint-plugin, @typescript-eslint/parser - @nomicfoundation/hardhat-chai-matchers - @nomicfoundation/hardhat-ethers - node-jq - chai-as-promised
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #2011 +/- ##
==========================================
- Coverage 88.45% 88.36% -0.09%
==========================================
Files 111 111
Lines 6971 6999 +28
Branches 933 962 +29
==========================================
+ Hits 6166 6185 +19
- Misses 803 812 +9
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -2,6 +2,7 @@ | |||
. "$(dirname "$0")/_/husky.sh" | |||
|
|||
# always lint these | |||
npm run lint:syncpack |
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.
might be assuming too much: if you don't use nix, you need to have shellcheck and actionlint installed globally.
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.
shellcheck
can be installed from NPM and could be added as a dev dependency to the project. Doesn't seem to be the case for actionlint
.
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.
let me clean up a bit of the shell scripts that have these dependencies.
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.
Cleaned up with some warning messages.
@@ -2,6 +2,7 @@ | |||
. "$(dirname "$0")/_/husky.sh" | |||
|
|||
# always lint these | |||
npm run lint:syncpack |
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.
shellcheck
can be installed from NPM and could be added as a dev dependency to the project. Doesn't seem to be the case for actionlint
.
package.json
Outdated
"@types/lodash": "^4.17.7", | ||
"@types/mocha": "^10.0.7", | ||
"@typescript-eslint/eslint-plugin": "8.3.0", | ||
"@typescript-eslint/parser": "8.3.0", |
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.
Not sure if some of these locked versions are on purpose
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.
probably not, not sure why it happenned with syncpack updating them
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.
Codified the rules with the syncpack:
semverGroups:
# Note: rule priority is top (high) to bottom (low)
- label: Use looser ranges for metadata and ethereum-contracts local packages
dependencies:
- "@superfluid-finance/metadata"
- "@superfluid-finance/ethereum-contracts"
range: "^"
- label: Use exact version for prod dependencies
dependencyTypes: ["prod"]
range: ""
- label: Use looser range by default
range: "^"
getting this when committing in ethereum-contracts:
|
new behaviour:
I used
probably not intended (?) |
fixed |
Our rules for semvers of packages is coded in .syncpackrc.yml, this currently requires 'exact' version for prod packages except metadata and ethereum-contracts:
Lerna has a option But I'd like to review the semverGroups rule before closing the PR, since I find the exceptions "fishy". |
XKCD Comic RelifLink: https://xkcd.com/2011 |
Dependencies left not updated to new major versions
◉ @nomicfoundation/hardhat-chai-matchers 1.0.6 → 2.0.7 - https://github.com/nomicfoundation/hardhat
◉ eslint 8.57.0 → 9.9.1 - https://github.com/eslint/eslint
◉ web3 ^1.10.4 → 4.12.1 - https://github.com/ChainSafe/web3.js
◉ @openzeppelin/contracts 4.9.6 → 5.0.2 - https://github.com/OpenZeppelin/openzeppelin-contracts
◉ ethers ^5.7.2 → 6.13.2 - https://github.com/ethers-io/ethers.js
◉ auto-bind 4.0.0 → 5.0.1 - https://github.com/sindresorhus/auto-bind
◉ node-fetch 2.7.0 → 3.3.2 - https://github.com/node-fetch/node-fetch
◉ graphql-request ^6.1.0 → 7.1.0 - https://github.com/jasonkuhrt/graphql-request
◉ @reduxjs/toolkit ^1.9.7 → 2.2.7 - https://github.com/reduxjs/redux-toolkit
◉ react-redux ^8.1.3 → 9.1.2 - https://github.com/reduxjs/react-redux