New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update 'yansi' to 1.0.0-rc #121
chore: update 'yansi' to 1.0.0-rc #121
Conversation
Hey, sorry for the slow reply. Thanks for the PR, and the work to update this to v1 behind the scenes! This looks great to me, and the automatic windows support is a nice bonus. Also props for maintaining exactly the same terminal output for the v1 release, that made this a very easy decision. Will just wait for CI to pass, but don't see any other blockers. |
@SergioBenitez I'm not seeing ANSI codes being generated during windows CI runs in Github actions. I see that you run all of yansi tests against Windows in CI - I tried fixing a few things based on your configuration, but I'm still not seeing expected outputs. Do you have any insight into why this might be/anything you've updated recently in your CI flow? I have verified that it actually works in Windows under Powershell, so presuming this is some CI detection related issue. |
So in yansi's tests, I simply
|
@tommilligan Try rerunning the tests now. They should just work. |
9932f1a
to
777387d
Compare
3fd0a96
to
08838fe
Compare
Thanks - all good on stable. New version of |
That's actually really interesting, I guess I would still have seen the tests fail if actually ran |
Awesome! Note also that |
Updates yansi to 1.0.0-rc. Note that 1.0.0-rc is seen as semver compatible with 1.0.0 by Cargo, so no additional change would be necessary to get yansi 1.0 once it's released.
The main advantages to the update is 1) automatic support for Windows, 2) fewer allocations by making use of lingering, and 3) pithier styling in general.