{"id":20294210,"url":"https://github.com/teambit/teambit-post-export-slot-example","last_synced_at":"2025-10-04T13:57:50.850Z","repository":{"id":69043274,"uuid":"505517030","full_name":"teambit/teambit-post-export-slot-example","owner":"teambit","description":"an example how to use the PostExport slot","archived":false,"fork":false,"pushed_at":"2022-06-20T17:16:10.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-11T00:44:08.974Z","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":"2022-06-20T16:27:14.000Z","updated_at":"2022-06-20T16:56:11.000Z","dependencies_parsed_at":"2023-06-06T22:15:48.372Z","dependency_job_id":null,"html_url":"https://github.com/teambit/teambit-post-export-slot-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teambit/teambit-post-export-slot-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fteambit-post-export-slot-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fteambit-post-export-slot-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fteambit-post-export-slot-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fteambit-post-export-slot-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teambit","download_url":"https://codeload.github.com/teambit/teambit-post-export-slot-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fteambit-post-export-slot-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278322146,"owners_count":25967874,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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:15.580Z","updated_at":"2025-10-04T13:57:50.817Z","avatar_url":"https://github.com/teambit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# teambit-post-export-slot-example\n\nAn example how to use the PostExport slot of Scope aspect.\n\nThis example prints the full `ComponentID` exported during the export.\nTo run it, please run the following after cloning the project:\n\n```\nbit compile\nbit install\n```\n\nCreate a new directory `my-scope` in `/tmp` and run the following there\n```\nbit init --bare\nbit start\n```\nwait a few minutes until it shows the link to http://localhost:3000\n\nGo back to the cloned repo, and run the following:\n\n```\nbit remote add http://localhost:3000\nbit tag\nbit export\n```\n\nYou should see following in the output \n```\nexportedIds [\n  ComponentID {\n    legacyComponentId: BitId {\n      scope: 'my-scope',\n      box: undefined,\n      name: 'post-export-example',\n      version: undefined\n    },\n    _scope: undefined\n  }\n]\nexported the following 1 component(s):\nmy-scope/post-export-example\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambit%2Fteambit-post-export-slot-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteambit%2Fteambit-post-export-slot-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambit%2Fteambit-post-export-slot-example/lists"}