microsoft / vscode-generator-code

Visual Studio Code extension generator
Other
1.25k stars 219 forks source link

generated quickstart guide says use npm even though project chose yarn #478

Closed jonahgraham closed 1 month ago

jonahgraham commented 1 month ago

If I run yo code and choose yarn the vsc-extension-quickstart.md file says use Run `npm install`.

Here is what I ran:

$ npx --package yo --package generator-code -- yo code

     _-----_     ╭──────────────────────────╮
    |       |    │   Welcome to the Visual  │
    |--(o)--|    │   Studio Code Extension  │
   `---------´   │        generator!        │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

? What type of extension do you want to create? New Web Extension (TypeScript)
? What's the name of your extension? extensionname
? What's the identifier of your extension? extensionname
? What's the description of your extension? 
? Initialize a git repository? Yes
? Which bundler to use? esbuild
? Which package manager to use? yarn

I think this is where the value comes from:

https://github.com/microsoft/vscode-generator-code/blob/772b7922b8ae71bdba24a50fb18c760f76d2b1ba/generators/app/templates/ext-command-web/vsc-extension-quickstart.md?plain=1#L16