OfficeDev / TeamsFx

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

refactor: create project by customized generator #11420

Closed jayzhang closed 3 weeks ago

jayzhang commented 3 weeks ago

Define API contract for Generator and expose an API in FxCore to agent code to create project by customized generator.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 93.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 87.78%. Comparing base (81e5f0e) to head (3e2e02d). Report is 7 commits behind head on dev.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11420/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/11420?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev) ```diff @@ Coverage Diff @@ ## dev #11420 +/- ## ======================================= Coverage 87.78% 87.78% ======================================= Files 495 495 Lines 29667 29691 +24 Branches 5894 5917 +23 ======================================= + Hits 26042 26064 +22 Misses 1781 1781 - Partials 1844 1846 +2 ``` | [Files](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11420?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev) | Coverage Δ | | |---|---|---| | [packages/api/src/types.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11420?src=pr&el=tree&filepath=packages%2Fapi%2Fsrc%2Ftypes.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvYXBpL3NyYy90eXBlcy50cw==) | `0.00% <ø> (ø)` | | | [...component/generator/templates/templateGenerator.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11420?src=pr&el=tree&filepath=packages%2Ffx-core%2Fsrc%2Fcomponent%2Fgenerator%2Ftemplates%2FtemplateGenerator.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvZngtY29yZS9zcmMvY29tcG9uZW50L2dlbmVyYXRvci90ZW1wbGF0ZXMvdGVtcGxhdGVHZW5lcmF0b3IudHM=) | `91.13% <100.00%> (ø)` | | | [packages/fx-core/src/index.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11420?src=pr&el=tree&filepath=packages%2Ffx-core%2Fsrc%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvZngtY29yZS9zcmMvaW5kZXgudHM=) | `100.00% <100.00%> (ø)` | | | [packages/fx-core/src/core/FxCore.ts](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11420?src=pr&el=tree&filepath=packages%2Ffx-core%2Fsrc%2Fcore%2FFxCore.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvZngtY29yZS9zcmMvY29yZS9GeENvcmUudHM=) | `88.92% <92.59%> (+0.07%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/OfficeDev/TeamsFx/pull/11420/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev)