From cf25fba920516c36dc3abbf7d87d3b80923346c9 Mon Sep 17 00:00:00 2001 From: merceyz Date: Fri, 16 Oct 2020 10:53:32 +0200 Subject: [PATCH] fix(addon-storyshots): add missing peer dependencies for vue --- addons/storyshots/storyshots-core/package.json | 8 ++++++++ .../storyshots-core/src/frameworks/vue/renderTree.ts | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index a46a721e33f4..5bdc7a1cf829 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -63,6 +63,8 @@ "jest-vue-preprocessor": "^1.5.0" }, "peerDependencies": { + "@storybook/vue": "*", + "vue": "*", "jest-preset-angular": "*", "jest-vue-preprocessor": "*" }, @@ -72,6 +74,12 @@ }, "jest-vue-preprocessor": { "optional": true + }, + "@storybook/vue": { + "optional": true + }, + "vue": { + "optional": true } }, "publishConfig": { diff --git a/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts b/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts index 4dccbd478c9a..ea3f0f8bc0aa 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts +++ b/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts @@ -1,4 +1,3 @@ -// eslint-disable-next-line import/no-extraneous-dependencies import Vue from 'vue'; // this is defined in @storybook/vue but not exported,