OfficeDev / TeamsFx

Developer tools for building Teams apps
Other
427 stars 165 forks source link

refactor: update scaffolding copilot project #11491

Closed yuqizhou77 closed 2 weeks ago

yuqizhou77 commented 2 weeks ago

New scaffold flow:

TODO: will add a CLI command ("teamsapp add plugin" for example) so that user can add plugin/action from an existing API spec to a Declarative Copilot project.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.80%. Comparing base (0169f9c) to head (89578f1). Report is 2 commits behind head on dev.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491/graphs/tree.svg?width=650&height=150&src=pr&token=QQX8WVOEC3&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev)](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev) ```diff @@ Coverage Diff @@ ## dev #11491 +/- ## ========================================== - Coverage 87.81% 87.80% -0.01% ========================================== Files 496 496 Lines 29714 29694 -20 Branches 5892 5775 -117 ========================================== - Hits 26093 26073 -20 Misses 1782 1782 Partials 1839 1839 ``` | [Files](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev) | Coverage Δ | | |---|---|---| | [packages/cli/src/commands/models/create.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fcommands%2Fmodels%2Fcreate.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvY2xpL3NyYy9jb21tYW5kcy9tb2RlbHMvY3JlYXRlLnRz) | `96.96% <ø> (-0.33%)` | :arrow_down: | | [packages/fx-core/src/common/constants.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491?src=pr&el=tree&filepath=packages%2Ffx-core%2Fsrc%2Fcommon%2Fconstants.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvZngtY29yZS9zcmMvY29tbW9uL2NvbnN0YW50cy50cw==) | `100.00% <100.00%> (ø)` | | | [...ackages/fx-core/src/component/coordinator/index.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491?src=pr&el=tree&filepath=packages%2Ffx-core%2Fsrc%2Fcomponent%2Fcoordinator%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvZngtY29yZS9zcmMvY29tcG9uZW50L2Nvb3JkaW5hdG9yL2luZGV4LnRz) | `87.59% <100.00%> (-0.03%)` | :arrow_down: | | [...src/component/generator/copilotPlugin/generator.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491?src=pr&el=tree&filepath=packages%2Ffx-core%2Fsrc%2Fcomponent%2Fgenerator%2FcopilotPlugin%2Fgenerator.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvZngtY29yZS9zcmMvY29tcG9uZW50L2dlbmVyYXRvci9jb3BpbG90UGx1Z2luL2dlbmVyYXRvci50cw==) | `91.17% <100.00%> (-0.61%)` | :arrow_down: | | [packages/fx-core/src/question/create.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491?src=pr&el=tree&filepath=packages%2Ffx-core%2Fsrc%2Fquestion%2Fcreate.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvZngtY29yZS9zcmMvcXVlc3Rpb24vY3JlYXRlLnRz) | `93.19% <100.00%> (-0.04%)` | :arrow_down: | | [...-core/src/question/options/CreateProjectOptions.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491?src=pr&el=tree&filepath=packages%2Ffx-core%2Fsrc%2Fquestion%2Foptions%2FCreateProjectOptions.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvZngtY29yZS9zcmMvcXVlc3Rpb24vb3B0aW9ucy9DcmVhdGVQcm9qZWN0T3B0aW9ucy50cw==) | `100.00% <ø> (ø)` | | | [packages/fx-core/src/question/questionNames.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11491?src=pr&el=tree&filepath=packages%2Ffx-core%2Fsrc%2Fquestion%2FquestionNames.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvZngtY29yZS9zcmMvcXVlc3Rpb24vcXVlc3Rpb25OYW1lcy50cw==) | `100.00% <ø> (ø)` | |