This repository has been archived by the owner on May 24, 2019. It is now read-only.
Releases: facebookarchive/flow-remove-types
Releases · facebookarchive/flow-remove-types
v1.2.3
v1.2.2
v1.2.1
v1.2.0
New:
-q
or--quiet
will silence progress output during successful operation, and this progress output occurs on stderr #30- Register hook now accepts string paths as a convenience 6c4a4cc
- Support for flow inline type imports #32
- Pretty mode now removes excess surrounding whitespace and new lines #31 #33 #34
Fixes:
- No longer fail when converting using
--pretty
#26
v1.1.2
v1.1.1
v1.1.0
Breaking:
- The JavaScript API no longer returns strings, instead returns an object with a
.toString()
method. - The checkPragma option has been replaced with the all option.
New:
- Pass
--all
or-a
to transform all files, not just those which have@flow
comments. - Pass
--pretty
or-p
to remove flow types without replacing them with spaces, may require using source maps. - Pass
--sourcemaps
or-m
to generate source map files alongside flow files.
Fixes:
- The node require hook,
flow-remove-types/register
, has been rewritten to not conflict withnyc
orava
. - Only necessary files are published to npm.