Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rebuild-fixture): add temporary step for Storybook v7 #8406

Merged
merged 2 commits into from
May 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions __fixtures__/test-project/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
10 changes: 10 additions & 0 deletions tasks/test-project/test-project
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down