From 2729152208a841b4d378559167a921eb069ab399 Mon Sep 17 00:00:00 2001 From: Dominic Saadi Date: Tue, 23 May 2023 22:11:31 -0700 Subject: [PATCH] add temporary v6 step for storybook --- __fixtures__/test-project/web/package.json | 4 ++-- tasks/test-project/test-project | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/__fixtures__/test-project/web/package.json b/__fixtures__/test-project/web/package.json index 9fed2e59a0b4..ffd19514dc48 100644 --- a/__fixtures__/test-project/web/package.json +++ b/__fixtures__/test-project/web/package.json @@ -26,8 +26,8 @@ "autoprefixer": "^10.4.14", "postcss": "^8.4.23", "postcss-loader": "^7.3.0", - "prettier-plugin-tailwindcss": "^0.2.8", - "storybook": "7.0.12", + "prettier-plugin-tailwindcss": "^0.3.0", + "storybook": "^7.0.15", "tailwindcss": "^3.3.2" } } diff --git a/tasks/test-project/test-project b/tasks/test-project/test-project index 8d5df844362b..8e6b6b2513bb 100755 --- a/tasks/test-project/test-project +++ b/tasks/test-project/test-project @@ -175,6 +175,16 @@ const globalTasks = () => } }, }, + { + title: 'Temporary (v6): add storybook to web dependencies', + task: (_ctx, task) => { + task.output = 'Adding storybook to web dependencies...' + return execa.command( + 'yarn workspace web add -D storybook', + getExecaOptions(OUTPUT_PROJECT_PATH) + ) + }, + }, { title: '[link] Building Redwood framework', task: async () => {