Skip to content

Commit ec858ef

Browse files
committed
FIX: deduplicating dependencies in CJS, ESM, 952 and compatibility tests.
1 parent f288791 commit ec858ef

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

tests/cjs/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
"private": true,
44
"version": "0.0.0",
55
"dependencies": {
6-
"express-zod-api": "link:../..",
7-
"express": "^4",
8-
"http-errors": "^2",
9-
"typescript": "^5",
10-
"zod": "^3"
6+
"express-zod-api": "link:../.."
117
}
128
}

tests/compat/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
"test": "jest"
77
},
88
"dependencies": {
9-
"express-zod-api": "link:../..",
10-
"express": "^4",
11-
"http-errors": "^2",
12-
"typescript": "^5",
13-
"zod": "^3"
9+
"express-zod-api": "link:../.."
1410
},
1511
"devDependencies": {
1612
"jest": "^30.0.0-alpha.3",

tests/esm/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
"version": "0.0.0",
55
"type": "module",
66
"dependencies": {
7-
"express-zod-api": "link:../..",
8-
"express": "^4",
9-
"http-errors": "^2",
10-
"typescript": "^5",
11-
"zod": "^3"
7+
"express-zod-api": "link:../.."
128
}
139
}

tests/issue952/package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77
"posttest": "rm quick-start.d.ts"
88
},
99
"dependencies": {
10-
"express-zod-api": "link:../..",
11-
"express": "^4",
12-
"http-errors": "^2",
13-
"typescript": "^5",
14-
"zod": "^3"
15-
},
16-
"devDependencies": {
17-
"@types/express": "^4"
10+
"express-zod-api": "link:../.."
1811
}
1912
}

0 commit comments

Comments
 (0)