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

How to configure codecrumbs to work with Typescript project? #95

Open
SuperManEver opened this issue Feb 20, 2021 · 4 comments
Open

How to configure codecrumbs to work with Typescript project? #95

SuperManEver opened this issue Feb 20, 2021 · 4 comments

Comments

@SuperManEver
Copy link

I struggle to make codecrumbs working for Typescript project I working on. Any suggestion what should I do to be able to use codecrumbs for a project?

@Bogdan-Lyashenko
Copy link
Owner

Hey, what kind of issues do you have?

@SuperManEver
Copy link
Author

SuperManEver commented Feb 20, 2021

Thank you for helping me out.

I try to get a sense of https://github.com/formium/formik with help from codecrumbs. Going into ~/projects/formik/packages/formik and running codecrumbs -d src -e src/index.tsx -D I get
! parsed: project files. Error: {}

But I receive correct number of files and folder: Number of files: 12, Number of folders: 1.

@Bogdan-Lyashenko
Copy link
Owner

Hey, can you ping me at [email protected]? I might help you in different way.

@zepster
Copy link

zepster commented Apr 27, 2021

@SuperManEver try to set tsconfig.json path

.option(
    '-t, --tsconfig [tsConfigFile]',
    'Specify path to typeScript config file. E.g. tsConfig.json'
  )
codecrumbs -d src -e src/index.tsx -D -t tsconfig.json

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

No branches or pull requests

3 participants