Skip to content

Bug report: Update componentType in .you-rc.json seems incorrect for an extension #1574

@westerdaled

Description

@westerdaled

Description

Run SPFx Upgrade command ( see attached report) on a forked copy React Application Regions Footer extension .

In Update componentType in .yo-rc.json:

{
  "@microsoft/generator-sharepoint": {
    "componentType": "webpart"
  }
}

However, given I this is a SPFx extension, the recommended compentType looks incorrect.

Steps to reproduce

spfx project upgrade --toVersion 1.10.0 --output md --outputFile "upgrade-report.md"

Expected result

The report should indicate:


{
  "@microsoft/generator-sharepoint": {
    "componentType": "extension"
  }
}

Actual result

See upgrade-report.zip

Environment

npm install -g @pnp/office365-cli@next
2.10.0-beta.4206056

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions