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: revert to generating commonjs for esm and commonjs support #409

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

jordanshatford
Copy link
Collaborator

closes: #405

This is how the original package had its rollup config

@jordanshatford jordanshatford requested a review from mrlubos April 17, 2024 09:40
Copy link

changeset-bot bot commented Apr 17, 2024

🦋 Changeset detected

Latest commit: c6c0ab1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hey-api/openapi-ts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Apr 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hey-api-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2024 0:10am

Copy link

codecov bot commented Apr 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.87%. Comparing base (167bb75) to head (c6c0ab1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #409   +/-   ##
=======================================
  Coverage   80.87%   80.87%           
=======================================
  Files          74       74           
  Lines        5192     5192           
  Branches      581      581           
=======================================
  Hits         4199     4199           
  Misses        992      992           
  Partials        1        1           
Flag Coverage Δ
unittests 80.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jordanshatford
Copy link
Collaborator Author

jordanshatford commented Apr 17, 2024

@mrlubos This PR actually needs more work. We need to modify the bin.js to be commonjs

  • fix

@jordanshatford jordanshatford merged commit ddbda3d into main Apr 18, 2024
16 checks passed
@jordanshatford jordanshatford deleted the fix/commonjs-and-esm-support branch April 18, 2024 02:30
@github-actions github-actions bot mentioned this pull request Apr 18, 2024
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.

Consider dual publishing commonjs
2 participants