mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-09 15:48:08 -05:00
**Motivation** Make the types exports consistent for all packages. All modern runtimes support [conditional exports](https://nodejs.org/api/packages.html#conditional-exports) and there are caveats when we have both conditional exports and normal exports present in a package.json. This PR tend to make all exports follow same consistent and modern pattern. **Description** - We were using subpath exports for some packages and module exports for other - Keep all the types export consistent as subpath exports. - Remove "types" and "exports` directive from package.json - Remove `typesVersions`, this is useful only if we have different version of types for different versions of Typescript. Or having different types files for different file paths. **Steps to test or reproduce** - Run all CI
flare
This package is part of ChainSafe's Lodestar project
Beacon chain multi-purpose and debugging tool.
Flare is a sudden brief burst of bright flame or light. In the wrong hands, can lead people astray. Use with care.
License
Apache-2.0 ChainSafe Systems