Skip to content

Commit 0bf50e3

Browse files
authored
chore(deps): update dependencies (#323)
1 parent 0396eec commit 0bf50e3

File tree

20 files changed

+4283
-4514
lines changed

20 files changed

+4283
-4514
lines changed

.github/workflows/linea-ccip-gateway-build-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
packages/linea-state-verifier
2222
pnpm-workspace.yaml
2323
pnpm-lock.yaml
24+
package.json
2425
sparse-checkout-cone-mode: false
2526

2627
- name: Set Docker Tag Devnet

.github/workflows/linea-ccip-gateway-tests.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,18 @@ jobs:
2626
packages/linea-state-verifier
2727
pnpm-workspace.yaml
2828
pnpm-lock.yaml
29+
package.json
2930
sparse-checkout-cone-mode: false
3031

3132
- name: Setup pnpm
3233
uses: pnpm/[email protected]
3334
with:
34-
version: 9.1.3
35+
version: 10.10.0
3536

36-
- name: Get pnpm store directory
37-
shell: bash
37+
- name: Install Bun
3838
run: |
39-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
40-
41-
- uses: actions/cache@v4
42-
name: Setup pnpm cache
43-
with:
44-
path: ${{ env.STORE_PATH }}
45-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
46-
restore-keys: |
47-
${{ runner.os }}-pnpm-store-
48-
49-
- name: For act to work (local testing)
50-
run: npm -g install yarn
39+
curl -fsSL https://bun.sh/install | bash
40+
echo "$HOME/.bun/bin" >> $GITHUB_PATH
5141
5242
- name: Install Dependencies
5343
run: pnpm install --frozen-lockfile

.github/workflows/linea-ens-contracts-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v4
2727

28-
- name: For act to work (local testing)
29-
run: npm -g install yarn
30-
3128
- name: Use Node.js 18
3229
uses: actions/setup-node@v4
3330
with:

.github/workflows/linea-ens-resolver-tests.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66
- main
77
paths:
88
- "packages/linea-ens-resolver/**"
9+
- ".github/workflows/linea-ens-resolver-tests.yml"
910
push:
1011
branches:
1112
- main
1213
paths:
13-
- "packages/linea-ens-app/**"
14+
- "packages/linea-ens-resolver/**"
15+
- ".github/workflows/linea-ens-resolver-tests.yml"
1416

1517
jobs:
1618
linea-ens-resolver-tests:
@@ -25,28 +27,18 @@ jobs:
2527
packages/linea-state-verifier
2628
pnpm-workspace.yaml
2729
pnpm-lock.yaml
30+
package.json
2831
sparse-checkout-cone-mode: false
2932

3033
- name: Setup pnpm
3134
uses: pnpm/[email protected]
3235
with:
33-
version: 9.1.3
36+
version: 10.10.0
3437

35-
- name: Get pnpm store directory
36-
shell: bash
38+
- name: Install Bun
3739
run: |
38-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
39-
40-
- uses: actions/cache@v4
41-
name: Setup pnpm cache
42-
with:
43-
path: ${{ env.STORE_PATH }}
44-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
45-
restore-keys: |
46-
${{ runner.os }}-pnpm-store-
47-
48-
- name: For act to work (local testing)
49-
run: npm -g install yarn
40+
curl -fsSL https://bun.sh/install | bash
41+
echo "$HOME/.bun/bin" >> $GITHUB_PATH
5042
5143
- name: Install Dependencies
5244
run: pnpm install --frozen-lockfile

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "linea-ens",
3+
"version": "1.0.0",
4+
"private": true,
5+
"description": "Linea ENS monorepo"
6+
}

packages/linea-ccip-gateway/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM node:20-slim AS base
33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
55

6-
RUN corepack enable && corepack prepare pnpm@9.14.4 --activate
6+
RUN corepack enable && corepack prepare pnpm@10.10.0 --activate
77

88
RUN apt-get update && apt-get install -y \
99
python3 \

packages/linea-ccip-gateway/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ try {
121121
const host = _req.protocol + '://' + _req.get('host');
122122
// Call the actual method to get the results for a specific slot location to check that it resolves correctly
123123
// Query to retrieve the address of "test.linea.eth" using the mainnet linea ccip gateway
124-
let urlToCheck = `${host}/0xde16ee87b0c019499cebdde29c9f7686560f679a/0xea9cd3bf00000000000000000000000086c5aed9f27837074612288610fb98ccc1733126000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000002000001ff000000000000000000000000000000000000000000000000000000000102200304ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a6b048e995adeec31455b4128a77bb8c173bd1314c7c99ab5e09622ee28be2f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000020a6b048e995adeec31455b4128a77bb8c173bd1314c7c99ab5e09622ee28be2f00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003c.json`;
124+
let urlToCheck = `${host}/0xde16ee87b0c019499cebdde29c9f7686560f679a/0xea9cd3bf00000000000000000000000086c5aed9f27837074612288610fb98ccc1733126000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000002000001ff0000000000000000000000000000000000000000000000000000000001022003ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000202700336c8b812cbb94faa6dddb7703eb34783f7fbf9602691decf68e661836640000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000202700336c8b812cbb94faa6dddb7703eb34783f7fbf9602691decf68e66183664.json`;
125125
if (nodeEnv === 'test') {
126126
// If on sepolia the values are slightly different
127127
// Query to retrieve the address of "test.linea-sepolia.eth" using the linea sepolia ccip gateway

packages/linea-ens-app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ENV NEXT_PUBLIC_THE_GRAPH_SEPOLIA_API_KEY=$NEXT_PUBLIC_THE_GRAPH_SEPOLIA_API_KEY
2525
COPY . .
2626

2727
# Install pnpm and dependencies
28-
RUN npm install -g pnpm
28+
RUN npm install -g pnpm@10.10.0
2929
RUN rm -rf node_modules
3030
RUN pnpm config set store-dir ~/.local/share/pnpm/store
3131

packages/linea-ens-app/package.json

Lines changed: 33 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -3,49 +3,49 @@
33
"version": "0.1.124",
44
"license": "(MIT OR Apache-2.0)",
55
"scripts": {
6-
"dev": "NODE_NO_WARNINGS=1 next dev",
7-
"dev:https": "next-dev-https --https --qr --port 3000",
8-
"dev:nlocal": "NEXT_PUBLIC_PROVIDER=http://localhost:8545 NEXT_PUBLIC_AVUP_ENDPOINT=http://localhost:8787 pnpm dev",
9-
"dev:localname": "NEXT_PUBLIC_PROVIDER=\"http://$(\"hostname\"):8545\" && NEXT_PUBLIC_AVUP_ENDPOINT=\"http://$(\"hostname\"):8787\" && NEXT_PUBLIC_GRAPH_URI=\"http://$(\"hostname\"):8000/subgraphs/name/graphprotocol/ens\" && pnpm dev",
10-
"dev:glocal": "rm -rf .next && NEXT_PUBLIC_GRAPH_URI=http://localhost:8000/subgraphs/name/graphprotocol/ens NEXT_PUBLIC_ETH_NODE=anvil pnpm dev:nlocal",
11-
"dev:gonline": "NEXT_PUBLIC_GRAPH_URI=https://api.thegraph.com/subgraphs/name/tateb/temp-goerli-ens pnpm dev",
6+
"analyse": "pnpm analyze",
7+
"analyze": "ANALYZE=true pnpm build",
128
"build": "next build",
13-
"build:preview": "NEXT_PUBLIC_ENSJS_DEBUG=true next build --profile",
14-
"build:local": "ANALYZE=true next build",
159
"build:glocal": "NEXT_PUBLIC_GRAPH_URI=http://localhost:8000/subgraphs/name/graphprotocol/ens NEXT_PUBLIC_PROVIDER=http://localhost:8545 NEXT_PUBLIC_ETH_NODE=anvil pnpm build",
10+
"build:local": "ANALYZE=true next build",
1611
"build:localname": "NEXT_PUBLIC_PROVIDER=\"http://$(\"hostname\"):8545\" && NEXT_PUBLIC_GRAPH_URI=\"http://$(\"hostname\"):8000/subgraphs/name/graphprotocol/ens\" && pnpm build",
17-
"start": "next start",
18-
"buildandstart": "pnpm build && pnpm start",
12+
"build:preview": "NEXT_PUBLIC_ENSJS_DEBUG=true next build --profile",
1913
"buildandexport": "pnpm build && pnpm export",
14+
"buildandstart": "pnpm build && pnpm start",
2015
"buildandstart:glocal": "pnpm build:glocal && pnpm start",
21-
"tenv": "ens-test-env -a",
16+
"compose": "cp ./node_modules/@ensdomains/ens-test-env/src/docker-compose.yml ./docker-compose.yml",
2217
"denv": "cd ../linea-ens-contracts && yarn && yarn build && cd ../linea-ens-app && pnpm i && pnpm tenv start -ns -nb --extra-time 12232000 --verbosity 1",
23-
"lint": "next lint && pnpm stylelint stylelint \"./src/**/*.tsx\"",
24-
"lint:types": "tsc --noEmit",
25-
"lint:fix": "next lint --fix",
26-
"export:add-mm-ios-provider": "node ./scripts/add-mm-ios-provider.mjs",
27-
"export:base": "next export",
28-
"export": "pnpm export:base && pnpm export:add-mm-ios-provider",
29-
"analyze": "ANALYZE=true pnpm build",
30-
"analyse": "pnpm analyze",
31-
"test": "vitest run",
32-
"test:watch": "vitest",
33-
"test:coverage": "vitest run --coverage",
34-
"e2e:install": "npx playwright install chromium",
18+
"dev": "NODE_NO_WARNINGS=1 next dev",
19+
"dev:glocal": "rm -rf .next && NEXT_PUBLIC_GRAPH_URI=http://localhost:8000/subgraphs/name/graphprotocol/ens NEXT_PUBLIC_ETH_NODE=anvil pnpm dev:nlocal",
20+
"dev:gonline": "NEXT_PUBLIC_GRAPH_URI=https://api.thegraph.com/subgraphs/name/tateb/temp-goerli-ens pnpm dev",
21+
"dev:https": "next-dev-https --https --qr --port 3000",
22+
"dev:localname": "NEXT_PUBLIC_PROVIDER=\"http://$(\"hostname\"):8545\" && NEXT_PUBLIC_AVUP_ENDPOINT=\"http://$(\"hostname\"):8787\" && NEXT_PUBLIC_GRAPH_URI=\"http://$(\"hostname\"):8000/subgraphs/name/graphprotocol/ens\" && pnpm dev",
23+
"dev:nlocal": "NEXT_PUBLIC_PROVIDER=http://localhost:8545 NEXT_PUBLIC_AVUP_ENDPOINT=http://localhost:8787 pnpm dev",
3524
"e2e": "npx playwright test --project=stateless",
36-
"e2e:stateful": "npx playwright test --project=stateful",
3725
"e2e:ci": "E2E=true CI=true STABLE_MODE=true SLOW_MODE=true pnpm tenv start --extra-time 11368000",
26+
"e2e:install": "npx playwright install chromium",
27+
"e2e:stateful": "npx playwright test --project=stateful",
28+
"enode": "ganache --wallet.mnemonic=\"test test test test test test test test test test test junk\" --chain.chainId 1337 --chain.networkId 1337 --chain.time 1659500634000",
29+
"export": "pnpm export:base && pnpm export:add-mm-ios-provider",
30+
"export:add-mm-ios-provider": "node ./scripts/add-mm-ios-provider.mjs",
31+
"export:base": "next export",
32+
"generate:sitemaps": "node ./scripts/generate-site-map.mjs",
33+
"lint": "next lint && pnpm stylelint stylelint \"./src/**/*.tsx\"",
34+
"lint:fix": "next lint --fix",
35+
"lint:types": "tsc --noEmit",
3836
"local:add:ensjs": "yalc add @ensdomains/ensjs --workspace && pnpm install",
39-
"local:remove:ensjs": "node ./scripts/removeWorkspace.mjs @ensdomains/ensjs && yalc remove @ensdomains/ensjs && pnpm install",
4037
"local:add:thorin": "yalc add @ensdomains/thorin --workspace && pnpm install",
38+
"local:remove:ensjs": "node ./scripts/removeWorkspace.mjs @ensdomains/ensjs && yalc remove @ensdomains/ensjs && pnpm install",
4139
"local:remove:thorin": "node ./scripts/removeWorkspace.mjs @ensdomains/thorin && yalc remove @ensdomains/thorin && pnpm install",
40+
"start": "next start",
41+
"subgraph:update": "ens-test-env subgraph --var NEXT_PUBLIC_DEPLOYMENT_ADDRESSES",
42+
"tenv": "ens-test-env -a",
43+
"test": "vitest run",
44+
"test:coverage": "vitest run --coverage",
45+
"test:watch": "vitest",
4246
"wrangle": "wrangler pages dev ./out --local --log-level none",
4347
"wrangle:dev": "wrangler pages dev ./next",
44-
"wrangle:list": "wrangler deployments list",
45-
"generate:sitemaps": "node ./scripts/generate-site-map.mjs",
46-
"enode": "ganache --wallet.mnemonic=\"test test test test test test test test test test test junk\" --chain.chainId 1337 --chain.networkId 1337 --chain.time 1659500634000",
47-
"compose": "cp ./node_modules/@ensdomains/ens-test-env/src/docker-compose.yml ./docker-compose.yml",
48-
"subgraph:update": "ens-test-env subgraph --var NEXT_PUBLIC_DEPLOYMENT_ADDRESSES"
48+
"wrangle:list": "wrangler deployments list"
4949
},
5050
"dependencies": {
5151
"@ensdomains/address-encoder": "1.1.1",
@@ -98,10 +98,6 @@
9898
"viem": "^2.7.13",
9999
"wagmi": "2.5.7"
100100
},
101-
"peerDependencies": {
102-
"react": "*",
103-
"react-dom": "*"
104-
},
105101
"devDependencies": {
106102
"@adraffy/ens-normalize": "^1.9.4",
107103
"@cloudflare/workers-types": "^3.14.1",
@@ -196,18 +192,8 @@
196192
"yalc": "^1.0.0-pre.53",
197193
"yaml": "^2.4.1"
198194
},
199-
"pnpm": {
200-
"overrides": {
201-
"wrtc": "https://registry.npmjs.org/@koush/wrtc/-/wrtc-0.5.2.tgz",
202-
"bn.js": "npm:bn.js@^5.2.0",
203-
"@nomiclabs/hardhat-ethers": "npm:[email protected]",
204-
"@walletconnect/ethereum-provider": "2.11.1",
205-
"@walletconnect/modal": "2.6.2"
206-
},
207-
"patchedDependencies": {
208-
209-
210-
211-
}
195+
"peerDependencies": {
196+
"react": "*",
197+
"react-dom": "*"
212198
}
213199
}

0 commit comments

Comments
 (0)