Comments (6)
New version will be out soon, stay tuned @yannbf and @gandalf3 . By the way Storybooks looks awesome I need to get a look into it ;)
from boxen.
I second this, we're using this library in Storybook and we love it, but the result in CI is very tough to read, and the content gets a little messy when the users resize their terminal:
However, if there is always a new line, the result is perfect:
from boxen.
Additionally, we are also using boxen to visualize the terminal output in Storybook, so we can get visual regression and demo benefits.
Unfortunately, given that the newlines are not present, it looks really off, as the whole string is a single line:
If I make changes in the boxen source to always include new lines, it looks pretty cool:
from boxen.
oh my gosh this is perfect!! thank you so so much @Caesarovich !! I'll make sure to prepare that Storybook and make it available, showing the awesomeness of boxen 🙆
from boxen.
@yannbf I had no reason to push this before: storybookjs/storybook#20134
But now there might be a need to merge this soon?
So that we can start using ESM-only packages in core-server?
from boxen.
https://github.com/sindresorhus/boxen/releases/tag/v7.0.1 version 7.0.1 is now out !
Thanks for the support and the interest shown in boxen @yannbf :)
Boxen has already moved to ESM if that was your concern @ndelangen
I'll close this issue now, we'll wait for the feedback
from boxen.
Related Issues (20)
- Boxen colors don't get saved to console logs HOT 1
- Problem with BorderStyle HOT 2
- Do you mind if I do some code refactoring? HOT 2
- Border style type issue HOT 5
- New option width HOT 1
- Text wrapping doesn't account for margin
- Multiple boxes on same line (feature request) HOT 2
- New option: title HOT 1
- cropping leading whitespace in new version ?? HOT 4
- Upgrade `cli-boxes` dependency HOT 1
- Update widest-line vulnerability? HOT 2
- Upgrade `boxen-cli` HOT 3
- require() of ES Module not supported. With Typescript 4.6 and boxen 6.0.0 or higher. HOT 1
- ES module not supported HOT 1
- Max width option HOT 3
- Allow border to be optional. HOT 2
- Mark Spacing properties optional
- boxen is not working HOT 2
- Table border wrongly formatted HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boxen.