Skip to content

Commit

Permalink
Moar dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Apr 11, 2023
1 parent daf0e16 commit 44cabd7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions code/lib/cli/src/sandbox-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const baseTemplates = {
},
'react-vite/default-js': {
name: 'React Vite (JS)',
script: 'npm create vite@beta --yes . --template react',
script: 'npm create vite@beta --yes . -- --template react',
expected: {
framework: '@storybook/react-vite',
renderer: '@storybook/react',
Expand All @@ -131,7 +131,7 @@ const baseTemplates = {
},
'react-vite/default-ts': {
name: 'React Vite (TS)',
script: 'npm create vite@beta --yes . --template react-ts',
script: 'npm create vite@beta --yes . -- --template react-ts',
expected: {
framework: '@storybook/react-vite',
renderer: '@storybook/react',
Expand Down Expand Up @@ -184,7 +184,7 @@ const baseTemplates = {
},
'vue3-vite/default-js': {
name: 'Vue3 Vite (JS)',
script: 'npm create vite@beta --yes . --template vue',
script: 'npm create vite@beta --yes . -- --template vue',
expected: {
framework: '@storybook/vue3-vite',
renderer: '@storybook/vue3',
Expand All @@ -194,7 +194,7 @@ const baseTemplates = {
},
'vue3-vite/default-ts': {
name: 'Vue3 Vite (TS)',
script: 'npm create vite@beta --yes . --template vue-ts',
script: 'npm create vite@beta --yes . -- --template vue-ts',
expected: {
framework: '@storybook/vue3-vite',
renderer: '@storybook/vue3',
Expand Down Expand Up @@ -226,7 +226,7 @@ const baseTemplates = {
'html-vite/default-js': {
name: 'HTML Vite JS',
script:
'npm create vite@beta --yes . --template vanilla && echo "export default {}" > vite.config.js',
'npm create vite@beta --yes . -- --template vanilla && echo "export default {}" > vite.config.js',
expected: {
framework: '@storybook/html-vite',
renderer: '@storybook/html',
Expand All @@ -237,7 +237,7 @@ const baseTemplates = {
'html-vite/default-ts': {
name: 'HTML Vite TS',
script:
'npm create vite@beta --yes . --template vanilla-ts && echo "export default {}" > vite.config.js',
'npm create vite@beta --yes . -- --template vanilla-ts && echo "export default {}" > vite.config.js',
expected: {
framework: '@storybook/html-vite',
renderer: '@storybook/html',
Expand All @@ -247,7 +247,7 @@ const baseTemplates = {
},
'svelte-vite/default-js': {
name: 'Svelte Vite (JS)',
script: 'npm create vite@beta --yes . --template svelte',
script: 'npm create vite@beta --yes . -- --template svelte',
expected: {
framework: '@storybook/svelte-vite',
renderer: '@storybook/svelte',
Expand All @@ -257,7 +257,7 @@ const baseTemplates = {
},
'svelte-vite/default-ts': {
name: 'Svelte Vite (TS)',
script: 'npm create vite@beta --yes . --template svelte-ts',
script: 'npm create vite@beta --yes . -- --template svelte-ts',
expected: {
framework: '@storybook/svelte-vite',
renderer: '@storybook/svelte',
Expand Down Expand Up @@ -312,7 +312,7 @@ const baseTemplates = {
},
'lit-vite/default-js': {
name: 'Lit Vite (JS)',
script: 'npm create vite@beta --yes . --template lit',
script: 'npm create vite@beta --yes . -- --template lit',
expected: {
framework: '@storybook/web-components-vite',
renderer: '@storybook/web-components',
Expand All @@ -323,7 +323,7 @@ const baseTemplates = {
},
'lit-vite/default-ts': {
name: 'Lit Vite (TS)',
script: 'npm create vite@beta --yes . --template lit-ts',
script: 'npm create vite@beta --yes . -- --template lit-ts',
expected: {
framework: '@storybook/web-components-vite',
renderer: '@storybook/web-components',
Expand Down Expand Up @@ -377,7 +377,7 @@ const baseTemplates = {
},
'preact-vite/default-js': {
name: 'Preact Vite (JS)',
script: 'npm create vite@beta --yes . --template preact',
script: 'npm create vite@beta --yes . -- --template preact',
expected: {
framework: '@storybook/preact-vite',
renderer: '@storybook/preact',
Expand All @@ -387,7 +387,7 @@ const baseTemplates = {
},
'preact-vite/default-ts': {
name: 'Preact Vite (TS)',
script: 'npm create vite@beta --yes . --template preact-ts',
script: 'npm create vite@beta --yes . -- --template preact-ts',
expected: {
framework: '@storybook/preact-vite',
renderer: '@storybook/preact',
Expand Down

0 comments on commit 44cabd7

Please sign in to comment.