Skip to content

Commit ea31fa6

Browse files
authored
fix: added linea support (#82)
* fix: added linea support * fix: node version * fix: update workflows
1 parent a7e4c95 commit ea31fa6

File tree

7 files changed

+95
-39
lines changed

7 files changed

+95
-39
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# creates a new npm release
2+
name: release
3+
4+
on:
5+
workflow_call:
6+
secrets:
7+
NODE_AUTH_TOKEN:
8+
required: true
9+
10+
jobs:
11+
release-alpha:
12+
if: |
13+
github.event.pull_request.head.repo.full_name == github.repository
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: bgd-labs/github-workflows/.github/actions/setup-node@main
19+
20+
- name: install standard
21+
run: npm i -g standard-version
22+
23+
- name: release
24+
run: |
25+
standard-version --prerelease ${{ github.sha }} --skip.changelog --skip.commit --skip.tag
26+
27+
- name: Publish
28+
run: npm run ci:publish:beta
29+
env:
30+
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

.github/workflows/release-node.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# creates a new npm release
2+
name: release
3+
4+
on:
5+
workflow_call:
6+
secrets:
7+
NODE_AUTH_TOKEN:
8+
required: true
9+
10+
jobs:
11+
release:
12+
if: |
13+
github.event_name == 'push' &&
14+
github.ref == format('refs/heads/{0}', github.event.repository.default_branch) &&
15+
contains(github.event.head_commit.message, 'chore(main): release')
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: bgd-labs/github-workflows/.github/actions/setup-node@main
21+
22+
- name: Publish
23+
run: npm run ci:publish
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
pull-request-header: "I have created a release"
2323

2424
release-node:
25-
uses: bgd-labs/github-workflows/.github/workflows/release-node.yml@main
25+
uses: bgd-labs/aave-governance-ui-helpers/.github/workflows/release-node.yml@main
2626
if: ${{ needs.release-please.outputs.releaseCreated }}
2727
needs:
2828
- release-please

.github/workflows/test-release-alpha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ on:
99

1010
jobs:
1111
release-node-alpha:
12-
uses: bgd-labs/github-workflows/.github/workflows/release-node-alpha.yml@main
12+
uses: bgd-labs/aave-governance-ui-helpers/.github/workflows/release-node-alpha.yml@main
1313
secrets:
1414
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

package.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"build": "tsup",
2828
"cache:update": "VERBOSE=true tsx src/scripts/update-cache.ts",
2929
"cache:parse": "VERBOSE=true tsx src/scripts/parse-cache.ts",
30-
"ci:publish": "npm run build && npm publish --access=public"
30+
"ci:publish": "npm run build && npm publish --access=public",
31+
"ci:publish:beta": "npm run build && npm publish --tag beta --access=public"
3132
},
3233
"files": [
3334
"dist"
@@ -46,27 +47,27 @@
4647
},
4748
"devDependencies": {
4849
"@bgd-labs/aave-address-book": "^4.8.1",
49-
"@bgd-labs/js-utils": "^1.4.2",
50-
"@types/lodash": "^4.17.10",
51-
"@types/node": "^22.7.5",
50+
"@bgd-labs/js-utils": "^1.4.7",
51+
"@types/lodash": "^4.17.15",
52+
"@types/node": "^22.12.0",
5253
"bignumber.js": "^9.1.2",
53-
"dotenv": "^16.4.5",
54-
"eslint": "^9.12.0",
55-
"eslint-config-prettier": "^9.1.0",
54+
"dotenv": "^16.4.7",
55+
"eslint": "^9.19.0",
56+
"eslint-config-prettier": "^10.0.1",
5657
"eslint-plugin-import": "^2.31.0",
57-
"eslint-plugin-prettier": "^5.2.1",
58-
"eslint-plugin-react": "^7.37.1",
59-
"eslint-plugin-react-hooks": "^5.0.0",
58+
"eslint-plugin-prettier": "^5.2.3",
59+
"eslint-plugin-react": "^7.37.4",
60+
"eslint-plugin-react-hooks": "^5.1.0",
6061
"eslint-plugin-simple-import-sort": "^12.1.1",
6162
"ethers": "5",
62-
"globals": "^15.11.0",
63+
"globals": "^15.14.0",
6364
"lodash": "^4.17.21",
64-
"prettier": "^3.3.3",
65-
"tsup": "^8.3.0",
66-
"tsx": "^4.19.1",
67-
"typescript": "^5.6.3",
68-
"typescript-eslint": "^8.9.0",
69-
"viem": "^2.21.27"
65+
"prettier": "^3.4.2",
66+
"tsup": "^8.3.6",
67+
"tsx": "^4.19.2",
68+
"typescript": "^5.7.3",
69+
"typescript-eslint": "^8.22.0",
70+
"viem": "^2.22.16"
7071
},
7172
"dependencies": {
7273
"abitype": "^1.0.8",

yarn.lock

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.8.1.tgz#3c8b97c24770df3e3e965e58932b7f0a40e3b706"
1313
integrity sha512-t0Qz6lycoxVgoa9Jhx3t80CpZfQJD9yIH1tY22eGeN0Li2nFG9Y+XX3i3UQrzqZH613RymtyLHS4WXqVpZu4LA==
1414

15-
"@bgd-labs/js-utils@^1.4.2":
15+
"@bgd-labs/js-utils@^1.4.7":
1616
version "1.4.7"
1717
resolved "https://registry.yarnpkg.com/@bgd-labs/js-utils/-/js-utils-1.4.7.tgz#b011cdb4573d69951ded73006ded692318e71ae9"
1818
integrity sha512-rv8VZkNQlt71LPqveo1o/LMilq6XRS3gTJeDaoDCUtzFpv16S9PqZe92uoYLatUhhSvBEXKMmjnOoW/WbMsdVQ==
@@ -933,12 +933,12 @@
933933
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
934934
integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==
935935

936-
"@types/lodash@^4.17.10":
936+
"@types/lodash@^4.17.15":
937937
version "4.17.15"
938938
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.15.tgz#12d4af0ed17cc7600ce1f9980cec48fc17ad1e89"
939939
integrity sha512-w/P33JFeySuhN6JLkysYUK2gEmy9kHHFN7E8ro0tkfmlDOgxBDzWEZ/J8cWA+fHqFevpswDTFZnDx+R9lbL6xw==
940940

941-
"@types/node@^22.7.5":
941+
"@types/node@^22.12.0":
942942
version "22.12.0"
943943
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.12.0.tgz#bf8af3b2af0837b5a62a368756ff2b705ae0048c"
944944
integrity sha512-Fll2FZ1riMjNmlmJOdAyY5pUbkftXslB5DgEzlIuNaiWhXd00FhWxVC/r4yV/4wBb9JfImTu+jiSvXTkJ7F/gA==
@@ -1532,7 +1532,7 @@ doctrine@^2.1.0:
15321532
dependencies:
15331533
esutils "^2.0.2"
15341534

1535-
dotenv@^16.4.5:
1535+
dotenv@^16.4.7:
15361536
version "16.4.7"
15371537
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.7.tgz#0e20c5b82950140aa99be360a8a5f52335f53c26"
15381538
integrity sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==
@@ -1838,10 +1838,10 @@ escape-string-regexp@^4.0.0:
18381838
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
18391839
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
18401840

1841-
eslint-config-prettier@^9.1.0:
1842-
version "9.1.0"
1843-
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f"
1844-
integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==
1841+
eslint-config-prettier@^10.0.1:
1842+
version "10.0.1"
1843+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-10.0.1.tgz#fbb03bfc8db0651df9ce4e8b7150d11c5fe3addf"
1844+
integrity sha512-lZBts941cyJyeaooiKxAtzoPHTN+GbQTJFAIdQbRhA4/8whaAraEh47Whw/ZFfrjNSnlAxqfm9i0XVAEkULjCw==
18451845

18461846
eslint-import-resolver-node@^0.3.9:
18471847
version "0.3.9"
@@ -1884,20 +1884,20 @@ eslint-plugin-import@^2.31.0:
18841884
string.prototype.trimend "^1.0.8"
18851885
tsconfig-paths "^3.15.0"
18861886

1887-
eslint-plugin-prettier@^5.2.1:
1887+
eslint-plugin-prettier@^5.2.3:
18881888
version "5.2.3"
18891889
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.3.tgz#c4af01691a6fa9905207f0fbba0d7bea0902cce5"
18901890
integrity sha512-qJ+y0FfCp/mQYQ/vWQ3s7eUlFEL4PyKfAJxsnYTJ4YT73nsJBWqmEpFryxV9OeUiqmsTsYJ5Y+KDNaeP31wrRw==
18911891
dependencies:
18921892
prettier-linter-helpers "^1.0.0"
18931893
synckit "^0.9.1"
18941894

1895-
eslint-plugin-react-hooks@^5.0.0:
1895+
eslint-plugin-react-hooks@^5.1.0:
18961896
version "5.1.0"
18971897
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.1.0.tgz#3d34e37d5770866c34b87d5b499f5f0b53bf0854"
18981898
integrity sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw==
18991899

1900-
eslint-plugin-react@^7.37.1:
1900+
eslint-plugin-react@^7.37.4:
19011901
version "7.37.4"
19021902
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.37.4.tgz#1b6c80b6175b6ae4b26055ae4d55d04c414c7181"
19031903
integrity sha512-BGP0jRmfYyvOyvMoRX/uoUeW+GqNj9y16bPQzqAHf3AYII/tDs+jMN0dBVkl88/OZwNGwrVFxE7riHsXVfy/LQ==
@@ -1949,7 +1949,7 @@ eslint-visitor-keys@^4.2.0:
19491949
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz#687bacb2af884fcdda8a6e7d65c606f46a14cd45"
19501950
integrity sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==
19511951

1952-
eslint@^9.12.0:
1952+
eslint@^9.19.0:
19531953
version "9.19.0"
19541954
resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.19.0.tgz#ffa1d265fc4205e0f8464330d35f09e1d548b1bf"
19551955
integrity sha512-ug92j0LepKlbbEv6hD911THhoRHmbdXt2gX+VDABAW/Ir7D3nqKdv5Pf5vtlyY6HQMTEP2skXY43ueqTCWssEA==
@@ -2305,7 +2305,7 @@ globals@^14.0.0:
23052305
resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e"
23062306
integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==
23072307

2308-
globals@^15.11.0:
2308+
globals@^15.14.0:
23092309
version "15.14.0"
23102310
resolved "https://registry.yarnpkg.com/globals/-/globals-15.14.0.tgz#b8fd3a8941ff3b4d38f3319d433b61bbb482e73f"
23112311
integrity sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==
@@ -3182,7 +3182,7 @@ prettier-linter-helpers@^1.0.0:
31823182
dependencies:
31833183
fast-diff "^1.1.2"
31843184

3185-
prettier@^3.3.3:
3185+
prettier@^3.4.2:
31863186
version "3.4.2"
31873187
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.4.2.tgz#a5ce1fb522a588bf2b78ca44c6e6fe5aa5a2b13f"
31883188
integrity sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==
@@ -3750,7 +3750,7 @@ tslib@^2.6.2:
37503750
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.0.tgz#d124c86c3c05a40a91e6fdea4021bd31d377971b"
37513751
integrity sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==
37523752

3753-
tsup@^8.3.0:
3753+
tsup@^8.3.6:
37543754
version "8.3.6"
37553755
resolved "https://registry.yarnpkg.com/tsup/-/tsup-8.3.6.tgz#a10eb2dc27f84b510a0f00341ab75cad03d13a88"
37563756
integrity sha512-XkVtlDV/58S9Ye0JxUUTcrQk4S+EqlOHKzg6Roa62rdjL1nGWNUstG0xgI4vanHdfIpjP448J8vlN0oK6XOJ5g==
@@ -3772,7 +3772,7 @@ tsup@^8.3.0:
37723772
tinyglobby "^0.2.9"
37733773
tree-kill "^1.2.2"
37743774

3775-
tsx@^4.19.1:
3775+
tsx@^4.19.2:
37763776
version "4.19.2"
37773777
resolved "https://registry.yarnpkg.com/tsx/-/tsx-4.19.2.tgz#2d7814783440e0ae42354d0417d9c2989a2ae92c"
37783778
integrity sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==
@@ -3888,7 +3888,7 @@ typed-array-length@^1.0.7:
38883888
possible-typed-array-names "^1.0.0"
38893889
reflect.getprototypeof "^1.0.6"
38903890

3891-
typescript-eslint@^8.9.0:
3891+
typescript-eslint@^8.22.0:
38923892
version "8.22.0"
38933893
resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.22.0.tgz#1d4becf1d65385e57e9271fbd557ccc22f6c0f53"
38943894
integrity sha512-Y2rj210FW1Wb6TWXzQc5+P+EWI9/zdS57hLEc0gnyuvdzWo8+Y8brKlbj0muejonhMI/xAZCnZZwjbIfv1CkOw==
@@ -3897,7 +3897,7 @@ typescript-eslint@^8.9.0:
38973897
"@typescript-eslint/parser" "8.22.0"
38983898
"@typescript-eslint/utils" "8.22.0"
38993899

3900-
typescript@^5.6.3:
3900+
typescript@^5.7.3:
39013901
version "5.7.3"
39023902
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e"
39033903
integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==
@@ -3934,7 +3934,7 @@ uri-js@^4.2.2:
39343934
dependencies:
39353935
punycode "^2.1.0"
39363936

3937-
viem@^2.21.27:
3937+
viem@^2.22.16:
39383938
version "2.22.16"
39393939
resolved "https://registry.yarnpkg.com/viem/-/viem-2.22.16.tgz#f23e3a92284df3d05434d21fbf40b76b8f0b01b6"
39403940
integrity sha512-Eb4Ggna2fblb0oHBmy5XZ3Q4cN6fEmKxVpIWHjmAbtYVC9IfbZ28Z1/yZP2oOgvyRrostNndmnR298pgarBVGw==

0 commit comments

Comments
 (0)