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

Allow use of minimatch pattern #1926

Closed
trajano opened this issue May 3, 2022 · 1 comment
Closed

Allow use of minimatch pattern #1926

trajano opened this issue May 3, 2022 · 1 comment
Labels
enhancement Improved functionality
Milestone

Comments

@trajano
Copy link

trajano commented May 3, 2022

Search Terms

Entrypoint minimatch

Problem

At present I have to explicilty list all the entry points for the modules. because if I use expand it will create modules like xyz/default when I only want xyz

Suggested Solution

If entrypoints can be allowed to use a minimatch pattern like ./src/* then the duplication can be avoided.

A more complex solution would be to use the entry point and with a new strategy exports to include the directly exported modules from ./src/index.ts

@trajano trajano added the enhancement Improved functionality label May 3, 2022
@Gerrit0
Copy link
Collaborator

Gerrit0 commented May 9, 2022

This seems reasonable to me to do for resolve/expand strategies. Needs to be in a non-patch bump since it's a breaking change.

@Gerrit0 Gerrit0 added this to the v0.23 milestone May 9, 2022
@Gerrit0 Gerrit0 added this to To do in TSDoc - v0.23 via automation May 9, 2022
@Gerrit0 Gerrit0 moved this from To do to In progress in TSDoc - v0.23 Jun 4, 2022
@Gerrit0 Gerrit0 moved this from In progress to Done in TSDoc - v0.23 Jun 4, 2022
@Gerrit0 Gerrit0 mentioned this issue Jun 4, 2022
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improved functionality
Projects
No open projects
Development

No branches or pull requests

2 participants