From 21527df0d950b4cfe11e75b16003ca591d270332 Mon Sep 17 00:00:00 2001 From: hannes Date: Fri, 19 Apr 2019 13:31:46 +0800 Subject: [PATCH 1/3] docs: add info for babel7 peer dep --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index eb880d5b..eee9a494 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,14 @@ Jest Vue transformer with source map support npm install --save-dev vue-jest ``` +### Usage with Babel 7 + +If you use the latest Version of [jest](https://github.com/facebook/jest) and [babel-jest](https://github.com/facebook/jest/tree/master/packages/babel-jest) make sure to install the needed peer-dependency of `vue-jest` + +```bash +npm install --save-dev babel-core@7.0.0-bridge.0 +``` + ## Setup To define `vue-jest` as a transformer for your `.vue` files, map them to the `vue-jest` module: From 0946b99d874d8de3487850ed9949baaf5da71193 Mon Sep 17 00:00:00 2001 From: hannes Date: Thu, 12 Sep 2019 11:23:28 +0200 Subject: [PATCH 2/3] docs: remove dteailed version for bridge Co-Authored-By: Edd Yerburgh --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eee9a494..d3954bd4 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ npm install --save-dev vue-jest If you use the latest Version of [jest](https://github.com/facebook/jest) and [babel-jest](https://github.com/facebook/jest/tree/master/packages/babel-jest) make sure to install the needed peer-dependency of `vue-jest` ```bash -npm install --save-dev babel-core@7.0.0-bridge.0 +npm install --save-dev babel-core@bridge ``` ## Setup From 9d6d3dbe5adeb17068d94bc29e30b34e810c5b8c Mon Sep 17 00:00:00 2001 From: hannes Date: Thu, 12 Sep 2019 11:24:06 +0200 Subject: [PATCH 3/3] docs: add bridge info Co-Authored-By: Edd Yerburgh --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3954bd4..d90199ec 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ npm install --save-dev vue-jest ### Usage with Babel 7 -If you use the latest Version of [jest](https://github.com/facebook/jest) and [babel-jest](https://github.com/facebook/jest/tree/master/packages/babel-jest) make sure to install the needed peer-dependency of `vue-jest` +If you use [jest](https://github.com/facebook/jest) < 24.0.0 and [babel-jest](https://github.com/facebook/jest/tree/master/packages/babel-jest) make sure to install babel-core@bridge ```bash npm install --save-dev babel-core@bridge