react-docgen-typescript

A simple parser for react properties defined in typescript instead of propTypes.

MIT License

Downloads
18.8M
Stars
1.2K
Committers
84

Bot releases are hidden (Show)

react-docgen-typescript - v1.16.2

Published by pvasek almost 5 years ago

  • fix for #179 Problem with export default and pure styled-components - thanks to @Lazyuki PR #234
react-docgen-typescript - v1.16.1

Published by pvasek almost 5 years ago

Fix @default jsdoc annotation with no description being ignored (#73) thanks to @squah-u and his PR #230

react-docgen-typescript - v1.16.0

Published by pvasek almost 5 years ago

  • Сhange the default value when getting literal value PR #219 by @Hooked74
  • Upgrading typescript to 3.7.2 breaks builds (#220) PR #221 by @irvelervel
react-docgen-typescript - v1.15.1

Published by pvasek almost 5 years ago

  • fix: defensive get function statement initializer #207 - PR #208 by @gabrielberlanda
  • fix: name variable check to avoid build fail - PR #209 by @alireza-mh
  • fix: cannot read property 'filter' of undefined #213 - PR #2014 by @unzico
  • Fix broken unit test in windows - PR #216 by @malcolm-kee
react-docgen-typescript - v1.15.0

Published by pvasek about 5 years ago

  • fix: the default params are parsed properly - thanks to @evless and his PR #210
    The minor version has been change as this can be seen also as a new feature.
react-docgen-typescript - v1.14.1

Published by pvasek about 5 years ago

  • fix: props which values are defined in defaultProps are marked as required anyway - thanks to @hipstersmoothie and his PR #205
react-docgen-typescript - v1.14.0

Published by pvasek about 5 years ago

  • extract literal values from enums (PR #201 thanks to @nekitk)
react-docgen-typescript - v1.13.0

Published by pvasek about 5 years ago

fix: Docgen of defaulted properties in a SFC #154 - thanks to @nekitk and his PR #200

react-docgen-typescript - v1.12.5

Published by pvasek over 5 years ago

  • no changes in the library itself, just fixes in package.json to fix #185
react-docgen-typescript - v1.12.4

Published by pvasek over 5 years ago

fix: support for styled components v4 #179 (PR: #181)

react-docgen-typescript - v1.12.3

Published by pvasek almost 6 years ago

  • Fix for filename -> js identifier conversion has broken conversion #167 thanks to @RoystonS and his PR #168
react-docgen-typescript - v1.12.2

Published by pvasek almost 6 years ago

  • fix: failing if component names are not js identifiers - thanks to @Diokuz and his PR #157
  • fix: #134 Give a better error message when using a custom tsconfig with an invalid include path by PR #156
react-docgen-typescript - v1.12.1

Published by pvasek almost 6 years ago

  • fix exportName for functional components
  • fix commentSource missing component types

thanks to @BeroBurny and his PR #153

react-docgen-typescript - v1.12.0

Published by pvasek almost 6 years ago

  • support for method documentation - big thanks to @BenLorantfy and his PR #145
react-docgen-typescript - v1.11.0

Published by pvasek almost 6 years ago

  • component name and description is extracted even when no props are present - thanks to @fabioelia and his PR #142
react-docgen-typescript - v1.10.0

Published by pvasek about 6 years ago

  • Fix comments with \r\n breaking on runtime - thanks to @JoaoMosmann and his PR #136
  • Determine parent fileNames relative to the current directory - thanks to @thomascmost and his PR #138
  • Fix enum default values - thanks to @veiko and her PR #139
  • Exports for Parser thanks to @mutsys and his PR #140
react-docgen-typescript - v1.9.1

Published by pvasek about 6 years ago

  • exporting getDefaultExportForFile - thanks to @ bebraw and his PR #130
react-docgen-typescript - v1.9.0

Published by pvasek about 6 years ago

  • fix #123 styleguidist warnings caused by crash of react-docgen-typescript- thanks to @bebraw and his PR #125
  • possibility to define component names - thanks to @bebraw and his PR #127
react-docgen-typescript - v1.8.1

Published by pvasek about 6 years ago

  • fix for #121 - The example code don't work
  • fix for #120 - programProvider is not a function
  • fix for #92 - console.log causes TypeError in parser
react-docgen-typescript - v1.8.0

Published by pvasek about 6 years ago

  • possibility to pass factory method that creates instance of TS program class - thanks to @strothj and his PR #119
Package Rankings
Top 0.87% on Npmjs.org
Badges
Extracted from project README
Build Status