Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix filename to js identifier conversion #157

Merged
merged 1 commit into from
Nov 19, 2018
Merged

Conversation

Diokuz
Copy link

@Diokuz Diokuz commented Nov 19, 2018

Right now it is not possible use react-docgen-typescript when filenames are not legal js identifiers. This pull request fixes that.

@pvasek
Copy link
Collaborator

pvasek commented Nov 19, 2018

So this also "include" more or less #149, is that right? Now I finally understand what is the issue about.

@Diokuz
Copy link
Author

Diokuz commented Nov 19, 2018

Yes, partially, but the problem is broader. For example, 123qwe is also not a valid JS identifier (but valid filename).

@pvasek
Copy link
Collaborator

pvasek commented Nov 19, 2018

Yes, of course just wanted to be sure I can close the #149.

@pvasek pvasek merged commit 2dfb833 into styleguidist:master Nov 19, 2018
@Diokuz
Copy link
Author

Diokuz commented Nov 20, 2018

Could you please publish it to npm?

@pvasek
Copy link
Collaborator

pvasek commented Nov 20, 2018

Sorry for delay. It has just been published as v1.12.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants