From bd65e83cba0b1139d623decfd43e8c4715873742 Mon Sep 17 00:00:00 2001 From: Rob Finbow Date: Mon, 2 Mar 2020 10:53:47 +0000 Subject: [PATCH] Yarn 2 compatibility fixes --- lib/cli/package.json | 3 +++ lib/codemod/package.json | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/cli/package.json b/lib/cli/package.json index 46b04953ec4..0d080cfd75e 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -85,6 +85,9 @@ "@storybook/vue": "6.0.0-alpha.21", "@storybook/web-components": "6.0.0-alpha.21" }, + "peerDependencies": { + "jest": "*" + }, "publishConfig": { "access": "public" }, diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 64846c32476..0c0ce5c8776 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -34,13 +34,16 @@ "core-js": "^3.0.1", "cross-spawn": "^7.0.0", "globby": "^11.0.0", - "jest-specific-snapshot": "^2.0.0", "jscodeshift": "^0.7.0", "lodash": "^4.17.15", "prettier": "^1.16.4", "recast": "^0.16.1", "regenerator-runtime": "^0.13.3" }, + "devDependencies": { + "jest": "^25.1.0", + "jest-specific-snapshot": "^2.0.0" + }, "publishConfig": { "access": "public" },