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: false-negative when pkg json 'files' is glob or directory #48

Closed
wants to merge 2 commits into from
Closed

fix: false-negative when pkg json 'files' is glob or directory #48

wants to merge 2 commits into from

Conversation

caseyWebb
Copy link

package.json files property supports globs and/or directories. This PR fixes a false-negative in the following scenario:

package.json

{
  "types": "dist/index.d.ts",
  "files": ["dist"]
}

@kazupon
Copy link

kazupon commented Dec 24, 2019

I have same problem. Would you merge the PR ?

@SamVerschueren
Copy link
Collaborator

This was fixed in #69. Thanks for sending over a PR to fix this!

@caseyWebb caseyWebb deleted the pkg-json-files-check branch August 27, 2020 18:46
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.

None yet

3 participants