diff --git a/README.md b/README.md index 3bb8f5e..c42e7b6 100644 --- a/README.md +++ b/README.md @@ -93,8 +93,8 @@ Kickstart your project with a starter in VSCode - [Create Solid](https://github.com/solidjs/solid-start/tree/main/packages/create-solid) - The easiest way to get started with Solid. - [Starter TS](https://github.com/antfu/starter-ts) - Starter template for TypeScript library. - [Starter VSCode](https://github.com/antfu/starter-vscode) - Starter template for VS Code Extension. -- [Nest CLI](https://github.com/nestjs/nest-cli) - CLI tool for Nest applications. - [Vitesse WebExt](https://github.com/antfu/vitesse-webext) - WebExtension Vite Starter Template. +- [Nest CLI](https://github.com/nestjs/nest-cli) - CLI tool for Nest applications. - ... ## License diff --git a/src/commands/starter.ts b/src/commands/starter.ts index 25da0e9..3c47cea 100644 --- a/src/commands/starter.ts +++ b/src/commands/starter.ts @@ -85,12 +85,12 @@ export class StarterCommands extends BaseCommands { case 'starter-vscode': await degit('antfu/starter-vscode').clone(`${projectPath}`) break - case 'nest-cli': - await this.handleCreateNest(projectName) - break case 'vitesse-webext': await degit('antfu/vitesse-webext').clone(`${projectPath}`) break + case 'nest-cli': + await this.handleCreateNest(projectName) + break default: break @@ -455,15 +455,6 @@ export class StarterCommands extends BaseCommands { kind: QuickPickItemKind.Separator, label: 'Nest', }, - { - label: 'Nest CLI(Official)', - iconPath: { - dark: Uri.file(this.context.asAbsolutePath('resources/nest.svg')), - light: Uri.file(this.context.asAbsolutePath('resources/nest.svg')), - }, - detail: 'CLI tool for Nest applications', - template: { id: 'nest-cli', defaultProjectName: 'nest-project' }, - }, { kind: QuickPickItemKind.Separator, label: 'Web Extension', @@ -477,6 +468,15 @@ export class StarterCommands extends BaseCommands { detail: 'WebExtension Vite Starter Template', template: { id: 'vitesse-webext', defaultProjectName: 'webext-vitesse-project' }, }, + { + label: 'Nest CLI(Official)', + iconPath: { + dark: Uri.file(this.context.asAbsolutePath('resources/nest.svg')), + light: Uri.file(this.context.asAbsolutePath('resources/nest.svg')), + }, + detail: 'CLI tool for Nest applications', + template: { id: 'nest-cli', defaultProjectName: 'nest-project' }, + }, ] return templates }