From 67d9521ada8ed869cba9c5adae26c20a45c4eb5a Mon Sep 17 00:00:00 2001 From: Alex <13454782+awulkan@users.noreply.github.com> Date: Wed, 27 Oct 2021 10:02:44 +0200 Subject: [PATCH 1/3] Change: Remove Jest 27 version specification Closes #406 Specifying the version number makes the installation fail. Omitting the version number results in installing the correct alpha version. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 51aab1a6..5e86ef77 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,12 @@ Since we need to support a variety of Vue and Jest versions, vue-jest doesn't fo | ----------- | ----------------- | ------------------- | | Vue 2 | Jest 26 and below | `vue-jest@4` | | Vue 3 | Jest 26 and below | `vue-jest@5` | -| Vue 2 | Jest 27 | `@vue/vue2-jest@27` | -| Vue 3 | Jest 27 | `@vue/vue3-jest@27` | +| Vue 2 | Jest 27 | `@vue/vue2-jest` | +| Vue 3 | Jest 27 | `@vue/vue3-jest` | ```bash -npm install --save-dev @vue/vue2-jest@27 # (use the appropriate version) -yarn add @vue/vue2-jest@27 --dev +npm install --save-dev @vue/vue2-jest +yarn add @vue/vue2-jest --dev ``` ## Setup From b40bc5d4d7fcfe81ed4ca8476f2dbad75a2d90ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Fontcuberta?= Date: Wed, 27 Oct 2021 10:16:40 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e86ef77..8a730a14 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Since we need to support a variety of Vue and Jest versions, vue-jest doesn't fo | Vue 3 | Jest 27 | `@vue/vue3-jest` | ```bash -npm install --save-dev @vue/vue2-jest +npm install --save-dev @vue/vue2-jest # (use the appropriate version) yarn add @vue/vue2-jest --dev ``` From 61d94d9aa750c03d0ddd8d92723dd668bbc75630 Mon Sep 17 00:00:00 2001 From: Nogic <24802730+nogic1008@users.noreply.github.com> Date: Mon, 15 Nov 2021 09:16:06 +0900 Subject: [PATCH 3/3] style: yarn format --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8a730a14..a2cd571e 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,12 @@ Jest transformer for Vue Single File Components. Since we need to support a variety of Vue and Jest versions, vue-jest doesn't follow semantic versioning. -| Vue version | Jest Version | Package | -| ----------- | ----------------- | ------------------- | -| Vue 2 | Jest 26 and below | `vue-jest@4` | -| Vue 3 | Jest 26 and below | `vue-jest@5` | -| Vue 2 | Jest 27 | `@vue/vue2-jest` | -| Vue 3 | Jest 27 | `@vue/vue3-jest` | +| Vue version | Jest Version | Package | +| ----------- | ----------------- | ---------------- | +| Vue 2 | Jest 26 and below | `vue-jest@4` | +| Vue 3 | Jest 26 and below | `vue-jest@5` | +| Vue 2 | Jest 27 | `@vue/vue2-jest` | +| Vue 3 | Jest 27 | `@vue/vue3-jest` | ```bash npm install --save-dev @vue/vue2-jest # (use the appropriate version)