ipfs / js-ipfs-unixfs

JavaScript implementation of IPFS' unixfs (a Unix FileSystem representation on top of a MerkleDAG)
Other
87 stars 34 forks source link

fix: remove typesVersions from package.json #219

Closed achingbrain closed 2 years ago

achingbrain commented 2 years ago

We have typesVersions to allow deep requires from these modules, but they cause incorrect paths to be detected by tsc (see #214).

Since #161 we control exports using the exports map, and we only export the root from each module so deep requires are disallowed and consequently typesVersions isn't necessary.

Since it's causing problems and we don't need it, remove it. We can revisit once we publish ESM-only but right now this fixes up the types tsc generates.

Fixes #214

github-actions[bot] commented 2 years ago

:tada: This PR is included in version ipfs-unixfs-v6.0.9 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 years ago

:tada: This PR is included in version ipfs-unixfs-importer-v9.0.10 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 years ago

:tada: This PR is included in version ipfs-unixfs-exporter-v7.0.11 :tada:

The release is available on:

Your semantic-release bot :package::rocket: