Skip to content

Commit

Permalink
add temporary v6 step for storybook (redwoodjs#8406)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar authored May 25, 2023
1 parent ace8c33 commit 4598521
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
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

0 comments on commit 4598521

Please sign in to comment.