flow-mono-cli
A command line interface that aims to solve a few issues while working with flow typed codebases in a mono-repo.
Last updated 4 months ago by immowelt-ci .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install flow-mono-cli 
SYNC missed versions from official npm registry.
flow-mono-cli

flow-mono-cli

Powered by Immowelt Build Status Dependency Status devDependency Status Renovate enabled semantic-release

flow-mono-cli is a command line interface that aims to solve a few issues while working with flow typed codebases in a mono-repo.

It 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.

Features

  • 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.
  • Smart resolve mechanism of mono-repo packages with a dependency to flow-bin, based on the workspaces config in your root package.json.
  • Keeps your flow-bin and flow-typed versions in sync across your mono-repo packages.
  • Maintains a single or fallback .flowconfig across all packages.
  • Creates flow-typed stubs for in-direct dependencies (dependencies of dependencies).
  • Configurable via a .flowmonorc or flow-mono property in your mono-repo's root package.json.

Installation

$ npm install flow-mono-cli --save-dev

or

$ yarn add flow-mono-cli --dev

afterwards make sure that you've got your workspaces configured in the root package.json, e.g.

{
  "workspaces": [
    "packages/*"
  ]
}

Commands and Documentation

Contributing

See the CONTRIBUTING.md file at the root of the repository.

Licensing

See the LICENSE file at the root of the repository.

Current Tags

  • 1.5.3                                ...           latest (4 months ago)

18 Versions

  • 1.5.3                                ...           4 months ago
  • 1.5.2                                ...           6 months ago
  • 1.5.1                                ...           6 months ago
  • 1.5.0                                ...           a year ago
  • 1.4.3                                ...           2 years ago
  • 1.4.2                                ...           2 years ago
  • 1.4.1                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.4                                ...           2 years ago
  • 1.3.3                                ...           2 years ago
  • 1.3.2                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (11)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |