Skip to content

Commit a97fa6d

Browse files
authored
Merge branch 'main' into feat/add-allowance-module-citrea
2 parents a23b4d9 + 6f854a6 commit a97fa6d

15 files changed

+2527
-44
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
version: 9
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 20.x
17+
node-version: 22
1818
cache: pnpm
1919
- run: pnpm install --frozen-lockfile
20+
- run: pnpm run lint
21+
- run: pnpm run build
22+
- run: pnpm test

.github/workflows/update-registry.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Setup Node.js
5555
uses: actions/setup-node@v4
5656
with:
57-
node-version: 20.x
57+
node-version: 22
5858
cache: pnpm
5959

6060
- name: Install dependencies

package.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@safe-global/safe-modules-deployments",
3-
"version": "2.2.24",
3+
"version": "2.2.25",
44
"description": "Collection of Safe modules contract deployments",
55
"homepage": "https://github.com/safe-global/safe-modules-deployments/",
66
"license": "MIT",
@@ -12,11 +12,18 @@
1212
],
1313
"scripts": {
1414
"build": "rimraf dist && tsc",
15-
"lint": "eslint --max-warnings 0 src/",
16-
"lint:fix": "pnpm run lint --fix",
15+
"lint": "pnpm run lint:ts && pnpm run lint:json",
16+
"lint:fix": "pnpm run lint:ts --fix && pnpm run lint:json --write",
17+
"lint:json": "prettier --check \"src/assets/**/*.json\"",
18+
"lint:ts": "eslint --max-warnings 0 src/",
1719
"prepare": "pnpm run build",
20+
"test": "jest",
1821
"update-registry": "tsx scripts/update-registry.ts"
1922
},
23+
"jest": {
24+
"preset": "ts-jest",
25+
"testEnvironment": "node"
26+
},
2027
"repository": {
2128
"type": "git",
2229
"url": "git+https://github.com/safe-global/safe-modules-deployments.git"
@@ -32,13 +39,16 @@
3239
},
3340
"devDependencies": {
3441
"@eslint/js": "^8.56.0",
42+
"@types/jest": "^29.5.14",
3543
"@types/node": "^20.14.2",
3644
"eslint": "^8.56.0",
3745
"eslint-plugin-prettier": "^5.1.3",
3846
"prettier": "^3.3.2",
3947
"rimraf": "^5.0.7",
4048
"tsx": "^4.7.0",
4149
"typescript": "^5.4.5",
50+
"jest": "^29.7.0",
51+
"ts-jest": "^29.2.6",
4252
"typescript-eslint": "^7.13.0",
4353
"viem": "^2.44.0"
4454
}

0 commit comments

Comments
 (0)