Skip to content

Commit

Permalink
use beta instead of next react version
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Apr 26, 2024
1 parent d6f8032 commit e244830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/lib/cli/src/sandbox-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const baseTemplates = {
'react-vite/prerelease-ts': {
name: 'React Prerelease (Vite | TypeScript)',
script:
'npm create vite --yes {{beforeDir}} -- --template react-ts && cd {{beforeDir}} && yarn add react@next react-dom@next',
'npm create vite --yes {{beforeDir}} -- --template react-ts && cd {{beforeDir}} && yarn add react@beta react-dom@beta',
expected: {
framework: '@storybook/react-vite',
renderer: '@storybook/react',
Expand Down Expand Up @@ -236,7 +236,7 @@ const baseTemplates = {
'react-webpack/prerelease-ts': {
name: 'React Prerelease (Webpack | TypeScript)',
script:
'yarn create webpack5-react {{beforeDir}} --version-react="next" --version-react-dom="next"',
'yarn create webpack5-react {{beforeDir}} --version-react="beta" --version-react-dom="beta"',
expected: {
framework: '@storybook/react-webpack5',
renderer: '@storybook/react',
Expand Down

0 comments on commit e244830

Please sign in to comment.