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: strip leading ./ from files array entries #97

Merged
merged 1 commit into from
May 4, 2022

Conversation

wraithgar
Copy link
Member

@wraithgar wraithgar commented May 4, 2022

We currently only strip /, but folks likely will want to use ./ because
that works for exports

Closes npm/cli#4850

We currently only strip /, but folks likely will want to use ./ because
that works for exports
@wraithgar wraithgar requested a review from a team as a code owner May 4, 2022 16:16
@wraithgar wraithgar merged commit 9f519b7 into main May 4, 2022
@wraithgar wraithgar deleted the gar/strip-dotslash branch May 4, 2022 16:33
@dzearing
Copy link

dzearing commented May 4, 2022

nice job @wraithgar thanks!

@wraithgar
Copy link
Member Author

@dzearing didn't make it in time for today's release, it'll go out next week.

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.

[BUG] Package.json files paths with leading periods don't get published
3 participants