scolladon / sfdx-git-delta

Generate the sfdx content in source format from two git commits
Other
443 stars 115 forks source link

refactor: migrate to typescript #691

Closed scolladon closed 1 year ago

scolladon commented 1 year ago

Explain your changes


Migrate the whole plugin to typescript

Implement strict typescript rules

Fixes a few bugs along the way. Probably adding a few ones...We'll see

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (25ea2ff) 100.00% compared to head (803b659) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #691 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 34 33 -1 Lines 952 952 Branches 0 96 +96 ========================================= Hits 952 952 ``` | [Files Changed](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien) | Coverage Δ | | |---|---|---| | [src/locales/en.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL2xvY2FsZXMvZW4udHM=) | `100.00% <100.00%> (ø)` | | | [src/metadata/metadataManager.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL21ldGFkYXRhL21ldGFkYXRhTWFuYWdlci50cw==) | `100.00% <100.00%> (ø)` | | | [src/post-processor/baseProcessor.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL3Bvc3QtcHJvY2Vzc29yL2Jhc2VQcm9jZXNzb3IudHM=) | `100.00% <100.00%> (ø)` | | | [src/post-processor/flowTranslationProcessor.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL3Bvc3QtcHJvY2Vzc29yL2Zsb3dUcmFuc2xhdGlvblByb2Nlc3Nvci50cw==) | `100.00% <100.00%> (ø)` | | | [src/post-processor/includeProcessor.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL3Bvc3QtcHJvY2Vzc29yL2luY2x1ZGVQcm9jZXNzb3IudHM=) | `100.00% <100.00%> (ø)` | | | [src/post-processor/packageGenerator.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL3Bvc3QtcHJvY2Vzc29yL3BhY2thZ2VHZW5lcmF0b3IudHM=) | `100.00% <100.00%> (ø)` | | | [src/post-processor/postProcessorManager.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL3Bvc3QtcHJvY2Vzc29yL3Bvc3RQcm9jZXNzb3JNYW5hZ2VyLnRz) | `100.00% <100.00%> (ø)` | | | [src/service/botHandler.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL3NlcnZpY2UvYm90SGFuZGxlci50cw==) | `100.00% <100.00%> (ø)` | | | [src/service/customObjectHandler.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL3NlcnZpY2UvY3VzdG9tT2JqZWN0SGFuZGxlci50cw==) | `100.00% <100.00%> (ø)` | | | [src/service/diffLineInterpreter.ts](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien#diff-c3JjL3NlcnZpY2UvZGlmZkxpbmVJbnRlcnByZXRlci50cw==) | `100.00% <100.00%> (ø)` | | | ... and [23 more](https://app.codecov.io/gh/scolladon/sfdx-git-delta/pull/691?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebastien) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codeclimate[bot] commented 1 year ago

Code Climate has analyzed commit 803b659e and detected 0 issues on this pull request.

View more on Code Climate.

github-actions[bot] commented 1 year ago

Shipped in release v5.26.0. You can install the new version using the version number or the latest-rc channel

$ sfdx plugins:install sfdx-git-delta@latest-rc
$ sfdx plugins:install sfdx-git-delta@v5.26.0

Happy incremental deployment!