Skip to content
master
Go to file
Code

Latest commit

The main reason we leave Winston is that log messages are gettings lost. (See winstonjs/winston#1250 ). We have tried many workaround, some were working for a while but break after some changes were made in Bit/Winston.
The time invested to chase after these issues don't worth the effort anymore.

We chose Pino, mostly because it's the fastest as of now. However, it has some downsides:
1. it doesn't have an option of log file rotation. For now, Winston is still there to take care of the rotation and to provide the "profile" option that doesn't exist on Pino.
2. out of the box Pino doesn't have multi-stream, it needs to be configured with an extra package. For now, if `--log` is used, it writes only to the console and not to the file. (with Winston, we used to write to both streams).
3. for non-json output, the option of `destination.sync` is `true`, which makes it slower. Otherwise, it has the same issues we experienced with Winston of log messages getting lost. (the flushing with `pino.final` doesn't help).
cf33883

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Aug 25, 2020
Jan 5, 2020

README.md

apache prs Circle Status styled with prettier Join Slack Tweet

Bit is the platform for collaborating on components

Bit Workflow

DocumentationTutorialsQuick start guide Workflowsbit.dev components cloudVideo demo

What is Bit? 🤔

Bit is an open-source cli tool for collaborating on isolated components across projects and repositories.
Use Bit to distribute discrete components from a design library or a project into a standalone reusable package and utilize it across applications.
You can set up your own server for components collaboration, or use the bit.dev cloud hosting for private and public components sharing.

Why Bit? 🎖️

Bit facilitates the process of collaborating on UI components. Team members can share, maintain, and synchronize isolated components from different projects.

Bit allows teams to:

  • Increase code reusability
  • Increase design and development efficiency
  • Retain UI and UX consistency
  • Increase project's stability

Key Features 🔑

  • Extract a component for sharing directly from an existing library or project.
  • Validate the component's independence by building and testing each component separately from the rest of the project.
  • Change the source code of shared components from any application that utilizes it.
  • Get published changes in components on top of local modifications.
  • Contribute back changes made to components directly from the consuming applications.
  • Automatically wrap each component as an npm package.
  • Distribute discrete components instead of a single massive package.
  • Automate component versioning according to changes in its dependencies.
  • Use with leading frameworks and tools: React, Vue, Angular, Mocha, Jest.
  • Works alongside Git, NPM, and Yarn.

Bit is working with Javascript and Javascript frameworks:

Installation 🚪

Using npm:

npm install bit-bin --global

Using yarn:

yarn global add bit-bin  

Bit cli requires node 8.12 and above. Check other installation methods.

bit.dev cloud 🌩️

Use bit.dev cloud hosting solution as a shared server and showcase for your components.

Contributing 🎗️

Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.

See Contributing.

License 💮

Apache License, Version 2.0 Analytics

You can’t perform that action at this time.