{"id":13395381,"url":"https://github.com/teambit/bit","last_synced_at":"2025-05-12T18:10:35.031Z","repository":{"id":37233089,"uuid":"79723839","full_name":"teambit/bit","owner":"teambit","description":"A build system for development of composable software.","archived":false,"fork":false,"pushed_at":"2025-05-11T03:34:36.000Z","size":193664,"stargazers_count":18066,"open_issues_count":43,"forks_count":938,"subscribers_count":178,"default_branch":"master","last_synced_at":"2025-05-12T18:09:15.138Z","etag":null,"topics":["angular","collaboration","component-driven","composable","composable-architecture","distributed","front-end","javascript","micro-frontend","micro-services","monorepo","multirepo","multirepo-maintenance","node-js","polyrepo","react","service-oriented-architecture","typescript","vue"],"latest_commit_sha":null,"homepage":"https://bit.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teambit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-01-22T14:51:43.000Z","updated_at":"2025-05-12T09:28:15.000Z","dependencies_parsed_at":"2023-12-20T12:23:58.618Z","dependency_job_id":"b6b01a7b-8991-492c-b327-b5685a073f9d","html_url":"https://github.com/teambit/bit","commit_stats":{"total_commits":13696,"total_committers":82,"mean_commits":"167.02439024390245","dds":0.7018107476635513,"last_synced_commit":"8008c3d997219db60f794f9775f0141c29825d76"},"previous_names":[],"tags_count":217,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teambit","download_url":"https://codeload.github.com/teambit/bit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253795144,"owners_count":21965486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","collaboration","component-driven","composable","composable-architecture","distributed","front-end","javascript","micro-frontend","micro-services","monorepo","multirepo","multirepo-maintenance","node-js","polyrepo","react","service-oriented-architecture","typescript","vue"],"created_at":"2024-07-30T17:01:55.439Z","updated_at":"2025-05-12T18:10:34.976Z","avatar_url":"https://github.com/teambit.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://static.bit.dev/bit-docs/readme-bit-logo.png\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://bit.dev/\"\u003eWebsite\u003c/a\u003e |\n  \u003ca href=\"https://bit.dev/docs/\"\u003eDocs\u003c/a\u003e |\n  \u003ca href=\"https://bit.cloud/bitdev\"\u003eCommunity\u003c/a\u003e |\n  \u003ca href=\"https://bit.cloud/\"\u003eBit Cloud\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  \n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://opensource.org/licenses/Apache-2.0\"\u003e\u003cimg alt=\"apache\" src=\"https://img.shields.io/badge/License-Apache%202.0-blue.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/teambit/bit/blob/master/CONTRIBUTING.md\"\u003e\u003cimg alt=\"prs\" src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://circleci.com/gh/teambit/bit/tree/master\"\u003e\u003cimg alt=\"Circle Status\" src=\"https://circleci.com/gh/teambit/bit/tree/master.svg?style=shield\"\u003e\n\u003ca href=\"https://github.com/prettier/prettier\"\u003e\u003cimg alt =\"Styled with Prettier\" src=\"https://img.shields.io/badge/styled_with-prettier-ff69b4.svg\"\u003e\n\u003ca href=\"https://join.slack.com/t/bit-dev-community/shared_invite/zt-1vq1vcxxu-CEVobR1p9BurmW8QnQFh1w\" \u003e\u003cimg alt=\"Join Slack\" src=\"https://img.shields.io/badge/Slack-Join%20Bit%20Slack-blueviolet\"/\u003e\u003c/a\u003e\n\n[Bit](https://bit.dev) is a complete solution for composing highly performant and consistent platforms from independent business features. It empowers developers to seamlessly integrate API-centric features into shell applications while maintaining optimal user experience, performance, safety, and developer experience\n\nBit supports all tooling in the JS ecosystem and comes out of the box with official dev environments for [NodeJS](https://bit.dev/docs/backend-intro), [React](https://bit.dev/docs/react-intro), [Angular](https://bit.dev/docs/angular-introduction), [Vue](https://bit.dev/docs/vue-intro), [React Native](https://bit.dev/docs/react-native-intro), [NextJS](https://bit.dev/docs/quick-start/hello-world-nextjs) and [far more](https://bit.dev/docs). All are native to TypeScript and ESM and equipped with the best dev tooling.\n\nBit is a fit to every codebase structure. You can use Bit components in a monorepo, polyrepo, or even without repositories at all. \n\n## Getting started\n\n### Install Bit\n\nUse the Bit installer to install Bit to be available on your PATH.\n\n```bash\nnpx @teambit/bvm install\n```\n\nInitialize Bit on a new folder or in an existing project by running the following command:\n\n```bash\nbit init --default-scope my-org.my-project\n```\n\nMake sure to create your scope on the Bit platform and use the right org and project name. After running the command, Bit is initialized on the chosen directory, and ready to be used via Bit commands, your editor or the Bit UI!\n\n### Create shell application\n\nCreate the application shell to run, compose and deploy your platform:\n\n```bash\nbit create harmony-platform acme-platform\n```\n\nRun the platform:\n\n```\nbit run acme-platform\n```\n\nHead to `http://localhost:3000` to view your application shell. You can provide API to ease the integration of features to the platform using Platform aspects. Learn more on [building platform aspects](https://bit.dev/docs/platform-engineering/platform-aspects) or optionally learn maintaining an [independent platform workspace](https://bit.dev/docs/workspaces/platform-workspace).\n\n### Create feature\n\nCreate a feature composing [React](https://bit.dev/docs/react/react-intro), [Angular](https://bit.dev/docs/angular/angular-intro), [Vue](https://bit.dev/docs/vue/vue-intro) or other components into your platform:\n\n```\nbit create aspect people\n```\n\nYou can find simple guides for creating NodeJS modules, UI components and apps, backend services and more on the [Create Component docs](https://bit.dev/docs/getting-started/composing/creating-components/). \n\nYou can add API to the people aspect to leverage as introducing new features into the platform. Dive deeper into [creating features](docs/getting-started/composing/create-feature) or optionally learn to create and maintain [independent feature workspaces](docs/workspaces/feature-workspace).\n\nCompose the feature into the application shell:\n\n```ts\n// acme-platform.bit-app.ts\nimport { HarmonyPlatform } from '@bitdev/harmony.harmony-platform';\nimport { SymphonyPlatformAspect } from '@bitdev/symphony.symphony-platform';\n// import the feature component\nimport { PeopleAspect } from '@my-org/people.people';\n\nexport const AcmePlatform = HarmonyPlatform.from({\n  name: 'acme-platform',\n  // use the Bit default platform engineering aspect\n  platform: [SymphonyPlatformAspect],\n  \n  aspects: [\n    // compose the people feature into the platform\n    PeopleAspect\n  ],\n});\n```\n\n### Create components\n\nCreate the components to compose into the feature. Run the following command to create a new React UI component for the platform `login` route:\n\n```\nbit create react login\n```\n\nAdjust the React login to your needs and finally compose the component into the platform:\n\n```tsx\n// people.browser.runtime.tsx\nimport { SymphonyPlatformAspect, type SymphonyPlatformBrowser } from '@bitdev/symphony.symphony-platform';\n// import the login component.\nimport { Login } from '@acme/support.routes.login';\n\nexport class PeopleBrowser {\n  // optionally define people browser runtime API\n  static dependencies = [SymphonyPlatformAspect];\n\n  static async provider([symphonyPlatform]: [SymphonyPlatformBrowser]) {\n    const support = new SupportBrowser();\n    // integrate the login as a route to the platform.\n    symphonyPlatform.registerRoute([\n      {\n        path: '/login',\n        component: () =\u003e \u003cLogin /\u003e\n      }\n    ]);\n\n    return support;\n  }\n}\n```\n\nHead to `http://localhost:3000/login` to view your new login page. \n\nYou can use `bit templates` to list official templates or find guides for creating React hooks, backend services, NodeJS modules, UI components and more on our [create components page](/getting-started/composing/creating-components). \nOptionally, use `bit start` to run the Bit UI to preview components in isolation.\n\n### Release and deploy\n\nYou can either use hosted scopes on [Bit Cloud](https://bit.cloud) or by [hosting scopes on your own](https://bit.dev/reference/scope/running-a-scope-server). Use the following command to create your Bit Cloud account and your first scope.\n\n```bash\nbit login\n```\n\nUse semantic versioning to version your components:\n\n```bash\nbit tag --message \"my first release\" --major\n```\n\nBy default, Bit uses [Ripple CI](https://bit.cloud/products/ripple-ci) to build components. You can use the `--build` flag to build the components on the local machine. To tag and export from your CI of choice to automate the release process or use [our official CI scripts](https://bit.dev/docs/getting-started/collaborate/exporting-components#ci-scripts).\n\nAfter versioning, you can proceed to release your components:\n\n```bash\nbit export\n```\n\n### Modernize existing projects\n\nHead over to your [bit.cloud account](https://bit.cloud) to see your components build progress. Once the build process is completed, the components will be available for use using standard package managers:\n\n```bash\nnpm install @my-org/my-project.hello-world\n```\n\n## Next steps\n\n- [Create more components](https://bit.dev/docs/getting-started/composing/creating-components/)\n- [Setup your editor](https://bit.dev/docs/getting-started/installing-bit/editor-setup)\n- [Configure CI of choice](https://bit.dev/docs/getting-started/collaborate/exporting-components/#ci-scripts)\n- [Start from an existing project](https://bit.dev/docs/getting-started/installing-bit/start-from-existing-project)\n\n## Contributors\n\nBit is entirely built with Bit and you can find all its components on [Bit Cloud](https://bit.cloud/teambit/~scopes).\n\n\u003ca href=\"../../graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/bit/contributors.svg?width=890\u0026button=false\" /\u003e\u003c/a\u003e\n\nYour contribution, no matter how big or small, is much appreciated. Before contributing, please read the [code of conduct](CODE_OF_CONDUCT.md).\n\nSee [Contributing](CONTRIBUTING.md).\n\n## License\n\n[Apache License, Version 2.0](https://github.com/teambit/bit/blob/master/LICENSE)\n","funding_links":[],"categories":["Developer Tools","Packages","Uncategorized","微前端框架","JavaScript","TypeScript","Tools","构建系统和依赖性管理工具","angular","Projects by main language","Component Managment [🔝](#readme)","Component Management","包","React","🌐 Web Development - Frontend","组件管理器","后端开发框架及项目","叫研发工具组","Components \u0026 Libraries","Command-line utilities","目录","HarmonyOS","Libraries and Frameworks","Dev Tools","Dev Tools [🔝](#readme)","Vue","工具","Awesome Angular [![Awesome TipeIO](https://img.shields.io/badge/Awesome%20Angular-@TipeIO-6C6AE7.svg)](https://github.com/gdi2290/awesome-angular) [![Awesome devarchy.com](https://img.shields.io/badge/Awesome%20Angular-@devarchy.com-86BDC1.svg)](https://github.com/brillout/awesome-angular-components)","React [🔝](#readme)"],"sub_categories":["Command-line utilities","Uncategorized","Julia Libraries","typescript","命令行工具","Tools","命令行实用工具","管理面板","付款","Dev Tools","Windows Manager","Tools - Miscellaneous","Bit","Vue CLI 3 Plugins","Crystal Libraries","调试","Angular \u003ca id=\"angular\"\u003e\u003c/a\u003e","Development workbenches","Projects"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambit%2Fbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteambit%2Fbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambit%2Fbit/lists"}