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

Update dependencies #2011

Merged
merged 65 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from 58 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
f6e7671
update all dependencies, targeting patch+minor
hellwolf Aug 27, 2024
41162ce
root package.json: latest major syncpack
hellwolf Aug 27, 2024
3bfc61b
syncpack format all package.json
hellwolf Aug 27, 2024
23fe126
added .syncpackrc
hellwolf Aug 27, 2024
365fe0d
syncpack lint: graphql-request HighestSemverMismatch
hellwolf Aug 27, 2024
938eb6c
added lint:syncpack to ci and pre-commit
hellwolf Aug 27, 2024
5ffe6cc
Revert "syncpack format all package.json"
hellwolf Aug 27, 2024
25aa3a0
to .syncpackrc.yml
hellwolf Aug 27, 2024
c5dacaf
syncpack: format package.json files
hellwolf Aug 27, 2024
0a4f9d6
syncpack: format package.json files
hellwolf Aug 27, 2024
30d2861
workflow: fix stack-trace bug
hellwolf Aug 27, 2024
d5c50ac
dependency: update solhint
hellwolf Aug 27, 2024
ef4ce30
dependency: update husky to 9.1.5
hellwolf Aug 27, 2024
32f38e6
dependency: update a few small fishes
hellwolf Aug 27, 2024
4f707f4
downgrade @nomicfoundation/hardhat-chai-matchers
hellwolf Aug 27, 2024
8a96cb5
dependency: update lerna
hellwolf Aug 27, 2024
ca0358c
dependency: hardhat 9
hellwolf Aug 27, 2024
9e75ebf
dependency: update to webpack-cli 5
hellwolf Aug 27, 2024
2be5a2f
dependency: update nyc
hellwolf Aug 27, 2024
0e0fb10
dependency: update @graphql-codegen/near-operation-file-preset
hellwolf Aug 27, 2024
5db2d1e
workflow: try node20 in call.test-local-subgraph.yml
hellwolf Aug 27, 2024
5febc6e
flake: adding nodejs_22
hellwolf Aug 27, 2024
9bc3013
fix subgraph workflows
hellwolf Aug 27, 2024
86a3a79
fix subgraph helpers.ts
hellwolf Aug 27, 2024
8269674
fix subgraph workflow docker-compose
hellwolf Aug 27, 2024
67ed1e7
dependency: try to update graphql-request
hellwolf Aug 28, 2024
8c25833
Revert "dependency: try to update graphql-request"
hellwolf Aug 28, 2024
536487f
fix build
hellwolf Aug 28, 2024
5c5072d
workflow: tweak test-local-subgraph
hellwolf Aug 28, 2024
fada7ee
make some changes to subgraph package
hellwolf Aug 28, 2024
33c6d67
fix build
hellwolf Aug 28, 2024
b38cae3
push a little
hellwolf Aug 28, 2024
3a53184
fix build
hellwolf Aug 28, 2024
a1e3bff
fix build
hellwolf Aug 28, 2024
8d793f6
fix build
hellwolf Aug 28, 2024
872f98d
fix build
hellwolf Aug 28, 2024
ef93b2c
fix build
hellwolf Aug 28, 2024
500d567
fix build
hellwolf Aug 28, 2024
c816dad
fix build
hellwolf Aug 28, 2024
8141e12
fix build
hellwolf Aug 28, 2024
05428e3
try node20
hellwolf Aug 28, 2024
94e970f
try node20
hellwolf Aug 28, 2024
c587f66
resolve cross-fetch to ^4.0.0 to support node 20+
hellwolf Aug 28, 2024
8b48670
Merge branch 'dev' into fix-subgraph-local-test
hellwolf Aug 28, 2024
fe68559
Merge branch 'dev' into update-deps-20240822
hellwolf Aug 28, 2024
42f9d2f
revert subgraph changes, to be solved in a different PR
hellwolf Aug 28, 2024
ed9ff5d
use node20 for sdk-core testing
hellwolf Aug 28, 2024
3c858dc
clean up
hellwolf Aug 28, 2024
3b4e652
clean up
hellwolf Aug 28, 2024
fbd7cf4
clean up
hellwolf Aug 28, 2024
0cc5f86
Merge branch 'fix-subgraph-local-test' into update-deps-20240822
hellwolf Aug 28, 2024
db9f07f
dependency: remove resolutions.mocha
hellwolf Aug 28, 2024
79e9fb0
depencency: remove resolution.graphql
hellwolf Aug 28, 2024
f7dfa9e
workflow: make node22 default and testing 18,20,22
hellwolf Aug 29, 2024
b40312f
workflow: make node22 default and testing 18,20,22
hellwolf Aug 29, 2024
24a4428
Merge branch 'dev' into update-deps-20240822
hellwolf Aug 29, 2024
62f0ef2
update to yarn 1.22.22
hellwolf Aug 29, 2024
95c0068
add .yarnrc to build input files
hellwolf Aug 29, 2024
d8f003d
workflow cleanups
hellwolf Aug 29, 2024
fffe5d7
pre-commit script cleanup
hellwolf Aug 29, 2024
690475a
syncpack fix mismatches in semvers
hellwolf Aug 29, 2024
bafb888
update yarn.lock
hellwolf Aug 29, 2024
8e89c69
fix .husky/pre-commit
hellwolf Aug 30, 2024
445c143
remove @superfluid-finance/ethereum-contracts from special semver gro…
hellwolf Aug 30, 2024
ff9ed76
update readme
hellwolf Aug 30, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/call.test-ethereum-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
id: set-matrix
run: |
if [ "${{ inputs.run-coverage-tests }}" == "true" ];then
echo "matrix={\"node-version\": [20]}" >> "$GITHUB_OUTPUT"
echo "matrix={\"node-version\": [22]}" >> "$GITHUB_OUTPUT"
else
echo "matrix={\"node-version\": [18, 20]}" >> "$GITHUB_OUTPUT"
echo "matrix={\"node-version\": [18, 20, 22]}" >> "$GITHUB_OUTPUT"
fi

test-ethereum-contracts:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call.test-local-subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:

env:
DEV_SHELL_NAME: ci-node20
DEV_SHELL_NAME: ci-node22
ethereum-contracts-working-directory: ./packages/ethereum-contracts
sdk-core-working-directory: ./packages/sdk-core
subgraph-working-directory: ./packages/subgraph
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call.test-sdk-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
id: set-matrix
run: |
if [ "${{ inputs.run-coverage-tests }}" == "true" ];then
echo "matrix={\"node-version\": [20]}" >> "$GITHUB_OUTPUT"
echo "matrix={\"node-version\": [22]}" >> "$GITHUB_OUTPUT"
else
echo "matrix={\"node-version\": [18, 20]}" >> "$GITHUB_OUTPUT"
echo "matrix={\"node-version\": [18, 20, 22]}" >> "$GITHUB_OUTPUT"
fi

test-sdk-core:
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
. "$(dirname "$0")/_/husky.sh"

# always lint these
npm run lint:syncpack
Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

npm run lint:shellcheck
npm run lint:actionlint

Expand Down
14 changes: 14 additions & 0 deletions .syncpackrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
indent: " " # four spaces
dependencyTypes: ["!peer", "!resolutions"] # let us take care of the peer dependency resolutions by hand
sortAz: ["!scripts"] # we prefer to sort scripts by-hand, because sometimes it uses run-s pattern
semverGroups:
- label: Use looser ranges for metadata and ethereum-contracts local packages
dependencies:
- "@superfluid-finance/metadata"
- "@superfluid-finance/ethereum-contracts"
range: "^"
versionGroups:
- label: Pin stack-trace to the same version, since newer version starts to use ES module
dependencies:
- "stack-trace"
pinVersion: "0.0.10"
Loading