{"id":20294218,"url":"https://github.com/teambit/examples-workspace-internal","last_synced_at":"2026-06-07T17:31:50.542Z","repository":{"id":80427611,"uuid":"311629083","full_name":"teambit/examples-workspace-internal","owner":"teambit","description":"Internal version of the Harmony beta project, where we'll add numerous use cases and tests to ensure that nightly changes dont break workflows ","archived":false,"fork":false,"pushed_at":"2021-04-05T09:08:17.000Z","size":1521,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-14T09:37:08.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teambit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2020-11-10T10:53:35.000Z","updated_at":"2022-07-15T06:18:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"9200c17e-0de2-4266-9649-ae8d46f0672c","html_url":"https://github.com/teambit/examples-workspace-internal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fexamples-workspace-internal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fexamples-workspace-internal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fexamples-workspace-internal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fexamples-workspace-internal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teambit","download_url":"https://codeload.github.com/teambit/examples-workspace-internal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241789344,"owners_count":20020459,"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":[],"created_at":"2024-11-14T15:28:18.180Z","updated_at":"2025-11-29T17:04:40.805Z","avatar_url":"https://github.com/teambit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This is an internal workspace for various mini POCs and use cases for Harmony\nTo be used for sandboxing various workflows and configs to both try them out and make sure they aren't broken by changes to Bit. \nWe don't want to confuse customers with all the various possibilities and options (e.g. js + ts + scss + stlyedJsx, etc etc) so please check before sharing outside of Bit.\n\nThebidea is eventually to export all the stable examples to an examples Scope under Teambit in bit.dev\n\nPlease see the [public Harmony Beta Project](https://github.com/teambit/bad-jokes-workspace) readme for guidance on using Harmony Bit.\n\n# Use-cases and Configs Showcased Here\n\n## Components\n\n### Javascript-only components\n\nComponents which dont need a typescript compiler. Generally they have been setup with a Babel environment, but at least one also compiles with the typescript compiler from the base react environment.\n\nUnder the `javascript` namespace.\n\n### StyledJsx \n\nAnother use-case from a beta-program partner. StyledJsx is almost exclusively used in conjunction with next.js (because why would you choose it as your styling method otherwise...). Here we've implemented a version of the babel-only env below, which includes the plugins required to compile styledJsx, as well as the correct dependencies for being able to consume the components in a next.js application.\n\nThis is implemented on the Container component, where the css has been replaced with styledjsx.\n\n### Css components\n\nThese are key to creating themes and templates via Bit components. There is *very* little documentation available anywhere on how to componentize and then consume css content (in all its flavours), so this is an important section of this project. \n\nUnder the `styling` namespace.\n\nNote: they are currently created with a react environment. Hopefully by the time you read this we'll have made a css-specific environment.\n\n### Handlebars\n\nUse case for creating handlebars components, in which data is passed to the component and inserted into the handlebars template, to output html.\n\n\n## Environments and Compilers\n\n### Babel-only (i.e. not TS) environment\n\nThis env implements a babel compiler and then switches out the default TS compiler. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambit%2Fexamples-workspace-internal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteambit%2Fexamples-workspace-internal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambit%2Fexamples-workspace-internal/lists"}