codemix / babel-plugin-typecheck

Static and runtime type checking for JavaScript in the form of a Babel plugin.
MIT License
886 stars 44 forks source link

`babel-generator` as a dev dependency? #66

Closed mathieumg closed 8 years ago

mathieumg commented 8 years ago

Is there any reason why babel-generator was moved from a dependency to a dev dependency in https://github.com/codemix/babel-plugin-typecheck/pull/56 ?

I now get a crash because it can't be found when required in https://github.com/codemix/babel-plugin-typecheck/blob/master/src/index.js#L1 (from the transpiled version of that file, of course)

I imagine it might be some kind of npm3 oversight, since Babel itself installs babel-generator, but in npm2 they're under different, unrelated trees.

phpnode commented 8 years ago

oversight, sorry. Will fix in the next release.

phpnode commented 8 years ago

Fixed in 3.3.0

mathieumg commented 8 years ago

That was fast, thanks!