Bit 原子组件协作平台

组件的构建、分发和写作。(Build, distribute and collaborate on components.)

Bit 是组件协作的平台

文档教程快速入门指南 Workflowsbit.dev 组件云视频演示

Bit 是什么?

Bit 是一个开源的 Cli 工具,用于跨项目和资源库协作处理孤立的组件。

使用 Bit 将设计库或项目中的离散组件分发到一个独立的可重用包中,并在不同的应用程序中利用它。

您可以为组件协作设置自己的服务器,或者使用 bit.dev 云主机进行私有和公共组件共享。

为什么选择 Bit?

Bit 促进了 UI 组件的协作过程。团队成员可以共享、维护和同步来自不同项目的孤立组件。

Bit 允许团队

  • 增加代码的可重用性
  • 提高设计和开发效率
  • 保持 UI 和 UX 的一致性
  • 提高项目的稳定性

主要特性

  • 直接从现有的库或项目中提取一个组件进行共享。
  • 通过从项目的其他部分单独构建和测试每个组件来验证组件的独立性。
  • 从任何利用它的应用程序中更改共享组件的源代码。
  • 在本地修改的基础上获得组件中发布的修改。
  • 直接从消费应用程序中贡献出对组件的修改。
  • 自动将每个组件包装成一个 npm 包。
  • 分发离散的组件,而不是单一的大包。
  • 根据组件依赖关系的变化,自动进行组件版本管理。
  • 与领先的框架和工具一起使用。React, Vue, Angular, Mocha, Jest.
  • 与 Git、NPM 和 Yarn 一起工作。

Bit 正在与 Javascript 和 Javascript 框架合作。

安装

使用 npm。

npm install bit-bin --global

使用 yarn。

yarn global add bit-bin

Bit cli 需要 node 8.12 及以上。检查其他安装方法。

bit.dev 云

使用 bit.dev 云主机解决方案作为共享服务器,展示你的组件。

贡献

欢迎大家踊跃贡献,无论大小。在投稿之前,请先阅读行为准则

请看贡献

许可证

Apache 许可证,2.0 版本


(The first version translated by vz on 2020.09.13)

主要指标

概览
名称与所有者teambit/bit
主编程语言TypeScript
编程语言JavaScript (语言数: 13)
平台Linux, Mac, Windows
许可证Other
所有者活动
创建于2017-01-22 14:51:43
推送于2025-05-20 16:36:01
最后一次提交2025-05-20 12:35:59
发布数212
最新版本名称v1.10.0 (发布于 2025-04-29 16:10:27)
第一版名称v0.1.21 (发布于 2017-02-06 12:56:24)
用户参与
星数18.1k
关注者数178
派生数0.9k
提交数15.1k
已启用问题?
问题数1920
打开的问题数14
拉请求数7036
打开的拉请求数31
关闭的拉请求数541
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?





styled with prettier

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