cli-testing-library icon indicating copy to clipboard operation
cli-testing-library copied to clipboard

Ensure `user-event` folder is included into final bundle

Open Yurickh opened this issue 1 year ago • 1 comments

What:

With the changes introduced in #24, there's a user-events folder inside the types folder that isn't being added to the final, published, library. This change ensures that this folder is also included.

Why:

image

Since there's a reference to the folder inside of types/pure.d.ts, the whole types for the userEvent library become any.

How:

By adding types/user-event/**/*.d.ts to the list of included files, we're ensuring the final bundle also includes the content of the types/user-event folder.

Checklist:

  • [N/A] Tests
  • [N/A] TypeScript definitions updated
  • [N/A] Ready to be merged

Yurickh avatar Aug 26 '24 11:08 Yurickh

@crutchcorn are you able to please take a look at this and potentially release a patch of the library? 🙏🏼

Yurickh avatar Oct 04 '24 11:10 Yurickh

Huge apologies for the delay! Let me merge this, but then I'll be restructuring this project so this can't happen again

crutchcorn avatar Jan 15 '25 09:01 crutchcorn