Skip to content

Commit 703c26a

Browse files
Merge pull request #78 from Hats-Protocol/chore/update-deps
Update dependencies
2 parents 1f63d3a + 587cd69 commit 703c26a

File tree

7 files changed

+3497
-2731
lines changed

7 files changed

+3497
-2731
lines changed

.github/workflows/bundle.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,20 @@ jobs:
2020
- name: Setup node
2121
uses: actions/setup-node@v3
2222
with:
23-
node-version: 18.16.1
23+
node-version: 20
24+
- name: Install pnpm
25+
uses: pnpm/action-setup@v4
26+
with:
27+
version: 10
28+
run_install: false
2429
- name: Set up foundry
2530
uses: foundry-rs/foundry-toolchain@v1
2631
- name: Install
27-
run: yarn install --frozen-lockfile
32+
run: pnpm install --frozen-lockfile
2833
- name: Bundle
2934
run: |
30-
yarn bundle
31-
yarn format-bundle
35+
pnpm bundle
36+
pnpm format-bundle
3237
git config user.name modules-registry-bot
3338
git config user.email [email protected]
3439
git add .

.github/workflows/test.yml

+18-8
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,24 @@ jobs:
2525
- name: Setup node
2626
uses: actions/setup-node@v3
2727
with:
28-
node-version: 18.16.1
28+
node-version: 20
29+
- name: Install pnpm
30+
uses: pnpm/action-setup@v4
31+
with:
32+
version: 10
33+
run_install: false
2934
- name: Set up foundry
3035
uses: foundry-rs/foundry-toolchain@v1
3136
- name: Install
32-
run: yarn install --frozen-lockfile
37+
run: pnpm install --frozen-lockfile
3338
- name: Check Format
34-
run: yarn prettier . --check
39+
run: pnpm prettier . --check
3540
- name: Test
3641
uses: nick-fields/retry@v2
3742
with:
3843
timeout_minutes: 10
3944
max_attempts: 3
40-
command: yarn test
45+
command: pnpm test
4146
test-branch:
4247
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
4348
env:
@@ -58,16 +63,21 @@ jobs:
5863
- name: Setup node
5964
uses: actions/setup-node@v3
6065
with:
61-
node-version: 18.16.1
66+
node-version: 20
67+
- name: Install pnpm
68+
uses: pnpm/action-setup@v4
69+
with:
70+
version: 10
71+
run_install: false
6272
- name: Set up foundry
6373
uses: foundry-rs/foundry-toolchain@v1
6474
- name: Install
65-
run: yarn install --frozen-lockfile
75+
run: pnpm install --frozen-lockfile
6676
- name: Check Format
67-
run: yarn prettier . --check
77+
run: pnpm prettier . --check
6878
- name: Test
6979
uses: nick-fields/retry@v2
7080
with:
7181
timeout_minutes: 10
7282
max_attempts: 3
73-
command: yarn test
83+
command: pnpm test

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm-lock.yaml

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"license": "MIT",
66
"type": "module",
77
"scripts": {
8-
"test": "NODE_OPTIONS=--experimental-vm-modules yarn exec jest -- -i",
8+
"test": "NODE_OPTIONS=--experimental-vm-modules pnpm jest test.ts -i",
99
"bundle": "tsx ./publish.ts",
1010
"format-all": "prettier --write .",
1111
"format-bundle": "prettier --write modules.json"
1212
},
1313
"devDependencies": {
14-
"@hatsprotocol/modules-sdk": "1.0.0",
14+
"@hatsprotocol/modules-sdk": "1.5.0",
1515
"@types/jest": "^29.5.4",
16-
"@viem/anvil": "0.0.5",
16+
"@viem/anvil": "0.0.10",
1717
"async-sema": "^3.1.1",
1818
"axios": "^1.6.1",
1919
"dotenv": "^16.3.1",
@@ -24,7 +24,7 @@
2424
"tslib": "^2.6.2",
2525
"tsx": "^4.7.0",
2626
"typescript": "^5.1.6",
27-
"viem": "1.16.5",
27+
"viem": "2.26.3",
2828
"zod": "^3.22.4"
2929
}
3030
}

0 commit comments

Comments
 (0)