{"id":20872744,"url":"https://github.com/zalari/lerna-release-prototype","last_synced_at":"2026-04-22T11:34:33.502Z","repository":{"id":44032120,"uuid":"226849566","full_name":"zalari/lerna-release-prototype","owner":"zalari","description":"This is a very basic Lerna.js release prototype!","archived":false,"fork":false,"pushed_at":"2022-12-10T11:36:14.000Z","size":963,"stargazers_count":0,"open_issues_count":13,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-29T06:28:42.793Z","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/zalari.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}},"created_at":"2019-12-09T10:54:23.000Z","updated_at":"2019-12-09T20:29:12.000Z","dependencies_parsed_at":"2023-01-26T06:31:18.259Z","dependency_job_id":null,"html_url":"https://github.com/zalari/lerna-release-prototype","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/zalari/lerna-release-prototype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Flerna-release-prototype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Flerna-release-prototype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Flerna-release-prototype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Flerna-release-prototype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zalari","download_url":"https://codeload.github.com/zalari/lerna-release-prototype/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Flerna-release-prototype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32134378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-18T06:20:38.277Z","updated_at":"2026-04-22T11:34:33.489Z","avatar_url":"https://github.com/zalari.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lerna-Release-Prototype\n\n## Intro\nThis is a prototype for testing out Lerna.js releases. It can be fully tested, by using a local **NPM Registry** (Docker-based Verdaccio).\n\n## Setup\nYou need to have Node and Docker installed.\n\n1. install deps `npm install`\n1. run local test registry `npm run start:test-registry`\n1. create a test user for publishing `npm adduser --registry http://localhost:4873`\n\n## Release Flow 101\nThis prototype is for modelling the usage of a monorepo with the **Release Flow**[1] _branching model_. It basically boils down, to only using very _short-lived_ **topic** branches that are directly merged into **master**. The **master** branch is used for doing releases - in terms of NPM it will mean for publishing packages.\n\nFor implementing a feature you'd have to do the following steps:\n\n1. _create_ a topic branch\n1. actually implement a feature\n1. (optionally) _release_ a **canary** version for _\"others\"_\n1. merge-request it into master\n1. upon approval it will get merged into master and your topic branch is deleted\n\nReleases are always carried out from the **master** branch and involves in terms of a monorepo the following steps:\n\n1. all _changed_ components, i.e. all components that have changed **since the last** release **must** be _bumped_ and then _published_\n1. components that do **depend** on _other_ components (in the repo) need to be _bumped_ and _published_ as well\n\n### Example: Modify a component that is not consumed by other internal components and release it\nIn this example we will modify a component, that is not depended on by other components. Its change should only impact itself.\n1. create a topic branch: `npm run create-topic-branch topic/modify-b`\n1. implement it (change it): `npm run modify:component-b`\n1. merge-request and approve it: `npm run finish-topic-branch topic/modify-b \u0026\u0026 npm run delete-topic-branch topic/modify-b`\n1. release it: `npm run publish-all`\n\nNow you'd have to enter the version bump (major, minor, patch) and it will get _released_ (i.e. _published_)\n\n### Example: Modify a component that is consumed by other internal components\nIn this example we will modify a component, that is depended on by other components. Its change should trigger new releases for other components as well.\n\n1. create a topic branch: `npm run create-topic-branch topic/modify-a`\n1. implement it (change it): `npm run modify:component-a`\n1. merge-request and approve it: `npm run finish-topic-branch topic/modify-a \u0026\u0026 npm run delete-topic-branch topic/modify-a`\n1. release it: `npm run publish-all`\n\nNow you'd have to enter the version bump (major, minor, patch) for **both** components; **first** for the _modified_ component and **second** for the component, that is depending on it. **Both** will get _released_ (i.e. _published_).\n\n\n[1]: https://docs.microsoft.com/en-us/azure/devops/learn/devops-at-microsoft/release-flow\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalari%2Flerna-release-prototype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzalari%2Flerna-release-prototype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalari%2Flerna-release-prototype/lists"}