donmccurdy / three-to-cannon

Convert a THREE.Mesh to a CANNON.Shape.
337 stars 32 forks source link

fix types export #200

Closed azad-source closed 1 month ago

azad-source commented 2 months ago

The types field in package.json is no longer used if there is an exports field: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#packagejson-exports-imports-and-self-referencing

Therefore you should be good by simply copying your "types": "./dist/src/index.d.ts" indication within your exports.

codecov-commenter commented 2 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.74%. Comparing base (0622372) to head (fe8f8fb). Report is 43 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #200 +/- ## ======================================= Coverage 79.74% 79.74% ======================================= Files 3 3 Lines 1930 1930 Branches 43 43 ======================================= Hits 1539 1539 Misses 391 391 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

donmccurdy commented 1 month ago

Thank you!