Skip to content

Commit fc77b35

Browse files
update viem
1 parent 1f63d3a commit fc77b35

File tree

5 files changed

+15
-2728
lines changed

5 files changed

+15
-2728
lines changed

.github/workflows/bundle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
- name: Set up foundry
2525
uses: foundry-rs/foundry-toolchain@v1
2626
- name: Install
27-
run: yarn install --frozen-lockfile
27+
run: pnpm install --frozen-lockfile
2828
- name: Bundle
2929
run: |
30-
yarn bundle
31-
yarn format-bundle
30+
pnpm bundle
31+
pnpm format-bundle
3232
git config user.name modules-registry-bot
3333
git config user.email infra@hatsprotocol.xyz
3434
git add .

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
- name: Set up foundry
3030
uses: foundry-rs/foundry-toolchain@v1
3131
- name: Install
32-
run: yarn install --frozen-lockfile
32+
run: pnpm install --frozen-lockfile
3333
- name: Check Format
34-
run: yarn prettier . --check
34+
run: pnpm prettier . --check
3535
- name: Test
3636
uses: nick-fields/retry@v2
3737
with:
3838
timeout_minutes: 10
3939
max_attempts: 3
40-
command: yarn test
40+
command: pnpm test
4141
test-branch:
4242
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
4343
env:
@@ -62,12 +62,12 @@ jobs:
6262
- name: Set up foundry
6363
uses: foundry-rs/foundry-toolchain@v1
6464
- name: Install
65-
run: yarn install --frozen-lockfile
65+
run: pnpm install --frozen-lockfile
6666
- name: Check Format
67-
run: yarn prettier . --check
67+
run: pnpm prettier . --check
6868
- name: Test
6969
uses: nick-fields/retry@v2
7070
with:
7171
timeout_minutes: 10
7272
max_attempts: 3
73-
command: yarn test
73+
command: pnpm test

package.json

Lines changed: 4 additions & 4 deletions
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
}

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
onlyBuiltDependencies:
2+
- esbuild

0 commit comments

Comments
 (0)