OfficeDev / generator-office

Yeoman generator for building Microsoft Office related projects.
https://www.npmjs.com/package/generator-office
MIT License
815 stars 207 forks source link

generator creates scaffolding for all microsoft applications instead of a singular one #830

Open mlmaria opened 2 weeks ago

mlmaria commented 2 weeks ago

Prerequisites

Expected behavior

I wanted to create the scaffolding for a Microsoft Word Add-in.

Current behavior

The add-in will create manifest files for every other MS application such as Outlook, Excel, Powerpoint, etc.

Steps to Reproduce

  1. yo office
  2. click through to create an add-in using React framework for Word

I've also tried the command yo office --projectType react --name "New Web AddIn" --host word --ts true

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Failure Logs

image
AlexJerabek commented 2 weeks ago

Thanks for reporting this @mlmaria. @millerds, could you please take a look?

For what it's worth, this didn't repro on Windows for me.

millerds commented 1 week ago

Can we get the full logs from the project generation (the screen shot only shows part)?

mlmaria commented 1 week ago
image image

Here is the full log when I try to run the yo office command.

millerds commented 1 week ago

Can you try running npm run convert-to-single-host word in the project that was created?

mlmaria commented 1 week ago
image

Here is what it says after I run npm run convert-to-single-host word