yeoman / yo

CLI tool for running Yeoman generators

Home Page:http://yeoman.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`package.json` contain wrong values inside `extensionPack` for vscode

kanlukasz opened this issue · comments

Type of issue

bug


My environment

  • OS version/details: Windows 10 64-bit with WSL2
  • Node version in WSL: v16.14.0
  • npm version in WSL: 8.5.4
  • Version of yo in WSL : 4.3.0

Current behavior

There are some problems in the package.json syntax after generating the VSCode extension pack in WSL2

  1. "String does not match the pattern of \"^([a-z0-9A-Z][a-z0-9-A-Z]*)\\.([a-z0-9A-Z][a-z0-9-A-Z]*)$\".",

  2. Screen:
    image

  3. Wrong values (this shouldn't exist at all, i guess?):

    "Extensions",
        "installed",
        "on",
        "WSL:",
        "Ubuntu-20.04:",

Steps to reproduce the behavior

  1. Run yo code
  2. Run New Extension Pack
  3. Add the currently installed extensions to the extension pack? --> Select Yes
  4. Fill rest of the fields
  5. Check package.json file