From 313712d28893c1e2405f4c2937033873e4c38d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Fri, 7 Apr 2023 18:48:21 +0900 Subject: [PATCH] feat(create-vite): move TypeScript ones up (#12057) --- packages/create-vite/src/index.ts | 70 +++++++++++++++---------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/packages/create-vite/src/index.ts b/packages/create-vite/src/index.ts index 45d865530d9c3a..dfc9473e23ff55 100755 --- a/packages/create-vite/src/index.ts +++ b/packages/create-vite/src/index.ts @@ -44,16 +44,16 @@ const FRAMEWORKS: Framework[] = [ display: 'Vanilla', color: yellow, variants: [ - { - name: 'vanilla', - display: 'JavaScript', - color: yellow, - }, { name: 'vanilla-ts', display: 'TypeScript', color: blue, }, + { + name: 'vanilla', + display: 'JavaScript', + color: yellow, + }, ], }, { @@ -61,16 +61,16 @@ const FRAMEWORKS: Framework[] = [ display: 'Vue', color: green, variants: [ - { - name: 'vue', - display: 'JavaScript', - color: yellow, - }, { name: 'vue-ts', display: 'TypeScript', color: blue, }, + { + name: 'vue', + display: 'JavaScript', + color: yellow, + }, { name: 'custom-create-vue', display: 'Customize with create-vue ↗', @@ -90,26 +90,26 @@ const FRAMEWORKS: Framework[] = [ display: 'React', color: cyan, variants: [ - { - name: 'react', - display: 'JavaScript', - color: yellow, - }, { name: 'react-ts', display: 'TypeScript', color: blue, }, - { - name: 'react-swc', - display: 'JavaScript + SWC', - color: yellow, - }, { name: 'react-swc-ts', display: 'TypeScript + SWC', color: blue, }, + { + name: 'react', + display: 'JavaScript', + color: yellow, + }, + { + name: 'react-swc', + display: 'JavaScript + SWC', + color: yellow, + }, ], }, { @@ -117,16 +117,16 @@ const FRAMEWORKS: Framework[] = [ display: 'Preact', color: magenta, variants: [ - { - name: 'preact', - display: 'JavaScript', - color: yellow, - }, { name: 'preact-ts', display: 'TypeScript', color: blue, }, + { + name: 'preact', + display: 'JavaScript', + color: yellow, + }, ], }, { @@ -134,16 +134,16 @@ const FRAMEWORKS: Framework[] = [ display: 'Lit', color: lightRed, variants: [ - { - name: 'lit', - display: 'JavaScript', - color: yellow, - }, { name: 'lit-ts', display: 'TypeScript', color: blue, }, + { + name: 'lit', + display: 'JavaScript', + color: yellow, + }, ], }, { @@ -151,16 +151,16 @@ const FRAMEWORKS: Framework[] = [ display: 'Svelte', color: red, variants: [ - { - name: 'svelte', - display: 'JavaScript', - color: yellow, - }, { name: 'svelte-ts', display: 'TypeScript', color: blue, }, + { + name: 'svelte', + display: 'JavaScript', + color: yellow, + }, { name: 'custom-svelte-kit', display: 'SvelteKit ↗',