{"id":13547702,"url":"https://github.com/ImmoweltGroup/flow-mono-cli","last_synced_at":"2025-04-02T20:30:39.103Z","repository":{"id":26744833,"uuid":"109396287","full_name":"ImmoweltGroup/flow-mono-cli","owner":"ImmoweltGroup","description":"A command line interface that aims to solve a few issues while working with flow typed codebases in a mono-repo.","archived":true,"fork":false,"pushed_at":"2022-04-24T23:34:46.000Z","size":1188,"stargazers_count":88,"open_issues_count":33,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T02:03:34.350Z","etag":null,"topics":["flow","flowtype","flowtyped","lerna","lernajs","monorepo","workspaces","yarn"],"latest_commit_sha":null,"homepage":"https://immoweltgroup.gitbooks.io/flow-mono-cli/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ImmoweltGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-03T13:03:41.000Z","updated_at":"2025-01-16T21:41:58.000Z","dependencies_parsed_at":"2022-08-07T12:00:55.048Z","dependency_job_id":null,"html_url":"https://github.com/ImmoweltGroup/flow-mono-cli","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImmoweltGroup%2Fflow-mono-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImmoweltGroup%2Fflow-mono-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImmoweltGroup%2Fflow-mono-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImmoweltGroup%2Fflow-mono-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImmoweltGroup","download_url":"https://codeload.github.com/ImmoweltGroup/flow-mono-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246887791,"owners_count":20850141,"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":["flow","flowtype","flowtyped","lerna","lernajs","monorepo","workspaces","yarn"],"created_at":"2024-08-01T12:00:59.828Z","updated_at":"2025-04-02T20:30:38.297Z","avatar_url":"https://github.com/ImmoweltGroup.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","*.js","Tools"],"sub_categories":["Node"],"readme":"\u003cimg alt=\"flow-mono-cli\" src=\"https://user-images.githubusercontent.com/1557092/32433811-8ae21ef0-c2dc-11e7-9e5d-9757165427e0.png\" width=\"425\"\u003e\n\n# flow-mono-cli\n\n[![Powered by Immowelt](https://img.shields.io/badge/powered%20by-immowelt-yellow.svg?colorB=ffb200)](https://stackshare.io/immowelt-group/)\n[![Build Status](https://travis-ci.org/ImmoweltGroup/flow-mono-cli.svg?branch=master)](https://travis-ci.org/ImmoweltGroup/flow-mono-cli)\n[![Dependency Status](https://david-dm.org/ImmoweltGroup/flow-mono-cli.svg)](https://david-dm.org/ImmoweltGroup/flow-mono-cli)\n[![devDependency Status](https://david-dm.org/ImmoweltGroup/flow-mono-cli/dev-status.svg)](https://david-dm.org/ImmoweltGroup/flow-mono-cli#info=devDependencies\u0026view=table)\n[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovateapp.com/)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n`flow-mono-cli` is a command line interface that aims to [solve](https://github.com/facebook/flow/issues/4738) [a](https://github.com/facebook/flow/issues/5107) [few](https://github.com/flowtype/flow-typed/issues/1391) [issues](https://github.com/lerna/lerna/issues/891) [while](https://github.com/facebook/flow/issues/869) working with flow typed codebases in a mono-repo.\n\nIt provides a set of commands that we found to be very useful *if you want your mono-repo packages to have their own flow instances*. We do not intend to replace existing packages and furthermore we find it to be of importance that these issues are getting fixed at their respective packages but in the meantime a separate CLI was the fastest and best option we found.\n\n## Features\n\n* Creates symlinks for flow to be able to resolve dependencies which were installed/hoisted into the root `node_modules` of your mono-repo into each packages `node_modules`.\n* Smart resolve mechanism of mono-repo packages with a dependency to `flow-bin`, based on the `workspaces` config in your root `package.json`.\n* Keeps your `flow-bin` and `flow-typed` versions in sync across your mono-repo packages.\n* Maintains a single or fallback `.flowconfig` across all packages.\n* Creates flow-typed stubs for in-direct dependencies (dependencies of dependencies).\n* Configurable via a `.flowmonorc` or `flow-mono` property in your mono-repo's root `package.json`.\n\n## Installation\n```sh\n$ npm install flow-mono-cli --save-dev\n```\n\nor\n\n```sh\n$ yarn add flow-mono-cli --dev\n```\n\nafterwards make sure that you've got your workspaces configured in the root `package.json`, e.g.\n\n```json\n{\n  \"workspaces\": [\n    \"packages/*\"\n  ]\n}\n```\n\n## Commands and Documentation\n\n* [Introduction](/docs/introduction/README.md)\n* [`flow-mono create-symlinks`](/docs/cli/create-symlinks.md)\n* [`flow-mono install-types`](/docs/cli/install-types.md)\n* [`flow-mono create-stubs`](/docs/cli/create-stubs.md)\n* [`flow-mono align-versions`](/docs/cli/align-versions.md)\n\n## Contributing\nSee the `CONTRIBUTING.md` file at the root of the repository.\n\n## Licensing\nSee the `LICENSE` file at the root of the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FImmoweltGroup%2Fflow-mono-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FImmoweltGroup%2Fflow-mono-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FImmoweltGroup%2Fflow-mono-cli/lists"}