From 5e8e5fd7021190406a60979a47162cb102df5672 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 14 Oct 2022 18:25:39 +0200 Subject: [PATCH] fix: Add/Update `repository` properties in `package.json` (#2151) --- packages/vitest/package.json | 3 ++- packages/web-worker/package.json | 5 +++++ packages/ws-client/package.json | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/vitest/package.json b/packages/vitest/package.json index e769cf020474..2585068a77c3 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -9,7 +9,8 @@ "homepage": "https://github.com/vitest-dev/vitest#readme", "repository": { "type": "git", - "url": "git+https://github.com/vitest-dev/vitest.git" + "url": "git+https://github.com/vitest-dev/vitest.git", + "directory": "packages/vitest" }, "bugs": { "url": "https://github.com/vitest-dev/vitest/issues" diff --git a/packages/web-worker/package.json b/packages/web-worker/package.json index c1cee99155a1..eb2bcca7fb85 100644 --- a/packages/web-worker/package.json +++ b/packages/web-worker/package.json @@ -3,6 +3,11 @@ "type": "module", "version": "0.24.3", "description": "Web Worker support for testing in Vitest", + "repository": { + "type": "git", + "url": "git+https://github.com/vitest-dev/vitest.git", + "directory": "packages/web-worker" + }, "exports": { ".": { "types": "./index.d.ts", diff --git a/packages/ws-client/package.json b/packages/ws-client/package.json index 7758ec167534..a3d7f55ee2d4 100644 --- a/packages/ws-client/package.json +++ b/packages/ws-client/package.json @@ -9,7 +9,8 @@ "homepage": "https://github.com/vitest-dev/vitest#readme", "repository": { "type": "git", - "url": "git+https://github.com/vitest-dev/vitest.git" + "url": "git+https://github.com/vitest-dev/vitest.git", + "directory": "packages/ws-client" }, "bugs": { "url": "https://github.com/vitest-dev/vitest/issues"