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

refactor!: drop CommonJS distribution from package #96

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

jonkoops
Copy link
Collaborator

BREAKING CHANGE: removes the CommonJS distribution from the package

What kind of change does this PR introduce?

  • Bug Fix
  • Feature
  • Refactoring
  • Style
  • Build
  • Chore
  • Documentation
  • CI

Did you add tests for your changes?

  • Yes, my code is well tested
  • Not relevant

If relevant, did you update the documentation?

  • Yes, I've updated the documentation
  • Not relevant

Summary
Removes the CommonJS distribution from the package in favor of using the module variant. Documentation has also been cleaned up to reflect these changes.

Does this PR introduce a breaking change?
Yes, the CommonJS distrubution will no longer work, users should replace it with a direct import instead.

Other information
This is a WORK IN PROGRESS and depends on other PRs being merged first (#93).

@coveralls
Copy link

coveralls commented Oct 13, 2024

Pull Request Test Coverage Report for Build 11552402651

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 11544316705: 0.0%
Covered Lines: 87
Relevant Lines: 87

💛 - Coveralls

@jonkoops jonkoops changed the base branch from master to beta October 27, 2024 13:11
@jonkoops jonkoops force-pushed the drop-cjs branch 8 times, most recently from 83d4a1a to 3cf4dbe Compare October 28, 2024 10:37
BREAKING CHANGE: removes the CommonJS distribution from the package

Signed-off-by: Jon Koops <[email protected]>
@jonkoops
Copy link
Collaborator Author

@rolandjitsu this one is good to go as well. I went ahead and moved everything over to ESM, as well as simplifying the TypeScript configurations to the bare minimum.

@jonkoops jonkoops marked this pull request as ready for review October 28, 2024 11:00
@rolandjitsu rolandjitsu merged commit 0670bd2 into react-dropzone:beta Oct 30, 2024
4 checks passed
Copy link

🎉 This PR is included in version 2.0.0-beta.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jonkoops jonkoops deleted the drop-cjs branch October 30, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants