you-need-a-parser icon indicating copy to clipboard operation
you-need-a-parser copied to clipboard

fix/release: fix comdirect bugs and update versioning

Open morremeyer opened this issue 2 years ago • 7 comments

This PR contains two commits:

  • fix(ynap-parsers/de/comdirect): parsing of 'Ref.' field and thousands separator for comdirect
  • :bookmark: publish new versions

The first one fixes two small bugs in the comdirect parsing.

It also changes the versioning in the lerna config to be independent, so that e.g. fixes for the parser can be released without bumping the versions for the bank2ynab-converter and web-app packages.

This is an opinionated change, my reasoning here being that there is no need to release a new, unchanged version for packages that have not been changed since the last version.

The second PR bumps all versions since all packages have had changes since the last release. I ran npx lerna version for that commit.

@leolabs Is there a process to run the tests without needing to publish the packages first? I think to have the tests pass, right now, you would need to run lerna publish first which I obviously can not and even if I could, would not do right now.

morremeyer avatar May 10 '23 08:05 morremeyer

Thanks for the PR! Builds are currently failing, but I think that isn't caused by this PR but rather something I missed in your last PR. See my comments above for what might be causing this.

Regarding your question, you should be able to run yarn lerna run test to run tests in all packages.

leolabs avatar May 10 '23 12:05 leolabs

Thanks for the feedback! I'll work on it later this week and will probably also add a bit of documentation.

Out of curiosity, I saw you closed all the renovate PRs, do you want to skip these updates or just clean up the PR list?

morremeyer avatar May 10 '23 12:05 morremeyer

Thanks! I just wanted to clean up the PR list a bit. Renovate can by quite noisy with their PRs 😅

leolabs avatar May 10 '23 13:05 leolabs

That is true. I can work on the configuration a bit or on more extensive testing so they are easier to merge - I do use renovate quite intensely and am very familiar with it. We could scope these things out in an issue?

I do like this project quite a bit for what it does and I'd love to help out more, especially since we plan on using it as a dependency for the Envelope Zero frontend.

morremeyer avatar May 10 '23 13:05 morremeyer

That sounds great! We might want to run the bank2ynab script again to get those importers up to date as well – this project has been stale for a while since I stopped using YNAB a few years ago and I didn't have sufficient time to give it the care it deserves.

leolabs avatar May 10 '23 13:05 leolabs

Moving the dependency update discussion to #640.

morremeyer avatar May 12 '23 08:05 morremeyer

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 :tada:

Comparison is base (89a4907) 91.09% compared to head (e1df0a2) 91.10%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #619      +/-   ##
==========================================
+ Coverage   91.09%   91.10%   +0.01%     
==========================================
  Files          25       25              
  Lines         865      866       +1     
  Branches      234      234              
==========================================
+ Hits          788      789       +1     
  Misses         70       70              
  Partials        7        7              
Impacted Files Coverage Δ
packages/ynap-parsers/src/bank2ynab/bank2ynab.ts 68.96% <ø> (ø)
...ackages/ynap-parsers/src/de/comdirect/comdirect.ts 96.42% <100.00%> (ø)
...ackages/ynap-parsers/src/util/read-encoded-file.ts 94.44% <100.00%> (+0.32%) :arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Jun 30 '23 09:06 codecov[bot]