oven-sh/bun

Change of loading counter of installed packages in `bun install`

Open

#14,124 opened on 2024年9月24日

GitHub で見る
 (2 comments) (3 reactions) (1 assignee)Rust (90,348 stars) (4,486 forks)batch import
enhancementgood first issue

説明

What is the problem this feature would solve?

When packages are installed, a counter is displayed with the number of packages installed, but during installation, the names of the packages change and the counter jumps back and forth accordingly, making it difficult to read this indicator

What is the feature you are proposing to solve the problem?

The current view of the bun install interface:

image

As you can see, the counter is on the right, and the name of the package is on the left, due to which the counter constantly changes its position

My solution that I can offer you

It is worth moving the counter to the left and the package name to the right, thanks to which it will be much easier to follow the progress of the installation

bun add vX.Y.Z (abc12345)
-  🚚 cool-package [70/73]
+  🚚 [70/73] cool-package

What alternatives have you considered?

I don't see any other alternatives.

コントリビューターガイド