Skip to content

Commit

Permalink
docs: add info on monorepos
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffijoe committed Oct 8, 2018
1 parent dcfa1d4 commit 68b9cfb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ TypeSync will add the latest available typings package that are missing — this

If you use a Semver `^` or `~` for a package, the same prefix will be used for the typings package. If you pin to an exact version (`"some-package": "1.2.3"`), no prefix will be written.

## Monorepos

TypeSync added support for monorepos in v0.4.0. It will look at `packages`/`workspaces` globs in `package.json` and sync every matching file in one fell swoop.

# Why?

Installing typings manually sucks. Flow has `flow-typed` which installs type definitions by looking at a `package.json`, which would be cool to have for TypeScript. Now we do!
Expand Down

0 comments on commit 68b9cfb

Please sign in to comment.