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

Erroneous complaint about include pattern #112

Closed
bolinfest opened this issue Apr 10, 2020 · 5 comments
Closed

Erroneous complaint about include pattern #112

bolinfest opened this issue Apr 10, 2020 · 5 comments

Comments

@bolinfest
Copy link

Bug report

When I run:

./node_modules/.bin/dts-bundle-generator -o /tmp/export.d.ts src/index.ts --project tsconfig.json

I get an error complaining about missing files:

Projects must list all files or use an 'include' pattern.

even though my tsconfig.json contains:

  "include": ["./src/**/*"],

which covers the files it claims are missing.

Input code

// place your code here

Expected output

// place your code here

Actual output

// place your code here

Additional context
Add any other context about the problem here (CLI options, etc)

@timocov
Copy link
Owner

timocov commented Apr 10, 2020

Hi, can you please create a repo with a repro? Or even steps with reproduce with existing repo.

@timocov timocov added the Bug label Apr 15, 2020
@timocov timocov added this to the 4.2 milestone Apr 15, 2020
@timocov
Copy link
Owner

timocov commented Apr 15, 2020

It's bug.

@timocov
Copy link
Owner

timocov commented Apr 15, 2020

Hey @bolinfest, do you have any update here? I faced an error "No inputs were found in config file" and going to fix it, but your one looks differ.

Projects must list all files or use an 'include' pattern.

Looks like you use composite projects, right? See #93

@timocov timocov removed the Bug label Apr 15, 2020
@timocov timocov removed this from the 4.2 milestone Apr 15, 2020
@timocov
Copy link
Owner

timocov commented Apr 15, 2020

Yeah. The tool doesn't support composite project's config so far. I can add easily ignoring this error, but without additional information from you I can't tell you whether it helps or not.

@timocov
Copy link
Owner

timocov commented May 12, 2020

I'm going to close the issue. If you'll have any question or updates - feel free to re-open it.

@timocov timocov closed this as completed May 12, 2020
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

2 participants