From ea9d8ef3c0cc988317a56caaa0e706b9085d8cb5 Mon Sep 17 00:00:00 2001 From: James Ross Date: Sun, 1 Dec 2024 18:41:01 +0000 Subject: [PATCH] chore: pin to vitest 2.1.5 This works around https://github.com/vitest-dev/vitest/issues/6992 being an issue with Vite 6 --- .../hello-world-with-assets/js/package.json | 2 +- .../hello-world-with-assets/ts/package.json | 2 +- .../create-cloudflare/templates/hello-world/js/package.json | 2 +- .../create-cloudflare/templates/hello-world/ts/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json index 98365a3dbfe2..61ff6b6c523d 100644 --- a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json +++ b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json @@ -11,6 +11,6 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "wrangler": "^3.60.3", - "vitest": "2.1.6" + "vitest": "2.1.5" } } diff --git a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json index ee45b0885306..1fd2c06dd01c 100644 --- a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json +++ b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "typescript": "^5.5.2", - "vitest": "2.1.6", + "vitest": "2.1.5", "wrangler": "^3.60.3" } } diff --git a/packages/create-cloudflare/templates/hello-world/js/package.json b/packages/create-cloudflare/templates/hello-world/js/package.json index 98365a3dbfe2..61ff6b6c523d 100644 --- a/packages/create-cloudflare/templates/hello-world/js/package.json +++ b/packages/create-cloudflare/templates/hello-world/js/package.json @@ -11,6 +11,6 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "wrangler": "^3.60.3", - "vitest": "2.1.6" + "vitest": "2.1.5" } } diff --git a/packages/create-cloudflare/templates/hello-world/ts/package.json b/packages/create-cloudflare/templates/hello-world/ts/package.json index ee45b0885306..1fd2c06dd01c 100644 --- a/packages/create-cloudflare/templates/hello-world/ts/package.json +++ b/packages/create-cloudflare/templates/hello-world/ts/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "typescript": "^5.5.2", - "vitest": "2.1.6", + "vitest": "2.1.5", "wrangler": "^3.60.3" } }