Skip to content

Commit 223868b

Browse files
committed
feat(esm): Make vitest an optional peerDep in packages/testing (#378)
1 parent 37ea03d commit 223868b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

packages/testing/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@
155155
"typescript": "5.6.2",
156156
"vitest": "3.2.4"
157157
},
158+
"peerDependencies": {
159+
"vitest": "3.2.4"
160+
},
161+
"peerDependenciesMeta": {
162+
"vitest": {
163+
"optional": true
164+
}
165+
},
158166
"publishConfig": {
159167
"access": "public"
160168
},

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3532,6 +3532,11 @@ __metadata:
35323532
unplugin-auto-import: "npm:19.3.0"
35333533
vitest: "npm:3.2.4"
35343534
whatwg-fetch: "npm:3.6.20"
3535+
peerDependencies:
3536+
vitest: 3.2.4
3537+
peerDependenciesMeta:
3538+
vitest:
3539+
optional: true
35353540
languageName: unknown
35363541
linkType: soft
35373542

0 commit comments

Comments
 (0)